1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-01-12 08:24:52 -07:00
parent 302735b905
commit 62ac6749a4
68 changed files with 149 additions and 133 deletions

View File

@@ -10,7 +10,6 @@ const (
BasicAuthFieldCreated = "created"
BasicAuthFieldCreatorID = "creatorId"
BasicAuthFieldDescription = "description"
BasicAuthFieldFinalizers = "finalizers"
BasicAuthFieldLabels = "labels"
BasicAuthFieldName = "name"
BasicAuthFieldNamespaceId = "namespaceId"
@@ -28,7 +27,6 @@ type BasicAuth struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
CertificateFieldCreatorID = "creatorId"
CertificateFieldDescription = "description"
CertificateFieldExpiresAt = "expiresAt"
CertificateFieldFinalizers = "finalizers"
CertificateFieldIssuedAt = "issuedAt"
CertificateFieldIssuer = "issuer"
CertificateFieldKey = "key"
@@ -43,7 +42,6 @@ type Certificate struct {
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
ExpiresAt string `json:"expiresAt,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
IssuedAt string `json:"issuedAt,omitempty"`
Issuer string `json:"issuer,omitempty"`
Key string `json:"key,omitempty"`

View File

@@ -17,7 +17,6 @@ const (
ContainerFieldPostStart = "postStart"
ContainerFieldPreStop = "preStop"
ContainerFieldPrivileged = "privileged"
ContainerFieldPullPolicy = "pullPolicy"
ContainerFieldReadOnly = "readOnly"
ContainerFieldReadycheck = "readycheck"
ContainerFieldResources = "resources"
@@ -48,7 +47,6 @@ type Container struct {
PostStart *Handler `json:"postStart,omitempty"`
PreStop *Handler `json:"preStop,omitempty"`
Privileged *bool `json:"privileged,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty"`
Readycheck *Probe `json:"readycheck,omitempty"`
Resources *Resources `json:"resources,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
DaemonSetFieldCreatorID = "creatorId"
DaemonSetFieldDNSPolicy = "dnsPolicy"
DaemonSetFieldDeploymentStrategy = "deploymentStrategy"
DaemonSetFieldFinalizers = "finalizers"
DaemonSetFieldFsgid = "fsgid"
DaemonSetFieldGids = "gids"
DaemonSetFieldHostAliases = "hostAliases"
@@ -31,6 +30,7 @@ const (
DaemonSetFieldPriority = "priority"
DaemonSetFieldPriorityClassName = "priorityClassName"
DaemonSetFieldProjectID = "projectId"
DaemonSetFieldPullPolicy = "pullPolicy"
DaemonSetFieldPullSecrets = "pullSecrets"
DaemonSetFieldRemoved = "removed"
DaemonSetFieldRestart = "restart"
@@ -65,7 +65,6 @@ type DaemonSet struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -81,6 +80,7 @@ type DaemonSet struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -19,6 +19,7 @@ const (
DaemonSetSpecFieldPID = "pid"
DaemonSetSpecFieldPriority = "priority"
DaemonSetSpecFieldPriorityClassName = "priorityClassName"
DaemonSetSpecFieldPullPolicy = "pullPolicy"
DaemonSetSpecFieldPullSecrets = "pullSecrets"
DaemonSetSpecFieldRestart = "restart"
DaemonSetSpecFieldRevisionHistoryLimit = "revisionHistoryLimit"
@@ -52,6 +53,7 @@ type DaemonSetSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
DeploymentFieldCreatorID = "creatorId"
DeploymentFieldDNSPolicy = "dnsPolicy"
DeploymentFieldDeploymentStrategy = "deploymentStrategy"
DeploymentFieldFinalizers = "finalizers"
DeploymentFieldFsgid = "fsgid"
DeploymentFieldGids = "gids"
DeploymentFieldHostAliases = "hostAliases"
@@ -32,6 +31,7 @@ const (
DeploymentFieldPriority = "priority"
DeploymentFieldPriorityClassName = "priorityClassName"
DeploymentFieldProjectID = "projectId"
DeploymentFieldPullPolicy = "pullPolicy"
DeploymentFieldPullSecrets = "pullSecrets"
DeploymentFieldRemoved = "removed"
DeploymentFieldRestart = "restart"
@@ -65,7 +65,6 @@ type Deployment struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -82,6 +81,7 @@ type Deployment struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -20,6 +20,7 @@ const (
DeploymentSpecFieldPaused = "paused"
DeploymentSpecFieldPriority = "priority"
DeploymentSpecFieldPriorityClassName = "priorityClassName"
DeploymentSpecFieldPullPolicy = "pullPolicy"
DeploymentSpecFieldPullSecrets = "pullSecrets"
DeploymentSpecFieldRestart = "restart"
DeploymentSpecFieldRevisionHistoryLimit = "revisionHistoryLimit"
@@ -53,6 +54,7 @@ type DeploymentSpec struct {
Paused *bool `json:"paused,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty"`

View File

@@ -11,7 +11,6 @@ const (
DNSRecordFieldCreated = "created"
DNSRecordFieldCreatorID = "creatorId"
DNSRecordFieldDescription = "description"
DNSRecordFieldFinalizers = "finalizers"
DNSRecordFieldHostname = "hostname"
DNSRecordFieldIPAddresses = "ipAddresses"
DNSRecordFieldLabels = "labels"
@@ -37,7 +36,6 @@ type DNSRecord struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Hostname string `json:"hostname,omitempty"`
IPAddresses []string `json:"ipAddresses,omitempty"`
Labels map[string]string `json:"labels,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
DockerCredentialFieldCreated = "created"
DockerCredentialFieldCreatorID = "creatorId"
DockerCredentialFieldDescription = "description"
DockerCredentialFieldFinalizers = "finalizers"
DockerCredentialFieldLabels = "labels"
DockerCredentialFieldName = "name"
DockerCredentialFieldNamespaceId = "namespaceId"
@@ -27,7 +26,6 @@ type DockerCredential struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -11,7 +11,6 @@ const (
IngressFieldCreatorID = "creatorId"
IngressFieldDefaultBackend = "defaultBackend"
IngressFieldDescription = "description"
IngressFieldFinalizers = "finalizers"
IngressFieldLabels = "labels"
IngressFieldName = "name"
IngressFieldNamespaceId = "namespaceId"
@@ -34,7 +33,6 @@ type Ingress struct {
CreatorID string `json:"creatorId,omitempty"`
DefaultBackend *IngressBackend `json:"defaultBackend,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -12,7 +12,6 @@ const (
NamespaceFieldCreatorID = "creatorId"
NamespaceFieldDescription = "description"
NamespaceFieldExternalID = "externalId"
NamespaceFieldFinalizers = "finalizers"
NamespaceFieldLabels = "labels"
NamespaceFieldName = "name"
NamespaceFieldOwnerReferences = "ownerReferences"
@@ -36,7 +35,6 @@ type Namespace struct {
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
ExternalID string `json:"externalId,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
NamespacedBasicAuthFieldCreated = "created"
NamespacedBasicAuthFieldCreatorID = "creatorId"
NamespacedBasicAuthFieldDescription = "description"
NamespacedBasicAuthFieldFinalizers = "finalizers"
NamespacedBasicAuthFieldLabels = "labels"
NamespacedBasicAuthFieldName = "name"
NamespacedBasicAuthFieldNamespaceId = "namespaceId"
@@ -28,7 +27,6 @@ type NamespacedBasicAuth struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
NamespacedCertificateFieldCreatorID = "creatorId"
NamespacedCertificateFieldDescription = "description"
NamespacedCertificateFieldExpiresAt = "expiresAt"
NamespacedCertificateFieldFinalizers = "finalizers"
NamespacedCertificateFieldIssuedAt = "issuedAt"
NamespacedCertificateFieldIssuer = "issuer"
NamespacedCertificateFieldKey = "key"
@@ -43,7 +42,6 @@ type NamespacedCertificate struct {
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
ExpiresAt string `json:"expiresAt,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
IssuedAt string `json:"issuedAt,omitempty"`
Issuer string `json:"issuer,omitempty"`
Key string `json:"key,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
NamespacedDockerCredentialFieldCreated = "created"
NamespacedDockerCredentialFieldCreatorID = "creatorId"
NamespacedDockerCredentialFieldDescription = "description"
NamespacedDockerCredentialFieldFinalizers = "finalizers"
NamespacedDockerCredentialFieldLabels = "labels"
NamespacedDockerCredentialFieldName = "name"
NamespacedDockerCredentialFieldNamespaceId = "namespaceId"
@@ -27,7 +26,6 @@ type NamespacedDockerCredential struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -11,7 +11,6 @@ const (
NamespacedSecretFieldCreatorID = "creatorId"
NamespacedSecretFieldData = "data"
NamespacedSecretFieldDescription = "description"
NamespacedSecretFieldFinalizers = "finalizers"
NamespacedSecretFieldKind = "kind"
NamespacedSecretFieldLabels = "labels"
NamespacedSecretFieldName = "name"
@@ -30,7 +29,6 @@ type NamespacedSecret struct {
CreatorID string `json:"creatorId,omitempty"`
Data map[string]string `json:"data,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Kind string `json:"kind,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`

View File

@@ -13,7 +13,6 @@ const (
NamespacedServiceAccountTokenFieldCreated = "created"
NamespacedServiceAccountTokenFieldCreatorID = "creatorId"
NamespacedServiceAccountTokenFieldDescription = "description"
NamespacedServiceAccountTokenFieldFinalizers = "finalizers"
NamespacedServiceAccountTokenFieldLabels = "labels"
NamespacedServiceAccountTokenFieldName = "name"
NamespacedServiceAccountTokenFieldNamespaceId = "namespaceId"
@@ -33,7 +32,6 @@ type NamespacedServiceAccountToken struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
NamespacedSSHAuthFieldCreated = "created"
NamespacedSSHAuthFieldCreatorID = "creatorId"
NamespacedSSHAuthFieldDescription = "description"
NamespacedSSHAuthFieldFinalizers = "finalizers"
NamespacedSSHAuthFieldFingerprint = "certFingerprint"
NamespacedSSHAuthFieldLabels = "labels"
NamespacedSSHAuthFieldName = "name"
@@ -28,7 +27,6 @@ type NamespacedSSHAuth struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fingerprint string `json:"certFingerprint,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
PersistentVolumeClaimFieldAnnotations = "annotations"
PersistentVolumeClaimFieldCreated = "created"
PersistentVolumeClaimFieldCreatorID = "creatorId"
PersistentVolumeClaimFieldFinalizers = "finalizers"
PersistentVolumeClaimFieldLabels = "labels"
PersistentVolumeClaimFieldName = "name"
PersistentVolumeClaimFieldNamespaceId = "namespaceId"
@@ -34,7 +33,6 @@ type PersistentVolumeClaim struct {
Annotations map[string]string `json:"annotations,omitempty"`
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -14,7 +14,6 @@ const (
PodFieldCreatorID = "creatorId"
PodFieldDNSPolicy = "dnsPolicy"
PodFieldDescription = "description"
PodFieldFinalizers = "finalizers"
PodFieldFsgid = "fsgid"
PodFieldGids = "gids"
PodFieldHostAliases = "hostAliases"
@@ -30,6 +29,7 @@ const (
PodFieldPriority = "priority"
PodFieldPriorityClassName = "priorityClassName"
PodFieldProjectID = "projectId"
PodFieldPullPolicy = "pullPolicy"
PodFieldPullSecrets = "pullSecrets"
PodFieldRemoved = "removed"
PodFieldRestart = "restart"
@@ -59,7 +59,6 @@ type Pod struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -75,6 +74,7 @@ type Pod struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -16,6 +16,7 @@ const (
PodSpecFieldPID = "pid"
PodSpecFieldPriority = "priority"
PodSpecFieldPriorityClassName = "priorityClassName"
PodSpecFieldPullPolicy = "pullPolicy"
PodSpecFieldPullSecrets = "pullSecrets"
PodSpecFieldRestart = "restart"
PodSpecFieldRunAsNonRoot = "runAsNonRoot"
@@ -43,6 +44,7 @@ type PodSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"`

View File

@@ -17,6 +17,7 @@ const (
PodTemplateSpecFieldPID = "pid"
PodTemplateSpecFieldPriority = "priority"
PodTemplateSpecFieldPriorityClassName = "priorityClassName"
PodTemplateSpecFieldPullPolicy = "pullPolicy"
PodTemplateSpecFieldPullSecrets = "pullSecrets"
PodTemplateSpecFieldRestart = "restart"
PodTemplateSpecFieldRunAsNonRoot = "runAsNonRoot"
@@ -45,6 +46,7 @@ type PodTemplateSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
ReplicaSetFieldCreatorID = "creatorId"
ReplicaSetFieldDNSPolicy = "dnsPolicy"
ReplicaSetFieldDeploymentStrategy = "deploymentStrategy"
ReplicaSetFieldFinalizers = "finalizers"
ReplicaSetFieldFsgid = "fsgid"
ReplicaSetFieldGids = "gids"
ReplicaSetFieldHostAliases = "hostAliases"
@@ -31,6 +30,7 @@ const (
ReplicaSetFieldPriority = "priority"
ReplicaSetFieldPriorityClassName = "priorityClassName"
ReplicaSetFieldProjectID = "projectId"
ReplicaSetFieldPullPolicy = "pullPolicy"
ReplicaSetFieldPullSecrets = "pullSecrets"
ReplicaSetFieldRemoved = "removed"
ReplicaSetFieldRestart = "restart"
@@ -63,7 +63,6 @@ type ReplicaSet struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -79,6 +78,7 @@ type ReplicaSet struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -19,6 +19,7 @@ const (
ReplicaSetSpecFieldPID = "pid"
ReplicaSetSpecFieldPriority = "priority"
ReplicaSetSpecFieldPriorityClassName = "priorityClassName"
ReplicaSetSpecFieldPullPolicy = "pullPolicy"
ReplicaSetSpecFieldPullSecrets = "pullSecrets"
ReplicaSetSpecFieldRestart = "restart"
ReplicaSetSpecFieldRunAsNonRoot = "runAsNonRoot"
@@ -50,6 +51,7 @@ type ReplicaSetSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
ReplicationControllerFieldCreatorID = "creatorId"
ReplicationControllerFieldDNSPolicy = "dnsPolicy"
ReplicationControllerFieldDeploymentStrategy = "deploymentStrategy"
ReplicationControllerFieldFinalizers = "finalizers"
ReplicationControllerFieldFsgid = "fsgid"
ReplicationControllerFieldGids = "gids"
ReplicationControllerFieldHostAliases = "hostAliases"
@@ -31,6 +30,7 @@ const (
ReplicationControllerFieldPriority = "priority"
ReplicationControllerFieldPriorityClassName = "priorityClassName"
ReplicationControllerFieldProjectID = "projectId"
ReplicationControllerFieldPullPolicy = "pullPolicy"
ReplicationControllerFieldPullSecrets = "pullSecrets"
ReplicationControllerFieldRemoved = "removed"
ReplicationControllerFieldRestart = "restart"
@@ -63,7 +63,6 @@ type ReplicationController struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -79,6 +78,7 @@ type ReplicationController struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -19,6 +19,7 @@ const (
ReplicationControllerSpecFieldPID = "pid"
ReplicationControllerSpecFieldPriority = "priority"
ReplicationControllerSpecFieldPriorityClassName = "priorityClassName"
ReplicationControllerSpecFieldPullPolicy = "pullPolicy"
ReplicationControllerSpecFieldPullSecrets = "pullSecrets"
ReplicationControllerSpecFieldRestart = "restart"
ReplicationControllerSpecFieldRunAsNonRoot = "runAsNonRoot"
@@ -50,6 +51,7 @@ type ReplicationControllerSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"`

View File

@@ -11,7 +11,6 @@ const (
SecretFieldCreatorID = "creatorId"
SecretFieldData = "data"
SecretFieldDescription = "description"
SecretFieldFinalizers = "finalizers"
SecretFieldKind = "kind"
SecretFieldLabels = "labels"
SecretFieldName = "name"
@@ -30,7 +29,6 @@ type Secret struct {
CreatorID string `json:"creatorId,omitempty"`
Data map[string]string `json:"data,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Kind string `json:"kind,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`

View File

@@ -13,7 +13,6 @@ const (
ServiceFieldDescription = "description"
ServiceFieldExternalIPs = "externalIPs"
ServiceFieldExternalTrafficPolicy = "externalTrafficPolicy"
ServiceFieldFinalizers = "finalizers"
ServiceFieldHealthCheckNodePort = "healthCheckNodePort"
ServiceFieldHostname = "hostname"
ServiceFieldIPAddresses = "ipAddresses"
@@ -49,7 +48,6 @@ type Service struct {
Description string `json:"description,omitempty"`
ExternalIPs []string `json:"externalIPs,omitempty"`
ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
HealthCheckNodePort *int64 `json:"healthCheckNodePort,omitempty"`
Hostname string `json:"hostname,omitempty"`
IPAddresses []string `json:"ipAddresses,omitempty"`

View File

@@ -13,7 +13,6 @@ const (
ServiceAccountTokenFieldCreated = "created"
ServiceAccountTokenFieldCreatorID = "creatorId"
ServiceAccountTokenFieldDescription = "description"
ServiceAccountTokenFieldFinalizers = "finalizers"
ServiceAccountTokenFieldLabels = "labels"
ServiceAccountTokenFieldName = "name"
ServiceAccountTokenFieldNamespaceId = "namespaceId"
@@ -33,7 +32,6 @@ type ServiceAccountToken struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`

View File

@@ -10,7 +10,6 @@ const (
SSHAuthFieldCreated = "created"
SSHAuthFieldCreatorID = "creatorId"
SSHAuthFieldDescription = "description"
SSHAuthFieldFinalizers = "finalizers"
SSHAuthFieldFingerprint = "certFingerprint"
SSHAuthFieldLabels = "labels"
SSHAuthFieldName = "name"
@@ -28,7 +27,6 @@ type SSHAuth struct {
Created string `json:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fingerprint string `json:"certFingerprint,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Name string `json:"name,omitempty"`

View File

@@ -15,7 +15,6 @@ const (
StatefulSetFieldCreatorID = "creatorId"
StatefulSetFieldDNSPolicy = "dnsPolicy"
StatefulSetFieldDeploymentStrategy = "deploymentStrategy"
StatefulSetFieldFinalizers = "finalizers"
StatefulSetFieldFsgid = "fsgid"
StatefulSetFieldGids = "gids"
StatefulSetFieldHostAliases = "hostAliases"
@@ -32,6 +31,7 @@ const (
StatefulSetFieldPriority = "priority"
StatefulSetFieldPriorityClassName = "priorityClassName"
StatefulSetFieldProjectID = "projectId"
StatefulSetFieldPullPolicy = "pullPolicy"
StatefulSetFieldPullSecrets = "pullSecrets"
StatefulSetFieldRemoved = "removed"
StatefulSetFieldRestart = "restart"
@@ -68,7 +68,6 @@ type StatefulSet struct {
CreatorID string `json:"creatorId,omitempty"`
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -85,6 +84,7 @@ type StatefulSet struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -20,6 +20,7 @@ const (
StatefulSetSpecFieldPodManagementPolicy = "podManagementPolicy"
StatefulSetSpecFieldPriority = "priority"
StatefulSetSpecFieldPriorityClassName = "priorityClassName"
StatefulSetSpecFieldPullPolicy = "pullPolicy"
StatefulSetSpecFieldPullSecrets = "pullSecrets"
StatefulSetSpecFieldRestart = "restart"
StatefulSetSpecFieldRevisionHistoryLimit = "revisionHistoryLimit"
@@ -56,6 +57,7 @@ type StatefulSetSpec struct {
PodManagementPolicy string `json:"podManagementPolicy,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty"`

View File

@@ -16,7 +16,6 @@ const (
WorkloadFieldDNSPolicy = "dnsPolicy"
WorkloadFieldDeploymentStrategy = "deploymentStrategy"
WorkloadFieldDescription = "description"
WorkloadFieldFinalizers = "finalizers"
WorkloadFieldFsgid = "fsgid"
WorkloadFieldGids = "gids"
WorkloadFieldHostAliases = "hostAliases"
@@ -32,6 +31,7 @@ const (
WorkloadFieldPriority = "priority"
WorkloadFieldPriorityClassName = "priorityClassName"
WorkloadFieldProjectID = "projectId"
WorkloadFieldPullPolicy = "pullPolicy"
WorkloadFieldPullSecrets = "pullSecrets"
WorkloadFieldRemoved = "removed"
WorkloadFieldRestart = "restart"
@@ -66,7 +66,6 @@ type Workload struct {
DNSPolicy string `json:"dnsPolicy,omitempty"`
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
Description string `json:"description,omitempty"`
Finalizers []string `json:"finalizers,omitempty"`
Fsgid *int64 `json:"fsgid,omitempty"`
Gids []int64 `json:"gids,omitempty"`
HostAliases map[string]HostAlias `json:"hostAliases,omitempty"`
@@ -82,6 +81,7 @@ type Workload struct {
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
ProjectID string `json:"projectId,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Removed string `json:"removed,omitempty"`
Restart string `json:"restart,omitempty"`

View File

@@ -20,6 +20,7 @@ const (
WorkloadSpecFieldPID = "pid"
WorkloadSpecFieldPriority = "priority"
WorkloadSpecFieldPriorityClassName = "priorityClassName"
WorkloadSpecFieldPullPolicy = "pullPolicy"
WorkloadSpecFieldPullSecrets = "pullSecrets"
WorkloadSpecFieldRestart = "restart"
WorkloadSpecFieldRunAsNonRoot = "runAsNonRoot"
@@ -53,6 +54,7 @@ type WorkloadSpec struct {
PID string `json:"pid,omitempty"`
Priority *int64 `json:"priority,omitempty"`
PriorityClassName string `json:"priorityClassName,omitempty"`
PullPolicy string `json:"pullPolicy,omitempty"`
PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"`
Restart string `json:"restart,omitempty"`
RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"`