mirror of
https://github.com/rancher/types.git
synced 2025-08-10 17:01:34 +00:00
Regenerate code for k8s 1.14
This commit is contained in:
parent
6c963ac005
commit
c2052ff483
@ -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"`
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
GlusterfsVolumeSourceType = "glusterfsVolumeSource"
|
||||
GlusterfsVolumeSourceFieldEndpointsName = "endpoints"
|
||||
GlusterfsVolumeSourceFieldPath = "path"
|
||||
GlusterfsVolumeSourceFieldReadOnly = "readOnly"
|
||||
)
|
||||
|
||||
type GlusterfsVolumeSource struct {
|
||||
EndpointsName string `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
}
|
@ -70,7 +70,7 @@ type PersistentVolume 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"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
10
client/management/v3/zz_generated_allowed_csidriver.go
Normal file
10
client/management/v3/zz_generated_allowed_csidriver.go
Normal file
@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
AllowedCSIDriverType = "allowedCSIDriver"
|
||||
AllowedCSIDriverFieldName = "name"
|
||||
)
|
||||
|
||||
type AllowedCSIDriver struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
}
|
@ -3,6 +3,7 @@ package client
|
||||
const (
|
||||
PodSecurityPolicySpecType = "podSecurityPolicySpec"
|
||||
PodSecurityPolicySpecFieldAllowPrivilegeEscalation = "allowPrivilegeEscalation"
|
||||
PodSecurityPolicySpecFieldAllowedCSIDrivers = "allowedCSIDrivers"
|
||||
PodSecurityPolicySpecFieldAllowedCapabilities = "allowedCapabilities"
|
||||
PodSecurityPolicySpecFieldAllowedFlexVolumes = "allowedFlexVolumes"
|
||||
PodSecurityPolicySpecFieldAllowedHostPaths = "allowedHostPaths"
|
||||
@ -19,6 +20,7 @@ const (
|
||||
PodSecurityPolicySpecFieldPrivileged = "privileged"
|
||||
PodSecurityPolicySpecFieldReadOnlyRootFilesystem = "readOnlyRootFilesystem"
|
||||
PodSecurityPolicySpecFieldRequiredDropCapabilities = "requiredDropCapabilities"
|
||||
PodSecurityPolicySpecFieldRunAsGroup = "runAsGroup"
|
||||
PodSecurityPolicySpecFieldRunAsUser = "runAsUser"
|
||||
PodSecurityPolicySpecFieldSELinux = "seLinux"
|
||||
PodSecurityPolicySpecFieldSupplementalGroups = "supplementalGroups"
|
||||
@ -27,6 +29,7 @@ const (
|
||||
|
||||
type PodSecurityPolicySpec struct {
|
||||
AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" yaml:"allowPrivilegeEscalation,omitempty"`
|
||||
AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" yaml:"allowedCSIDrivers,omitempty"`
|
||||
AllowedCapabilities []string `json:"allowedCapabilities,omitempty" yaml:"allowedCapabilities,omitempty"`
|
||||
AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" yaml:"allowedFlexVolumes,omitempty"`
|
||||
AllowedHostPaths []AllowedHostPath `json:"allowedHostPaths,omitempty" yaml:"allowedHostPaths,omitempty"`
|
||||
@ -43,6 +46,7 @@ type PodSecurityPolicySpec struct {
|
||||
Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"`
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" yaml:"readOnlyRootFilesystem,omitempty"`
|
||||
RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty" yaml:"requiredDropCapabilities,omitempty"`
|
||||
RunAsGroup *RunAsGroupStrategyOptions `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"`
|
||||
RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"`
|
||||
SELinux *SELinuxStrategyOptions `json:"seLinux,omitempty" yaml:"seLinux,omitempty"`
|
||||
SupplementalGroups *SupplementalGroupsStrategyOptions `json:"supplementalGroups,omitempty" yaml:"supplementalGroups,omitempty"`
|
||||
|
@ -7,6 +7,7 @@ import (
|
||||
const (
|
||||
PodSecurityPolicyTemplateType = "podSecurityPolicyTemplate"
|
||||
PodSecurityPolicyTemplateFieldAllowPrivilegeEscalation = "allowPrivilegeEscalation"
|
||||
PodSecurityPolicyTemplateFieldAllowedCSIDrivers = "allowedCSIDrivers"
|
||||
PodSecurityPolicyTemplateFieldAllowedCapabilities = "allowedCapabilities"
|
||||
PodSecurityPolicyTemplateFieldAllowedFlexVolumes = "allowedFlexVolumes"
|
||||
PodSecurityPolicyTemplateFieldAllowedHostPaths = "allowedHostPaths"
|
||||
@ -31,6 +32,7 @@ const (
|
||||
PodSecurityPolicyTemplateFieldReadOnlyRootFilesystem = "readOnlyRootFilesystem"
|
||||
PodSecurityPolicyTemplateFieldRemoved = "removed"
|
||||
PodSecurityPolicyTemplateFieldRequiredDropCapabilities = "requiredDropCapabilities"
|
||||
PodSecurityPolicyTemplateFieldRunAsGroup = "runAsGroup"
|
||||
PodSecurityPolicyTemplateFieldRunAsUser = "runAsUser"
|
||||
PodSecurityPolicyTemplateFieldSELinux = "seLinux"
|
||||
PodSecurityPolicyTemplateFieldSupplementalGroups = "supplementalGroups"
|
||||
@ -41,6 +43,7 @@ const (
|
||||
type PodSecurityPolicyTemplate struct {
|
||||
types.Resource
|
||||
AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty" yaml:"allowPrivilegeEscalation,omitempty"`
|
||||
AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" yaml:"allowedCSIDrivers,omitempty"`
|
||||
AllowedCapabilities []string `json:"allowedCapabilities,omitempty" yaml:"allowedCapabilities,omitempty"`
|
||||
AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" yaml:"allowedFlexVolumes,omitempty"`
|
||||
AllowedHostPaths []AllowedHostPath `json:"allowedHostPaths,omitempty" yaml:"allowedHostPaths,omitempty"`
|
||||
@ -65,6 +68,7 @@ type PodSecurityPolicyTemplate struct {
|
||||
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" yaml:"readOnlyRootFilesystem,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
RequiredDropCapabilities []string `json:"requiredDropCapabilities,omitempty" yaml:"requiredDropCapabilities,omitempty"`
|
||||
RunAsGroup *RunAsGroupStrategyOptions `json:"runAsGroup,omitempty" yaml:"runAsGroup,omitempty"`
|
||||
RunAsUser *RunAsUserStrategyOptions `json:"runAsUser,omitempty" yaml:"runAsUser,omitempty"`
|
||||
SELinux *SELinuxStrategyOptions `json:"seLinux,omitempty" yaml:"seLinux,omitempty"`
|
||||
SupplementalGroups *SupplementalGroupsStrategyOptions `json:"supplementalGroups,omitempty" yaml:"supplementalGroups,omitempty"`
|
||||
|
@ -0,0 +1,12 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RunAsGroupStrategyOptionsType = "runAsGroupStrategyOptions"
|
||||
RunAsGroupStrategyOptionsFieldRanges = "ranges"
|
||||
RunAsGroupStrategyOptionsFieldRule = "rule"
|
||||
)
|
||||
|
||||
type RunAsGroupStrategyOptions struct {
|
||||
Ranges []IDRange `json:"ranges,omitempty" yaml:"ranges,omitempty"`
|
||||
Rule string `json:"rule,omitempty" yaml:"rule,omitempty"`
|
||||
}
|
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user