forked from rancher/types
/
zz_generated_volume.go
62 lines (60 loc) · 3.68 KB
/
zz_generated_volume.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package client
const (
VolumeType = "volume"
VolumeFieldAWSElasticBlockStore = "awsElasticBlockStore"
VolumeFieldAzureDisk = "azureDisk"
VolumeFieldAzureFile = "azureFile"
VolumeFieldCephFS = "cephfs"
VolumeFieldCinder = "cinder"
VolumeFieldConfigMap = "configMap"
VolumeFieldDownwardAPI = "downwardAPI"
VolumeFieldEmptyDir = "emptyDir"
VolumeFieldFC = "fc"
VolumeFieldFlexVolume = "flexVolume"
VolumeFieldFlocker = "flocker"
VolumeFieldGCEPersistentDisk = "gcePersistentDisk"
VolumeFieldGitRepo = "gitRepo"
VolumeFieldGlusterfs = "glusterfs"
VolumeFieldHostPath = "hostPath"
VolumeFieldISCSI = "iscsi"
VolumeFieldNFS = "nfs"
VolumeFieldPersistentVolumeClaim = "persistentVolumeClaim"
VolumeFieldPhotonPersistentDisk = "photonPersistentDisk"
VolumeFieldPortworxVolume = "portworxVolume"
VolumeFieldProjected = "projected"
VolumeFieldQuobyte = "quobyte"
VolumeFieldRBD = "rbd"
VolumeFieldScaleIO = "scaleIO"
VolumeFieldSecret = "secret"
VolumeFieldStorageOS = "storageos"
VolumeFieldVsphereVolume = "vsphereVolume"
)
type Volume struct {
AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty"`
AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty"`
AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"`
CephFS *CephFSVolumeSource `json:"cephfs,omitempty"`
Cinder *CinderVolumeSource `json:"cinder,omitempty"`
ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty"`
DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty"`
EmptyDir *EmptyDirVolumeSource `json:"emptyDir,omitempty"`
FC *FCVolumeSource `json:"fc,omitempty"`
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"`
Flocker *FlockerVolumeSource `json:"flocker,omitempty"`
GCEPersistentDisk *GCEPersistentDiskVolumeSource `json:"gcePersistentDisk,omitempty"`
GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty"`
Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty"`
HostPath *HostPathVolumeSource `json:"hostPath,omitempty"`
ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"`
NFS *NFSVolumeSource `json:"nfs,omitempty"`
PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"`
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty"`
PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty"`
Projected *ProjectedVolumeSource `json:"projected,omitempty"`
Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty"`
RBD *RBDVolumeSource `json:"rbd,omitempty"`
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty"`
Secret *SecretVolumeSource `json:"secret,omitempty"`
StorageOS *StorageOSVolumeSource `json:"storageos,omitempty"`
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty"`
}