Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Generated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrajashree authored and Alena Prokharchyk committed Nov 13, 2019
1 parent 5fa4862 commit a0d1878
Show file tree
Hide file tree
Showing 46 changed files with 831 additions and 11 deletions.
72 changes: 72 additions & 0 deletions apis/management.cattle.io/v3/zz_generated_deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3081,6 +3081,57 @@ func (in *ExportOutput) DeepCopy() *ExportOutput {
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtraEnv) DeepCopyInto(out *ExtraEnv) {
*out = *in
in.EnvVar.DeepCopyInto(&out.EnvVar)
return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraEnv.
func (in *ExtraEnv) DeepCopy() *ExtraEnv {
if in == nil {
return nil
}
out := new(ExtraEnv)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtraVolume) DeepCopyInto(out *ExtraVolume) {
*out = *in
in.Volume.DeepCopyInto(&out.Volume)
return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraVolume.
func (in *ExtraVolume) DeepCopy() *ExtraVolume {
if in == nil {
return nil
}
out := new(ExtraVolume)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtraVolumeMount) DeepCopyInto(out *ExtraVolumeMount) {
*out = *in
in.VolumeMount.DeepCopyInto(&out.VolumeMount)
return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraVolumeMount.
func (in *ExtraVolumeMount) DeepCopy() *ExtraVolumeMount {
if in == nil {
return nil
}
out := new(ExtraVolumeMount)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Feature) DeepCopyInto(out *Feature) {
*out = *in
Expand Down Expand Up @@ -4080,6 +4131,27 @@ func (in *IngressConfig) DeepCopyInto(out *IngressConfig) {
(*out)[key] = val
}
}
if in.ExtraEnvs != nil {
in, out := &in.ExtraEnvs, &out.ExtraEnvs
*out = make([]ExtraEnv, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ExtraVolumes != nil {
in, out := &in.ExtraVolumes, &out.ExtraVolumes
*out = make([]ExtraVolume, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ExtraVolumeMounts != nil {
in, out := &in.ExtraVolumeMounts, &out.ExtraVolumeMounts
*out = make([]ExtraVolumeMount, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package client

const (
AWSElasticBlockStoreVolumeSourceType = "awsElasticBlockStoreVolumeSource"
AWSElasticBlockStoreVolumeSourceFieldFSType = "fsType"
AWSElasticBlockStoreVolumeSourceFieldPartition = "partition"
AWSElasticBlockStoreVolumeSourceFieldReadOnly = "readOnly"
AWSElasticBlockStoreVolumeSourceFieldVolumeID = "volumeID"
)

type AWSElasticBlockStoreVolumeSource struct {
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}
20 changes: 20 additions & 0 deletions client/management/v3/zz_generated_azure_disk_volume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package client

const (
AzureDiskVolumeSourceType = "azureDiskVolumeSource"
AzureDiskVolumeSourceFieldCachingMode = "cachingMode"
AzureDiskVolumeSourceFieldDataDiskURI = "diskURI"
AzureDiskVolumeSourceFieldDiskName = "diskName"
AzureDiskVolumeSourceFieldFSType = "fsType"
AzureDiskVolumeSourceFieldKind = "kind"
AzureDiskVolumeSourceFieldReadOnly = "readOnly"
)

type AzureDiskVolumeSource struct {
CachingMode string `json:"cachingMode,omitempty" yaml:"cachingMode,omitempty"`
DataDiskURI string `json:"diskURI,omitempty" yaml:"diskURI,omitempty"`
DiskName string `json:"diskName,omitempty" yaml:"diskName,omitempty"`
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
ReadOnly *bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
}
14 changes: 14 additions & 0 deletions client/management/v3/zz_generated_azure_file_volume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package client

const (
AzureFileVolumeSourceType = "azureFileVolumeSource"
AzureFileVolumeSourceFieldReadOnly = "readOnly"
AzureFileVolumeSourceFieldSecretName = "secretName"
AzureFileVolumeSourceFieldShareName = "shareName"
)

type AzureFileVolumeSource struct {
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SecretName string `json:"secretName,omitempty" yaml:"secretName,omitempty"`
ShareName string `json:"shareName,omitempty" yaml:"shareName,omitempty"`
}
20 changes: 20 additions & 0 deletions client/management/v3/zz_generated_ceph_fsvolume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package client

const (
CephFSVolumeSourceType = "cephFSVolumeSource"
CephFSVolumeSourceFieldMonitors = "monitors"
CephFSVolumeSourceFieldPath = "path"
CephFSVolumeSourceFieldReadOnly = "readOnly"
CephFSVolumeSourceFieldSecretFile = "secretFile"
CephFSVolumeSourceFieldSecretRef = "secretRef"
CephFSVolumeSourceFieldUser = "user"
)

type CephFSVolumeSource struct {
Monitors []string `json:"monitors,omitempty" yaml:"monitors,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SecretFile string `json:"secretFile,omitempty" yaml:"secretFile,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
}
16 changes: 16 additions & 0 deletions client/management/v3/zz_generated_cinder_volume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package client

const (
CinderVolumeSourceType = "cinderVolumeSource"
CinderVolumeSourceFieldFSType = "fsType"
CinderVolumeSourceFieldReadOnly = "readOnly"
CinderVolumeSourceFieldSecretRef = "secretRef"
CinderVolumeSourceFieldVolumeID = "volumeID"
)

type CinderVolumeSource struct {
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
}
14 changes: 14 additions & 0 deletions client/management/v3/zz_generated_config_map_key_selector.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package client

const (
ConfigMapKeySelectorType = "configMapKeySelector"
ConfigMapKeySelectorFieldKey = "key"
ConfigMapKeySelectorFieldName = "name"
ConfigMapKeySelectorFieldOptional = "optional"
)

type ConfigMapKeySelector struct {
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Optional *bool `json:"optional,omitempty" yaml:"optional,omitempty"`
}
14 changes: 14 additions & 0 deletions client/management/v3/zz_generated_config_map_projection.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package client

const (
ConfigMapProjectionType = "configMapProjection"
ConfigMapProjectionFieldItems = "items"
ConfigMapProjectionFieldName = "name"
ConfigMapProjectionFieldOptional = "optional"
)

type ConfigMapProjection struct {
Items []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Optional *bool `json:"optional,omitempty" yaml:"optional,omitempty"`
}
16 changes: 16 additions & 0 deletions client/management/v3/zz_generated_config_map_volume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package client

const (
ConfigMapVolumeSourceType = "configMapVolumeSource"
ConfigMapVolumeSourceFieldDefaultMode = "defaultMode"
ConfigMapVolumeSourceFieldItems = "items"
ConfigMapVolumeSourceFieldName = "name"
ConfigMapVolumeSourceFieldOptional = "optional"
)

type ConfigMapVolumeSource struct {
DefaultMode *int64 `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
Items []KeyToPath `json:"items,omitempty" yaml:"items,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Optional *bool `json:"optional,omitempty" yaml:"optional,omitempty"`
}
18 changes: 18 additions & 0 deletions client/management/v3/zz_generated_csi_volume_source.go
Original file line number Diff line number Diff line change
@@ -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"`
}
10 changes: 10 additions & 0 deletions client/management/v3/zz_generated_downward_apiprojection.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package client

const (
DownwardAPIProjectionType = "downwardAPIProjection"
DownwardAPIProjectionFieldItems = "items"
)

type DownwardAPIProjection struct {
Items []DownwardAPIVolumeFile `json:"items,omitempty" yaml:"items,omitempty"`
}
16 changes: 16 additions & 0 deletions client/management/v3/zz_generated_downward_apivolume_file.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package client

const (
DownwardAPIVolumeFileType = "downwardAPIVolumeFile"
DownwardAPIVolumeFileFieldFieldRef = "fieldRef"
DownwardAPIVolumeFileFieldMode = "mode"
DownwardAPIVolumeFileFieldPath = "path"
DownwardAPIVolumeFileFieldResourceFieldRef = "resourceFieldRef"
)

type DownwardAPIVolumeFile struct {
FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" yaml:"fieldRef,omitempty"`
Mode *int64 `json:"mode,omitempty" yaml:"mode,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" yaml:"resourceFieldRef,omitempty"`
}
12 changes: 12 additions & 0 deletions client/management/v3/zz_generated_downward_apivolume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package client

const (
DownwardAPIVolumeSourceType = "downwardAPIVolumeSource"
DownwardAPIVolumeSourceFieldDefaultMode = "defaultMode"
DownwardAPIVolumeSourceFieldItems = "items"
)

type DownwardAPIVolumeSource struct {
DefaultMode *int64 `json:"defaultMode,omitempty" yaml:"defaultMode,omitempty"`
Items []DownwardAPIVolumeFile `json:"items,omitempty" yaml:"items,omitempty"`
}
12 changes: 12 additions & 0 deletions client/management/v3/zz_generated_empty_dir_volume_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package client

const (
EmptyDirVolumeSourceType = "emptyDirVolumeSource"
EmptyDirVolumeSourceFieldMedium = "medium"
EmptyDirVolumeSourceFieldSizeLimit = "sizeLimit"
)

type EmptyDirVolumeSource struct {
Medium string `json:"medium,omitempty" yaml:"medium,omitempty"`
SizeLimit string `json:"sizeLimit,omitempty" yaml:"sizeLimit,omitempty"`
}
16 changes: 16 additions & 0 deletions client/management/v3/zz_generated_env_var_source.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package client

const (
EnvVarSourceType = "envVarSource"
EnvVarSourceFieldConfigMapKeyRef = "configMapKeyRef"
EnvVarSourceFieldFieldRef = "fieldRef"
EnvVarSourceFieldResourceFieldRef = "resourceFieldRef"
EnvVarSourceFieldSecretKeyRef = "secretKeyRef"
)

type EnvVarSource struct {
ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty" yaml:"configMapKeyRef,omitempty"`
FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" yaml:"fieldRef,omitempty"`
ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" yaml:"resourceFieldRef,omitempty"`
SecretKeyRef *SecretKeySelector `json:"secretKeyRef,omitempty" yaml:"secretKeyRef,omitempty"`
}
14 changes: 14 additions & 0 deletions client/management/v3/zz_generated_extra_env.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package client

const (
ExtraEnvType = "extraEnv"
ExtraEnvFieldName = "name"
ExtraEnvFieldValue = "value"
ExtraEnvFieldValueFrom = "valueFrom"
)

type ExtraEnv struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Value string `json:"value,omitempty" yaml:"value,omitempty"`
ValueFrom *EnvVarSource `json:"valueFrom,omitempty" yaml:"valueFrom,omitempty"`
}
66 changes: 66 additions & 0 deletions client/management/v3/zz_generated_extra_volume.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
package client

const (
ExtraVolumeType = "extraVolume"
ExtraVolumeFieldAWSElasticBlockStore = "awsElasticBlockStore"
ExtraVolumeFieldAzureDisk = "azureDisk"
ExtraVolumeFieldAzureFile = "azureFile"
ExtraVolumeFieldCSI = "csi"
ExtraVolumeFieldCephFS = "cephfs"
ExtraVolumeFieldCinder = "cinder"
ExtraVolumeFieldConfigMap = "configMap"
ExtraVolumeFieldDownwardAPI = "downwardAPI"
ExtraVolumeFieldEmptyDir = "emptyDir"
ExtraVolumeFieldFC = "fc"
ExtraVolumeFieldFlexVolume = "flexVolume"
ExtraVolumeFieldFlocker = "flocker"
ExtraVolumeFieldGCEPersistentDisk = "gcePersistentDisk"
ExtraVolumeFieldGitRepo = "gitRepo"
ExtraVolumeFieldGlusterfs = "glusterfs"
ExtraVolumeFieldHostPath = "hostPath"
ExtraVolumeFieldISCSI = "iscsi"
ExtraVolumeFieldNFS = "nfs"
ExtraVolumeFieldName = "name"
ExtraVolumeFieldPersistentVolumeClaim = "persistentVolumeClaim"
ExtraVolumeFieldPhotonPersistentDisk = "photonPersistentDisk"
ExtraVolumeFieldPortworxVolume = "portworxVolume"
ExtraVolumeFieldProjected = "projected"
ExtraVolumeFieldQuobyte = "quobyte"
ExtraVolumeFieldRBD = "rbd"
ExtraVolumeFieldScaleIO = "scaleIO"
ExtraVolumeFieldSecret = "secret"
ExtraVolumeFieldStorageOS = "storageos"
ExtraVolumeFieldVsphereVolume = "vsphereVolume"
)

type ExtraVolume 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"`
DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty" yaml:"downwardAPI,omitempty"`
EmptyDir *EmptyDirVolumeSource `json:"emptyDir,omitempty" yaml:"emptyDir,omitempty"`
FC *FCVolumeSource `json:"fc,omitempty" yaml:"fc,omitempty"`
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,omitempty"`
Flocker *FlockerVolumeSource `json:"flocker,omitempty" yaml:"flocker,omitempty"`
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty" yaml:"gcePersistentDisk,omitempty"`
GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty" yaml:"gitRepo,omitempty"`
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"`
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
NFS *NFSVolumeSource `json:"nfs,omitempty" yaml:"nfs,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty" yaml:"persistentVolumeClaim,omitempty"`
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
Projected *ProjectedVolumeSource `json:"projected,omitempty" yaml:"projected,omitempty"`
Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
RBD *RBDVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
Secret *SecretVolumeSource `json:"secret,omitempty" yaml:"secret,omitempty"`
StorageOS *StorageOSVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"`
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
}
Loading

0 comments on commit a0d1878

Please sign in to comment.