mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
Update generated code
This commit is contained in:
@@ -18,5 +18,5 @@ type AuthAppInput struct {
|
||||
Host string `json:"host,omitempty"`
|
||||
RedirectURL string `json:"redirectUrl,omitempty"`
|
||||
SourceCodeType string `json:"sourceCodeType,omitempty"`
|
||||
TLS *bool `json:"tls,omitempty"`
|
||||
TLS bool `json:"tls,omitempty"`
|
||||
}
|
||||
|
@@ -27,7 +27,7 @@ type AuthConfig struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -57,7 +57,7 @@ type Cluster struct {
|
||||
FailedSpec *ClusterSpec `json:"failedSpec,omitempty"`
|
||||
GoogleKubernetesEngineConfig *GoogleKubernetesEngineConfig `json:"googleKubernetesEngineConfig,omitempty"`
|
||||
ImportedConfig *ImportedConfig `json:"importedConfig,omitempty"`
|
||||
Internal *bool `json:"internal,omitempty"`
|
||||
Internal bool `json:"internal,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@@ -30,7 +30,7 @@ type ClusterPipeline struct {
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Deploy *bool `json:"deploy,omitempty"`
|
||||
Deploy bool `json:"deploy,omitempty"`
|
||||
GithubConfig *GithubClusterConfig `json:"githubConfig,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@@ -9,6 +9,6 @@ const (
|
||||
|
||||
type ClusterPipelineSpec struct {
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
Deploy *bool `json:"deploy,omitempty"`
|
||||
Deploy bool `json:"deploy,omitempty"`
|
||||
GithubConfig *GithubClusterConfig `json:"githubConfig,omitempty"`
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ type ClusterSpec struct {
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
GoogleKubernetesEngineConfig *GoogleKubernetesEngineConfig `json:"googleKubernetesEngineConfig,omitempty"`
|
||||
ImportedConfig *ImportedConfig `json:"importedConfig,omitempty"`
|
||||
Internal *bool `json:"internal,omitempty"`
|
||||
Internal bool `json:"internal,omitempty"`
|
||||
NodePools []NodePool `json:"nodePools,omitempty"`
|
||||
RancherKubernetesEngineConfig *RancherKubernetesEngineConfig `json:"rancherKubernetesEngineConfig,omitempty"`
|
||||
}
|
||||
|
@@ -5,16 +5,14 @@ const (
|
||||
CustomConfigFieldAddress = "address"
|
||||
CustomConfigFieldDockerSocket = "dockerSocket"
|
||||
CustomConfigFieldInternalAddress = "internalAddress"
|
||||
CustomConfigFieldRoles = "roles"
|
||||
CustomConfigFieldSSHKey = "sshKey"
|
||||
CustomConfigFieldUser = "user"
|
||||
)
|
||||
|
||||
type CustomConfig struct {
|
||||
Address string `json:"address,omitempty"`
|
||||
DockerSocket string `json:"dockerSocket,omitempty"`
|
||||
InternalAddress string `json:"internalAddress,omitempty"`
|
||||
Roles []string `json:"roles,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty"`
|
||||
User string `json:"user,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
DockerSocket string `json:"dockerSocket,omitempty"`
|
||||
InternalAddress string `json:"internalAddress,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty"`
|
||||
User string `json:"user,omitempty"`
|
||||
}
|
||||
|
@@ -40,7 +40,7 @@ type DynamicSchema struct {
|
||||
CollectionMethods []string `json:"collectionMethods,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Embed *bool `json:"embed,omitempty"`
|
||||
Embed bool `json:"embed,omitempty"`
|
||||
EmbedType string `json:"embedType,omitempty"`
|
||||
IncludeableLinks []string `json:"includeableLinks,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
|
@@ -20,7 +20,7 @@ type DynamicSchemaSpec struct {
|
||||
CollectionFields map[string]Field `json:"collectionFields,omitempty"`
|
||||
CollectionFilters map[string]Filter `json:"collectionFilters,omitempty"`
|
||||
CollectionMethods []string `json:"collectionMethods,omitempty"`
|
||||
Embed *bool `json:"embed,omitempty"`
|
||||
Embed bool `json:"embed,omitempty"`
|
||||
EmbedType string `json:"embedType,omitempty"`
|
||||
IncludeableLinks []string `json:"includeableLinks,omitempty"`
|
||||
PluralName string `json:"pluralName,omitempty"`
|
||||
|
@@ -20,7 +20,7 @@ const (
|
||||
)
|
||||
|
||||
type Field struct {
|
||||
Create *bool `json:"create,omitempty"`
|
||||
Create bool `json:"create,omitempty"`
|
||||
Default *Values `json:"default,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
InvalidChars string `json:"invalidChars,omitempty"`
|
||||
@@ -28,11 +28,11 @@ type Field struct {
|
||||
MaxLength *int64 `json:"maxLength,omitempty"`
|
||||
Min *int64 `json:"min,omitempty"`
|
||||
MinLength *int64 `json:"minLength,omitempty"`
|
||||
Nullable *bool `json:"nullable,omitempty"`
|
||||
Nullable bool `json:"nullable,omitempty"`
|
||||
Options []string `json:"options,omitempty"`
|
||||
Required *bool `json:"required,omitempty"`
|
||||
Required bool `json:"required,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Unique *bool `json:"unique,omitempty"`
|
||||
Update *bool `json:"update,omitempty"`
|
||||
Unique bool `json:"unique,omitempty"`
|
||||
Update bool `json:"update,omitempty"`
|
||||
ValidChars string `json:"validChars,omitempty"`
|
||||
}
|
||||
|
@@ -14,5 +14,5 @@ type GithubClusterConfig struct {
|
||||
ClientSecret string `json:"clientSecret,omitempty"`
|
||||
Host string `json:"host,omitempty"`
|
||||
RedirectURL string `json:"redirectUrl,omitempty"`
|
||||
TLS *bool `json:"tls,omitempty"`
|
||||
TLS bool `json:"tls,omitempty"`
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ type GithubConfig struct {
|
||||
ClientSecret string `json:"clientSecret,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@@ -9,6 +9,6 @@ const (
|
||||
|
||||
type GithubConfigApplyInput struct {
|
||||
Code string `json:"code,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
GithubConfig *GithubConfig `json:"githubConfig,omitempty"`
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ const (
|
||||
type GlobalRole struct {
|
||||
types.Resource
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Builtin *bool `json:"builtin,omitempty"`
|
||||
Builtin bool `json:"builtin,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
|
@@ -30,18 +30,18 @@ type GoogleKubernetesEngineConfig struct {
|
||||
Credential string `json:"credential,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
DiskSizeGb *int64 `json:"diskSizeGb,omitempty"`
|
||||
EnableAlphaFeature *bool `json:"enableAlphaFeature,omitempty"`
|
||||
HTTPLoadBalancing *bool `json:"httpLoadBalancing,omitempty"`
|
||||
HorizontalPodAutoscaling *bool `json:"horizontalPodAutoscaling,omitempty"`
|
||||
EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty"`
|
||||
HTTPLoadBalancing bool `json:"httpLoadBalancing,omitempty"`
|
||||
HorizontalPodAutoscaling bool `json:"horizontalPodAutoscaling,omitempty"`
|
||||
ImageType string `json:"imageType,omitempty"`
|
||||
KubernetesDashboard *bool `json:"kubernetesDashboard,omitempty"`
|
||||
KubernetesDashboard bool `json:"kubernetesDashboard,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
LegacyAbac *bool `json:"legacyAbac,omitempty"`
|
||||
LegacyAbac bool `json:"legacyAbac,omitempty"`
|
||||
Locations []string `json:"locations,omitempty"`
|
||||
MachineType string `json:"machineType,omitempty"`
|
||||
MasterVersion string `json:"masterVersion,omitempty"`
|
||||
Network string `json:"network,omitempty"`
|
||||
NetworkPolicyConfig *bool `json:"networkPolicyConfig,omitempty"`
|
||||
NetworkPolicyConfig bool `json:"networkPolicyConfig,omitempty"`
|
||||
NodeCount *int64 `json:"nodeCount,omitempty"`
|
||||
NodeVersion string `json:"nodeVersion,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
|
@@ -12,5 +12,5 @@ type InternalNodeSpec struct {
|
||||
PodCidr string `json:"podCidr,omitempty"`
|
||||
ProviderId string `json:"providerId,omitempty"`
|
||||
Taints []Taint `json:"taints,omitempty"`
|
||||
Unschedulable *bool `json:"unschedulable,omitempty"`
|
||||
Unschedulable bool `json:"unschedulable,omitempty"`
|
||||
}
|
||||
|
@@ -11,6 +11,6 @@ const (
|
||||
type KubeAPIService struct {
|
||||
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
PodSecurityPolicy *bool `json:"podSecurityPolicy,omitempty"`
|
||||
PodSecurityPolicy bool `json:"podSecurityPolicy,omitempty"`
|
||||
ServiceClusterIPRange string `json:"serviceClusterIpRange,omitempty"`
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ type KubeletService struct {
|
||||
ClusterDNSServer string `json:"clusterDnsServer,omitempty"`
|
||||
ClusterDomain string `json:"clusterDomain,omitempty"`
|
||||
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
|
||||
FailSwapOn *bool `json:"failSwapOn,omitempty"`
|
||||
FailSwapOn bool `json:"failSwapOn,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
InfraContainerImage string `json:"infraContainerImage,omitempty"`
|
||||
}
|
||||
|
@@ -48,7 +48,7 @@ type ListenConfig struct {
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Domains []string `json:"domains,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty"`
|
||||
GeneratedCerts map[string]string `json:"generatedCerts,omitempty"`
|
||||
IssuedAt string `json:"issuedAt,omitempty"`
|
||||
|
@@ -22,7 +22,7 @@ type LocalConfig struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -56,15 +56,15 @@ type Node struct {
|
||||
Capacity map[string]string `json:"capacity,omitempty"`
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
Conditions []NodeCondition `json:"conditions,omitempty"`
|
||||
ControlPlane *bool `json:"controlPlane,omitempty"`
|
||||
ControlPlane bool `json:"controlPlane,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
CustomConfig *CustomConfig `json:"customConfig,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Etcd *bool `json:"etcd,omitempty"`
|
||||
Etcd bool `json:"etcd,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty"`
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
Imported *bool `json:"imported,omitempty"`
|
||||
Imported bool `json:"imported,omitempty"`
|
||||
Info *NodeInfo `json:"info,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
@@ -87,11 +87,11 @@ type Node struct {
|
||||
Taints []Taint `json:"taints,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty"`
|
||||
Unschedulable *bool `json:"unschedulable,omitempty"`
|
||||
Unschedulable bool `json:"unschedulable,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty"`
|
||||
VolumesInUse []string `json:"volumesInUse,omitempty"`
|
||||
Worker *bool `json:"worker,omitempty"`
|
||||
Worker bool `json:"worker,omitempty"`
|
||||
}
|
||||
type NodeCollection struct {
|
||||
types.Collection
|
||||
|
@@ -29,9 +29,9 @@ const (
|
||||
|
||||
type NodeDriver struct {
|
||||
types.Resource
|
||||
Active *bool `json:"active,omitempty"`
|
||||
Active bool `json:"active,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Builtin *bool `json:"builtin,omitempty"`
|
||||
Builtin bool `json:"builtin,omitempty"`
|
||||
Checksum string `json:"checksum,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
|
@@ -13,8 +13,8 @@ const (
|
||||
)
|
||||
|
||||
type NodeDriverSpec struct {
|
||||
Active *bool `json:"active,omitempty"`
|
||||
Builtin *bool `json:"builtin,omitempty"`
|
||||
Active bool `json:"active,omitempty"`
|
||||
Builtin bool `json:"builtin,omitempty"`
|
||||
Checksum string `json:"checksum,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
|
@@ -15,12 +15,12 @@ const (
|
||||
|
||||
type NodePool struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
ControlPlane *bool `json:"controlPlane,omitempty"`
|
||||
Etcd *bool `json:"etcd,omitempty"`
|
||||
ControlPlane bool `json:"controlPlane,omitempty"`
|
||||
Etcd bool `json:"etcd,omitempty"`
|
||||
HostnamePrefix string `json:"hostnamePrefix,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
NodeTemplateId string `json:"nodeTemplateId,omitempty"`
|
||||
Quantity *int64 `json:"quantity,omitempty"`
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
Worker *bool `json:"worker,omitempty"`
|
||||
Worker bool `json:"worker,omitempty"`
|
||||
}
|
||||
|
@@ -21,18 +21,18 @@ const (
|
||||
|
||||
type NodeSpec struct {
|
||||
ClusterId string `json:"clusterId,omitempty"`
|
||||
ControlPlane *bool `json:"controlPlane,omitempty"`
|
||||
ControlPlane bool `json:"controlPlane,omitempty"`
|
||||
CustomConfig *CustomConfig `json:"customConfig,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
Etcd *bool `json:"etcd,omitempty"`
|
||||
Imported *bool `json:"imported,omitempty"`
|
||||
Etcd bool `json:"etcd,omitempty"`
|
||||
Imported bool `json:"imported,omitempty"`
|
||||
NodePoolUUID string `json:"nodePoolUuid,omitempty"`
|
||||
NodeTemplateId string `json:"nodeTemplateId,omitempty"`
|
||||
PodCidr string `json:"podCidr,omitempty"`
|
||||
ProviderId string `json:"providerId,omitempty"`
|
||||
RequestedHostname string `json:"requestedHostname,omitempty"`
|
||||
Taints []Taint `json:"taints,omitempty"`
|
||||
Unschedulable *bool `json:"unschedulable,omitempty"`
|
||||
Worker *bool `json:"worker,omitempty"`
|
||||
Unschedulable bool `json:"unschedulable,omitempty"`
|
||||
Worker bool `json:"worker,omitempty"`
|
||||
}
|
||||
|
@@ -58,7 +58,7 @@ type NodeTemplate struct {
|
||||
Status *NodeTemplateStatus `json:"status,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty"`
|
||||
UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty"`
|
||||
UseInternalIPAddress bool `json:"useInternalIpAddress,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
||||
type NodeTemplateCollection struct {
|
||||
|
@@ -32,5 +32,5 @@ type NodeTemplateSpec struct {
|
||||
EngineOpt map[string]string `json:"engineOpt,omitempty"`
|
||||
EngineRegistryMirror []string `json:"engineRegistryMirror,omitempty"`
|
||||
EngineStorageDriver string `json:"engineStorageDriver,omitempty"`
|
||||
UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty"`
|
||||
UseInternalIPAddress bool `json:"useInternalIpAddress,omitempty"`
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ type Pipeline struct {
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty"`
|
||||
TriggerCronExpression string `json:"triggerCronExpression,omitempty"`
|
||||
TriggerCronTimezone string `json:"triggerCronTimezone,omitempty"`
|
||||
TriggerWebhook *bool `json:"triggerWebhook,omitempty"`
|
||||
TriggerWebhook bool `json:"triggerWebhook,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
||||
type PipelineCollection struct {
|
||||
|
@@ -16,5 +16,5 @@ type PipelineSpec struct {
|
||||
Stages []Stage `json:"stages,omitempty"`
|
||||
TriggerCronExpression string `json:"triggerCronExpression,omitempty"`
|
||||
TriggerCronTimezone string `json:"triggerCronTimezone,omitempty"`
|
||||
TriggerWebhook *bool `json:"triggerWebhook,omitempty"`
|
||||
TriggerWebhook bool `json:"triggerWebhook,omitempty"`
|
||||
}
|
||||
|
@@ -28,12 +28,12 @@ type PodSecurityPolicySpec struct {
|
||||
DefaultAddCapabilities []string `json:"defaultAddCapabilities,omitempty"`
|
||||
DefaultAllowPrivilegeEscalation *bool `json:"defaultAllowPrivilegeEscalation,omitempty"`
|
||||
FSGroup *FSGroupStrategyOptions `json:"fsGroup,omitempty"`
|
||||
HostIPC *bool `json:"hostIPC,omitempty"`
|
||||
HostNetwork *bool `json:"hostNetwork,omitempty"`
|
||||
HostPID *bool `json:"hostPID,omitempty"`
|
||||
HostIPC bool `json:"hostIPC,omitempty"`
|
||||
HostNetwork bool `json:"hostNetwork,omitempty"`
|
||||
HostPID bool `json:"hostPID,omitempty"`
|
||||
HostPorts []HostPortRange `json:"hostPorts,omitempty"`
|
||||
Privileged *bool `json:"privileged,omitempty"`
|
||||
ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"`
|
||||
Privileged bool `json:"privileged,omitempty"`
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"`
|
||||
RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty"`
|
||||
RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty"`
|
||||
SELinux *SELinuxStrategyOptions `json:"seLinux,omitempty"`
|
||||
|
@@ -46,15 +46,15 @@ type PodSecurityPolicyTemplate struct {
|
||||
DefaultAllowPrivilegeEscalation *bool `json:"defaultAllowPrivilegeEscalation,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
FSGroup *FSGroupStrategyOptions `json:"fsGroup,omitempty"`
|
||||
HostIPC *bool `json:"hostIPC,omitempty"`
|
||||
HostNetwork *bool `json:"hostNetwork,omitempty"`
|
||||
HostPID *bool `json:"hostPID,omitempty"`
|
||||
HostIPC bool `json:"hostIPC,omitempty"`
|
||||
HostNetwork bool `json:"hostNetwork,omitempty"`
|
||||
HostPID bool `json:"hostPID,omitempty"`
|
||||
HostPorts []HostPortRange `json:"hostPorts,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Privileged *bool `json:"privileged,omitempty"`
|
||||
ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"`
|
||||
Privileged bool `json:"privileged,omitempty"`
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty"`
|
||||
RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty"`
|
||||
|
@@ -33,8 +33,8 @@ type Principal struct {
|
||||
ExtraInfo map[string]string `json:"extraInfo,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
LoginName string `json:"loginName,omitempty"`
|
||||
Me *bool `json:"me,omitempty"`
|
||||
MemberOf *bool `json:"memberOf,omitempty"`
|
||||
Me bool `json:"me,omitempty"`
|
||||
MemberOf bool `json:"memberOf,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
ProfilePicture string `json:"profilePicture,omitempty"`
|
||||
|
@@ -29,7 +29,7 @@ type Question struct {
|
||||
Min *int64 `json:"min,omitempty"`
|
||||
MinLength *int64 `json:"minLength,omitempty"`
|
||||
Options []string `json:"options,omitempty"`
|
||||
Required *bool `json:"required,omitempty"`
|
||||
Required bool `json:"required,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
ValidChars string `json:"validChars,omitempty"`
|
||||
Variable string `json:"variable,omitempty"`
|
||||
|
@@ -19,7 +19,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
Addons string `json:"addons,omitempty"`
|
||||
Authentication *AuthnConfig `json:"authentication,omitempty"`
|
||||
Authorization *AuthzConfig `json:"authorization,omitempty"`
|
||||
IgnoreDockerVersion *bool `json:"ignoreDockerVersion,omitempty"`
|
||||
IgnoreDockerVersion bool `json:"ignoreDockerVersion,omitempty"`
|
||||
Ingress *IngressConfig `json:"ingress,omitempty"`
|
||||
Network *NetworkConfig `json:"network,omitempty"`
|
||||
Nodes []RKEConfigNode `json:"nodes,omitempty"`
|
||||
|
@@ -8,7 +8,7 @@ const (
|
||||
)
|
||||
|
||||
type RepoPerm struct {
|
||||
Admin *bool `json:"admin,omitempty"`
|
||||
Pull *bool `json:"pull,omitempty"`
|
||||
Push *bool `json:"push,omitempty"`
|
||||
Admin bool `json:"admin,omitempty"`
|
||||
Pull bool `json:"pull,omitempty"`
|
||||
Push bool `json:"push,omitempty"`
|
||||
}
|
||||
|
@@ -26,13 +26,13 @@ const (
|
||||
type RoleTemplate struct {
|
||||
types.Resource
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Builtin *bool `json:"builtin,omitempty"`
|
||||
Builtin bool `json:"builtin,omitempty"`
|
||||
Context string `json:"context,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
External *bool `json:"external,omitempty"`
|
||||
Hidden *bool `json:"hidden,omitempty"`
|
||||
External bool `json:"external,omitempty"`
|
||||
Hidden bool `json:"hidden,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -15,6 +15,6 @@ type RunScriptConfig struct {
|
||||
Entrypoint string `json:"entrypoint,omitempty"`
|
||||
Env []string `json:"env,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
IsShell *bool `json:"isShell,omitempty"`
|
||||
IsShell bool `json:"isShell,omitempty"`
|
||||
ShellScript string `json:"shellScript,omitempty"`
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ type Setting struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Customized *bool `json:"customized,omitempty"`
|
||||
Customized bool `json:"customized,omitempty"`
|
||||
Default string `json:"default,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@@ -15,6 +15,6 @@ type SMTPConfig struct {
|
||||
Host string `json:"host,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Port *int64 `json:"port,omitempty"`
|
||||
TLS *bool `json:"tls,omitempty"`
|
||||
TLS bool `json:"tls,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ type Token struct {
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
GroupPrincipals []string `json:"groupPrincipals,omitempty"`
|
||||
IsDerived *bool `json:"isDerived,omitempty"`
|
||||
IsDerived bool `json:"isDerived,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
LastUpdateTime string `json:"lastUpdateTime,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
@@ -29,8 +29,8 @@ type User struct {
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Me *bool `json:"me,omitempty"`
|
||||
MustChangePassword *bool `json:"mustChangePassword,omitempty"`
|
||||
Me bool `json:"me,omitempty"`
|
||||
MustChangePassword bool `json:"mustChangePassword,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
|
@@ -9,7 +9,7 @@ const (
|
||||
)
|
||||
|
||||
type Values struct {
|
||||
BoolValue *bool `json:"boolValue,omitempty"`
|
||||
BoolValue bool `json:"boolValue,omitempty"`
|
||||
IntValue *int64 `json:"intValue,omitempty"`
|
||||
StringSliceValue []string `json:"stringSliceValue,omitempty"`
|
||||
StringValue string `json:"stringValue,omitempty"`
|
||||
|
@@ -29,7 +29,7 @@ type Token struct {
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
GroupPrincipals []string `json:"groupPrincipals,omitempty"`
|
||||
IsDerived *bool `json:"isDerived,omitempty"`
|
||||
IsDerived bool `json:"isDerived,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
LastUpdateTime string `json:"lastUpdateTime,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
|
Reference in New Issue
Block a user