mirror of
https://github.com/rancher/types.git
synced 2025-09-12 13:03:45 +00:00
Regenerate code for k8s 1.14
This commit is contained in:
@@ -16,6 +16,7 @@ const (
|
||||
CronJobFieldCronJobStatus = "cronJobStatus"
|
||||
CronJobFieldDNSConfig = "dnsConfig"
|
||||
CronJobFieldDNSPolicy = "dnsPolicy"
|
||||
CronJobFieldEnableServiceLinks = "enableServiceLinks"
|
||||
CronJobFieldFsgid = "fsgid"
|
||||
CronJobFieldGids = "gids"
|
||||
CronJobFieldHostAliases = "hostAliases"
|
||||
@@ -68,6 +69,7 @@ type CronJob struct {
|
||||
CronJobStatus *CronJobStatus `json:"cronJobStatus,omitempty" yaml:"cronJobStatus,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -8,6 +8,7 @@ const (
|
||||
CronJobSpecFieldCronJobConfig = "cronJobConfig"
|
||||
CronJobSpecFieldDNSConfig = "dnsConfig"
|
||||
CronJobSpecFieldDNSPolicy = "dnsPolicy"
|
||||
CronJobSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
CronJobSpecFieldFsgid = "fsgid"
|
||||
CronJobSpecFieldGids = "gids"
|
||||
CronJobSpecFieldHostAliases = "hostAliases"
|
||||
@@ -42,6 +43,7 @@ type CronJobSpec struct {
|
||||
CronJobConfig *CronJobConfig `json:"cronJobConfig,omitempty" yaml:"cronJobConfig,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
18
client/project/v3/zz_generated_csi_volume_source.go
Normal file
18
client/project/v3/zz_generated_csi_volume_source.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
CSIVolumeSourceType = "csiVolumeSource"
|
||||
CSIVolumeSourceFieldDriver = "driver"
|
||||
CSIVolumeSourceFieldFSType = "fsType"
|
||||
CSIVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef"
|
||||
CSIVolumeSourceFieldReadOnly = "readOnly"
|
||||
CSIVolumeSourceFieldVolumeAttributes = "volumeAttributes"
|
||||
)
|
||||
|
||||
type CSIVolumeSource struct {
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
NodePublishSecretRef *LocalObjectReference `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"`
|
||||
ReadOnly *bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"`
|
||||
}
|
@@ -16,6 +16,7 @@ const (
|
||||
DaemonSetFieldDNSPolicy = "dnsPolicy"
|
||||
DaemonSetFieldDaemonSetConfig = "daemonSetConfig"
|
||||
DaemonSetFieldDaemonSetStatus = "daemonSetStatus"
|
||||
DaemonSetFieldEnableServiceLinks = "enableServiceLinks"
|
||||
DaemonSetFieldFsgid = "fsgid"
|
||||
DaemonSetFieldGids = "gids"
|
||||
DaemonSetFieldHostAliases = "hostAliases"
|
||||
@@ -67,6 +68,7 @@ type DaemonSet struct {
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
DaemonSetConfig *DaemonSetConfig `json:"daemonSetConfig,omitempty" yaml:"daemonSetConfig,omitempty"`
|
||||
DaemonSetStatus *DaemonSetStatus `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -8,6 +8,7 @@ const (
|
||||
DaemonSetSpecFieldDNSConfig = "dnsConfig"
|
||||
DaemonSetSpecFieldDNSPolicy = "dnsPolicy"
|
||||
DaemonSetSpecFieldDaemonSetConfig = "daemonSetConfig"
|
||||
DaemonSetSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
DaemonSetSpecFieldFsgid = "fsgid"
|
||||
DaemonSetSpecFieldGids = "gids"
|
||||
DaemonSetSpecFieldHostAliases = "hostAliases"
|
||||
@@ -41,6 +42,7 @@ type DaemonSetSpec struct {
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
DaemonSetConfig *DaemonSetConfig `json:"daemonSetConfig,omitempty" yaml:"daemonSetConfig,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -16,6 +16,7 @@ const (
|
||||
DeploymentFieldDNSPolicy = "dnsPolicy"
|
||||
DeploymentFieldDeploymentConfig = "deploymentConfig"
|
||||
DeploymentFieldDeploymentStatus = "deploymentStatus"
|
||||
DeploymentFieldEnableServiceLinks = "enableServiceLinks"
|
||||
DeploymentFieldFsgid = "fsgid"
|
||||
DeploymentFieldGids = "gids"
|
||||
DeploymentFieldHostAliases = "hostAliases"
|
||||
@@ -69,6 +70,7 @@ type Deployment struct {
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"`
|
||||
DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty" yaml:"deploymentStatus,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -8,6 +8,7 @@ const (
|
||||
DeploymentSpecFieldDNSConfig = "dnsConfig"
|
||||
DeploymentSpecFieldDNSPolicy = "dnsPolicy"
|
||||
DeploymentSpecFieldDeploymentConfig = "deploymentConfig"
|
||||
DeploymentSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
DeploymentSpecFieldFsgid = "fsgid"
|
||||
DeploymentSpecFieldGids = "gids"
|
||||
DeploymentSpecFieldHostAliases = "hostAliases"
|
||||
@@ -43,6 +44,7 @@ type DeploymentSpec struct {
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -0,0 +1,16 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
GlusterfsPersistentVolumeSourceType = "glusterfsPersistentVolumeSource"
|
||||
GlusterfsPersistentVolumeSourceFieldEndpointsName = "endpoints"
|
||||
GlusterfsPersistentVolumeSourceFieldEndpointsNamespace = "endpointsNamespace"
|
||||
GlusterfsPersistentVolumeSourceFieldPath = "path"
|
||||
GlusterfsPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
)
|
||||
|
||||
type GlusterfsPersistentVolumeSource struct {
|
||||
EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
|
||||
EndpointsNamespace string `json:"endpointsNamespace,omitempty" yaml:"endpointsNamespace,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
}
|
@@ -14,6 +14,7 @@ const (
|
||||
JobFieldCreatorID = "creatorId"
|
||||
JobFieldDNSConfig = "dnsConfig"
|
||||
JobFieldDNSPolicy = "dnsPolicy"
|
||||
JobFieldEnableServiceLinks = "enableServiceLinks"
|
||||
JobFieldFsgid = "fsgid"
|
||||
JobFieldGids = "gids"
|
||||
JobFieldHostAliases = "hostAliases"
|
||||
@@ -66,6 +67,7 @@ type Job struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
JobSpecFieldContainers = "containers"
|
||||
JobSpecFieldDNSConfig = "dnsConfig"
|
||||
JobSpecFieldDNSPolicy = "dnsPolicy"
|
||||
JobSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
JobSpecFieldFsgid = "fsgid"
|
||||
JobSpecFieldGids = "gids"
|
||||
JobSpecFieldHostAliases = "hostAliases"
|
||||
@@ -41,6 +42,7 @@ type JobSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
JobTemplateSpecFieldContainers = "containers"
|
||||
JobTemplateSpecFieldDNSConfig = "dnsConfig"
|
||||
JobTemplateSpecFieldDNSPolicy = "dnsPolicy"
|
||||
JobTemplateSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
JobTemplateSpecFieldFsgid = "fsgid"
|
||||
JobTemplateSpecFieldGids = "gids"
|
||||
JobTemplateSpecFieldHostAliases = "hostAliases"
|
||||
@@ -42,6 +43,7 @@ type JobTemplateSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -48,7 +48,7 @@ type PersistentVolumeSpec struct {
|
||||
FlexVolume *FlexPersistentVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
|
||||
Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"`
|
||||
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
|
||||
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
|
||||
Glusterfs *GlusterfsPersistentVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
|
||||
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
|
||||
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
|
||||
Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"`
|
||||
|
@@ -15,6 +15,7 @@ const (
|
||||
PodFieldDNSConfig = "dnsConfig"
|
||||
PodFieldDNSPolicy = "dnsPolicy"
|
||||
PodFieldDescription = "description"
|
||||
PodFieldEnableServiceLinks = "enableServiceLinks"
|
||||
PodFieldFsgid = "fsgid"
|
||||
PodFieldGids = "gids"
|
||||
PodFieldHostAliases = "hostAliases"
|
||||
@@ -64,6 +65,7 @@ type Pod struct {
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
PodSpecFieldContainers = "containers"
|
||||
PodSpecFieldDNSConfig = "dnsConfig"
|
||||
PodSpecFieldDNSPolicy = "dnsPolicy"
|
||||
PodSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
PodSpecFieldFsgid = "fsgid"
|
||||
PodSpecFieldGids = "gids"
|
||||
PodSpecFieldHostAliases = "hostAliases"
|
||||
@@ -37,6 +38,7 @@ type PodSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
PodTemplateSpecFieldContainers = "containers"
|
||||
PodTemplateSpecFieldDNSConfig = "dnsConfig"
|
||||
PodTemplateSpecFieldDNSPolicy = "dnsPolicy"
|
||||
PodTemplateSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
PodTemplateSpecFieldFsgid = "fsgid"
|
||||
PodTemplateSpecFieldGids = "gids"
|
||||
PodTemplateSpecFieldHostAliases = "hostAliases"
|
||||
@@ -38,6 +39,7 @@ type PodTemplateSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -5,6 +5,7 @@ const (
|
||||
QuobyteVolumeSourceFieldGroup = "group"
|
||||
QuobyteVolumeSourceFieldReadOnly = "readOnly"
|
||||
QuobyteVolumeSourceFieldRegistry = "registry"
|
||||
QuobyteVolumeSourceFieldTenant = "tenant"
|
||||
QuobyteVolumeSourceFieldUser = "user"
|
||||
QuobyteVolumeSourceFieldVolume = "volume"
|
||||
)
|
||||
@@ -13,6 +14,7 @@ type QuobyteVolumeSource struct {
|
||||
Group string `json:"group,omitempty" yaml:"group,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
Registry string `json:"registry,omitempty" yaml:"registry,omitempty"`
|
||||
Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
Volume string `json:"volume,omitempty" yaml:"volume,omitempty"`
|
||||
}
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
ReplicaSetFieldCreatorID = "creatorId"
|
||||
ReplicaSetFieldDNSConfig = "dnsConfig"
|
||||
ReplicaSetFieldDNSPolicy = "dnsPolicy"
|
||||
ReplicaSetFieldEnableServiceLinks = "enableServiceLinks"
|
||||
ReplicaSetFieldFsgid = "fsgid"
|
||||
ReplicaSetFieldGids = "gids"
|
||||
ReplicaSetFieldHostAliases = "hostAliases"
|
||||
@@ -66,6 +67,7 @@ type ReplicaSet struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
ReplicationControllerFieldCreatorID = "creatorId"
|
||||
ReplicationControllerFieldDNSConfig = "dnsConfig"
|
||||
ReplicationControllerFieldDNSPolicy = "dnsPolicy"
|
||||
ReplicationControllerFieldEnableServiceLinks = "enableServiceLinks"
|
||||
ReplicationControllerFieldFsgid = "fsgid"
|
||||
ReplicationControllerFieldGids = "gids"
|
||||
ReplicationControllerFieldHostAliases = "hostAliases"
|
||||
@@ -66,6 +67,7 @@ type ReplicationController struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
ReplicationControllerSpecFieldContainers = "containers"
|
||||
ReplicationControllerSpecFieldDNSConfig = "dnsConfig"
|
||||
ReplicationControllerSpecFieldDNSPolicy = "dnsPolicy"
|
||||
ReplicationControllerSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
ReplicationControllerSpecFieldFsgid = "fsgid"
|
||||
ReplicationControllerSpecFieldGids = "gids"
|
||||
ReplicationControllerSpecFieldHostAliases = "hostAliases"
|
||||
@@ -41,6 +42,7 @@ type ReplicationControllerSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -14,6 +14,7 @@ const (
|
||||
StatefulSetFieldCreatorID = "creatorId"
|
||||
StatefulSetFieldDNSConfig = "dnsConfig"
|
||||
StatefulSetFieldDNSPolicy = "dnsPolicy"
|
||||
StatefulSetFieldEnableServiceLinks = "enableServiceLinks"
|
||||
StatefulSetFieldFsgid = "fsgid"
|
||||
StatefulSetFieldGids = "gids"
|
||||
StatefulSetFieldHostAliases = "hostAliases"
|
||||
@@ -66,6 +67,7 @@ type StatefulSet struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
StatefulSetSpecFieldContainers = "containers"
|
||||
StatefulSetSpecFieldDNSConfig = "dnsConfig"
|
||||
StatefulSetSpecFieldDNSPolicy = "dnsPolicy"
|
||||
StatefulSetSpecFieldEnableServiceLinks = "enableServiceLinks"
|
||||
StatefulSetSpecFieldFsgid = "fsgid"
|
||||
StatefulSetSpecFieldGids = "gids"
|
||||
StatefulSetSpecFieldHostAliases = "hostAliases"
|
||||
@@ -41,6 +42,7 @@ type StatefulSetSpec struct {
|
||||
Containers []Container `json:"containers,omitempty" yaml:"containers,omitempty"`
|
||||
DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty" yaml:"dnsConfig,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty" yaml:"dnsPolicy,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
@@ -5,6 +5,7 @@ const (
|
||||
VolumeFieldAWSElasticBlockStore = "awsElasticBlockStore"
|
||||
VolumeFieldAzureDisk = "azureDisk"
|
||||
VolumeFieldAzureFile = "azureFile"
|
||||
VolumeFieldCSI = "csi"
|
||||
VolumeFieldCephFS = "cephfs"
|
||||
VolumeFieldCinder = "cinder"
|
||||
VolumeFieldConfigMap = "configMap"
|
||||
@@ -36,6 +37,7 @@ type Volume struct {
|
||||
AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
|
||||
AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
|
||||
AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
|
||||
CSI *CSIVolumeSource `json:"csi,omitempty" yaml:"csi,omitempty"`
|
||||
CephFS *CephFSVolumeSource `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
|
||||
Cinder *CinderVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"`
|
||||
ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty" yaml:"configMap,omitempty"`
|
||||
|
@@ -7,6 +7,7 @@ const (
|
||||
VolumeMountFieldName = "name"
|
||||
VolumeMountFieldReadOnly = "readOnly"
|
||||
VolumeMountFieldSubPath = "subPath"
|
||||
VolumeMountFieldSubPathExpr = "subPathExpr"
|
||||
)
|
||||
|
||||
type VolumeMount struct {
|
||||
@@ -15,4 +16,5 @@ type VolumeMount struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SubPath string `json:"subPath,omitempty" yaml:"subPath,omitempty"`
|
||||
SubPathExpr string `json:"subPathExpr,omitempty" yaml:"subPathExpr,omitempty"`
|
||||
}
|
||||
|
@@ -20,6 +20,7 @@ const (
|
||||
WorkloadFieldDaemonSetStatus = "daemonSetStatus"
|
||||
WorkloadFieldDeploymentConfig = "deploymentConfig"
|
||||
WorkloadFieldDeploymentStatus = "deploymentStatus"
|
||||
WorkloadFieldEnableServiceLinks = "enableServiceLinks"
|
||||
WorkloadFieldFsgid = "fsgid"
|
||||
WorkloadFieldGids = "gids"
|
||||
WorkloadFieldHostAliases = "hostAliases"
|
||||
@@ -86,6 +87,7 @@ type Workload struct {
|
||||
DaemonSetStatus *DaemonSetStatus `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"`
|
||||
DeploymentConfig *DeploymentConfig `json:"deploymentConfig,omitempty" yaml:"deploymentConfig,omitempty"`
|
||||
DeploymentStatus *DeploymentStatus `json:"deploymentStatus,omitempty" yaml:"deploymentStatus,omitempty"`
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" yaml:"enableServiceLinks,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty" yaml:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty" yaml:"gids,omitempty"`
|
||||
HostAliases []HostAlias `json:"hostAliases,omitempty" yaml:"hostAliases,omitempty"`
|
||||
|
Reference in New Issue
Block a user