forked from hd-Li/types
/
zz_generated_persistent_volume_spec.go
68 lines (66 loc) · 5.81 KB
/
zz_generated_persistent_volume_spec.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
63
64
65
66
67
68
package client
const (
PersistentVolumeSpecType = "persistentVolumeSpec"
PersistentVolumeSpecFieldAWSElasticBlockStore = "awsElasticBlockStore"
PersistentVolumeSpecFieldAccessModes = "accessModes"
PersistentVolumeSpecFieldAzureDisk = "azureDisk"
PersistentVolumeSpecFieldAzureFile = "azureFile"
PersistentVolumeSpecFieldCSI = "csi"
PersistentVolumeSpecFieldCapacity = "capacity"
PersistentVolumeSpecFieldCephFS = "cephfs"
PersistentVolumeSpecFieldCinder = "cinder"
PersistentVolumeSpecFieldClaimRef = "claimRef"
PersistentVolumeSpecFieldFC = "fc"
PersistentVolumeSpecFieldFlexVolume = "flexVolume"
PersistentVolumeSpecFieldFlocker = "flocker"
PersistentVolumeSpecFieldGCEPersistentDisk = "gcePersistentDisk"
PersistentVolumeSpecFieldGlusterfs = "glusterfs"
PersistentVolumeSpecFieldHostPath = "hostPath"
PersistentVolumeSpecFieldISCSI = "iscsi"
PersistentVolumeSpecFieldLocal = "local"
PersistentVolumeSpecFieldMountOptions = "mountOptions"
PersistentVolumeSpecFieldNFS = "nfs"
PersistentVolumeSpecFieldNodeAffinity = "nodeAffinity"
PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
PersistentVolumeSpecFieldPhotonPersistentDisk = "photonPersistentDisk"
PersistentVolumeSpecFieldPortworxVolume = "portworxVolume"
PersistentVolumeSpecFieldQuobyte = "quobyte"
PersistentVolumeSpecFieldRBD = "rbd"
PersistentVolumeSpecFieldScaleIO = "scaleIO"
PersistentVolumeSpecFieldStorageClassID = "storageClassId"
PersistentVolumeSpecFieldStorageOS = "storageos"
PersistentVolumeSpecFieldVolumeMode = "volumeMode"
PersistentVolumeSpecFieldVsphereVolume = "vsphereVolume"
)
type PersistentVolumeSpec struct {
AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"`
AccessModes []string `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
AzureDisk *AzureDiskVolumeSource `json:"azureDisk,omitempty" yaml:"azureDisk,omitempty"`
AzureFile *AzureFilePersistentVolumeSource `json:"azureFile,omitempty" yaml:"azureFile,omitempty"`
CSI *CSIPersistentVolumeSource `json:"csi,omitempty" yaml:"csi,omitempty"`
Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
CephFS *CephFSPersistentVolumeSource `json:"cephfs,omitempty" yaml:"cephfs,omitempty"`
Cinder *CinderPersistentVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"`
ClaimRef *ObjectReference `json:"claimRef,omitempty" yaml:"claimRef,omitempty"`
FC *FCVolumeSource `json:"fc,omitempty" yaml:"fc,omitempty"`
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"`
HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"`
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"`
MountOptions []string `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"`
NFS *NFSVolumeSource `json:"nfs,omitempty" yaml:"nfs,omitempty"`
NodeAffinity *VolumeNodeAffinity `json:"nodeAffinity,omitempty" yaml:"nodeAffinity,omitempty"`
PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty" yaml:"persistentVolumeReclaimPolicy,omitempty"`
PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `json:"photonPersistentDisk,omitempty" yaml:"photonPersistentDisk,omitempty"`
PortworxVolume *PortworxVolumeSource `json:"portworxVolume,omitempty" yaml:"portworxVolume,omitempty"`
Quobyte *QuobyteVolumeSource `json:"quobyte,omitempty" yaml:"quobyte,omitempty"`
RBD *RBDPersistentVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
ScaleIO *ScaleIOPersistentVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
StorageClassID string `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"`
VolumeMode string `json:"volumeMode,omitempty" yaml:"volumeMode,omitempty"`
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
}