This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fa4862
commit a0d1878
Showing
46 changed files
with
831 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
client/management/v3/zz_generated_aws_elastic_block_store_volume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
20
client/management/v3/zz_generated_azure_disk_volume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
client/management/v3/zz_generated_azure_file_volume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
client/management/v3/zz_generated_config_map_key_selector.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
client/management/v3/zz_generated_config_map_projection.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
client/management/v3/zz_generated_config_map_volume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
client/management/v3/zz_generated_downward_apiprojection.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
16
client/management/v3/zz_generated_downward_apivolume_file.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
12
client/management/v3/zz_generated_downward_apivolume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
12
client/management/v3/zz_generated_empty_dir_volume_source.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
Oops, something went wrong.