mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Generated changes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
CSIPersistentVolumeSourceType = "csiPersistentVolumeSource"
|
||||
CSIPersistentVolumeSourceFieldControllerPublishSecretRef = "controllerPublishSecretRef"
|
||||
CSIPersistentVolumeSourceFieldDriver = "driver"
|
||||
CSIPersistentVolumeSourceFieldFSType = "fsType"
|
||||
CSIPersistentVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef"
|
||||
CSIPersistentVolumeSourceFieldNodeStageSecretRef = "nodeStageSecretRef"
|
||||
CSIPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
CSIPersistentVolumeSourceFieldVolumeAttributes = "volumeAttributes"
|
||||
CSIPersistentVolumeSourceFieldVolumeHandle = "volumeHandle"
|
||||
)
|
||||
|
||||
type CSIPersistentVolumeSource struct {
|
||||
ControllerPublishSecretRef *SecretReference `json:"controllerPublishSecretRef,omitempty" yaml:"controllerPublishSecretRef,omitempty"`
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
NodePublishSecretRef *SecretReference `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"`
|
||||
NodeStageSecretRef *SecretReference `json:"nodeStageSecretRef,omitempty" yaml:"nodeStageSecretRef,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"`
|
||||
VolumeHandle string `json:"volumeHandle,omitempty" yaml:"volumeHandle,omitempty"`
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
FlexPersistentVolumeSourceType = "flexPersistentVolumeSource"
|
||||
FlexPersistentVolumeSourceFieldDriver = "driver"
|
||||
FlexPersistentVolumeSourceFieldFSType = "fsType"
|
||||
FlexPersistentVolumeSourceFieldOptions = "options"
|
||||
FlexPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
FlexPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type FlexPersistentVolumeSource struct {
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
FlexVolumeSourceType = "flexVolumeSource"
|
||||
FlexVolumeSourceFieldDriver = "driver"
|
||||
FlexVolumeSourceFieldFSType = "fsType"
|
||||
FlexVolumeSourceFieldOptions = "options"
|
||||
FlexVolumeSourceFieldReadOnly = "readOnly"
|
||||
FlexVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type FlexVolumeSource struct {
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ISCSIPersistentVolumeSourceType = "iscsiPersistentVolumeSource"
|
||||
ISCSIPersistentVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
|
||||
ISCSIPersistentVolumeSourceFieldFSType = "fsType"
|
||||
ISCSIPersistentVolumeSourceFieldIQN = "iqn"
|
||||
ISCSIPersistentVolumeSourceFieldISCSIInterface = "iscsiInterface"
|
||||
ISCSIPersistentVolumeSourceFieldInitiatorName = "initiatorName"
|
||||
ISCSIPersistentVolumeSourceFieldLun = "lun"
|
||||
ISCSIPersistentVolumeSourceFieldPortals = "portals"
|
||||
ISCSIPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
ISCSIPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
ISCSIPersistentVolumeSourceFieldSessionCHAPAuth = "chapAuthSession"
|
||||
ISCSIPersistentVolumeSourceFieldTargetPortal = "targetPortal"
|
||||
)
|
||||
|
||||
type ISCSIPersistentVolumeSource struct {
|
||||
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
SessionCHAPAuth bool `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
|
||||
TargetPortal string `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ISCSIVolumeSourceType = "iscsiVolumeSource"
|
||||
ISCSIVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
|
||||
ISCSIVolumeSourceFieldFSType = "fsType"
|
||||
ISCSIVolumeSourceFieldIQN = "iqn"
|
||||
ISCSIVolumeSourceFieldISCSIInterface = "iscsiInterface"
|
||||
ISCSIVolumeSourceFieldInitiatorName = "initiatorName"
|
||||
ISCSIVolumeSourceFieldLun = "lun"
|
||||
ISCSIVolumeSourceFieldPortals = "portals"
|
||||
ISCSIVolumeSourceFieldReadOnly = "readOnly"
|
||||
ISCSIVolumeSourceFieldSecretRef = "secretRef"
|
||||
ISCSIVolumeSourceFieldSessionCHAPAuth = "chapAuthSession"
|
||||
ISCSIVolumeSourceFieldTargetPortal = "targetPortal"
|
||||
)
|
||||
|
||||
type ISCSIVolumeSource struct {
|
||||
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
SessionCHAPAuth bool `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
|
||||
TargetPortal string `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
LocalObjectReferenceType = "localObjectReference"
|
||||
LocalObjectReferenceFieldName = "name"
|
||||
)
|
||||
|
||||
type LocalObjectReference struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
}
|
10
client/cluster/v3/zz_generated_node_selector.go
Normal file
10
client/cluster/v3/zz_generated_node_selector.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NodeSelectorType = "nodeSelector"
|
||||
NodeSelectorFieldNodeSelectorTerms = "nodeSelectorTerms"
|
||||
)
|
||||
|
||||
type NodeSelector struct {
|
||||
NodeSelectorTerms []NodeSelectorTerm `json:"nodeSelectorTerms,omitempty" yaml:"nodeSelectorTerms,omitempty"`
|
||||
}
|
14
client/cluster/v3/zz_generated_node_selector_requirement.go
Normal file
14
client/cluster/v3/zz_generated_node_selector_requirement.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NodeSelectorRequirementType = "nodeSelectorRequirement"
|
||||
NodeSelectorRequirementFieldKey = "key"
|
||||
NodeSelectorRequirementFieldOperator = "operator"
|
||||
NodeSelectorRequirementFieldValues = "values"
|
||||
)
|
||||
|
||||
type NodeSelectorRequirement struct {
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Operator string `json:"operator,omitempty" yaml:"operator,omitempty"`
|
||||
Values []string `json:"values,omitempty" yaml:"values,omitempty"`
|
||||
}
|
10
client/cluster/v3/zz_generated_node_selector_term.go
Normal file
10
client/cluster/v3/zz_generated_node_selector_term.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NodeSelectorTermType = "nodeSelectorTerm"
|
||||
NodeSelectorTermFieldMatchExpressions = "matchExpressions"
|
||||
)
|
||||
|
||||
type NodeSelectorTerm struct {
|
||||
MatchExpressions []NodeSelectorRequirement `json:"matchExpressions,omitempty" yaml:"matchExpressions,omitempty"`
|
||||
}
|
@@ -11,6 +11,7 @@ const (
|
||||
PersistentVolumeFieldAnnotations = "annotations"
|
||||
PersistentVolumeFieldAzureDisk = "azureDisk"
|
||||
PersistentVolumeFieldAzureFile = "azureFile"
|
||||
PersistentVolumeFieldCSI = "csi"
|
||||
PersistentVolumeFieldCapacity = "capacity"
|
||||
PersistentVolumeFieldCephFS = "cephfs"
|
||||
PersistentVolumeFieldCinder = "cinder"
|
||||
@@ -30,6 +31,7 @@ const (
|
||||
PersistentVolumeFieldMountOptions = "mountOptions"
|
||||
PersistentVolumeFieldNFS = "nfs"
|
||||
PersistentVolumeFieldName = "name"
|
||||
PersistentVolumeFieldNodeAffinity = "nodeAffinity"
|
||||
PersistentVolumeFieldOwnerReferences = "ownerReferences"
|
||||
PersistentVolumeFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
|
||||
PersistentVolumeFieldPhotonPersistentDisk = "photonPersistentDisk"
|
||||
@@ -45,6 +47,7 @@ const (
|
||||
PersistentVolumeFieldTransitioning = "transitioning"
|
||||
PersistentVolumeFieldTransitioningMessage = "transitioningMessage"
|
||||
PersistentVolumeFieldUuid = "uuid"
|
||||
PersistentVolumeFieldVolumeMode = "volumeMode"
|
||||
PersistentVolumeFieldVsphereVolume = "vsphereVolume"
|
||||
)
|
||||
|
||||
@@ -55,6 +58,7 @@ type PersistentVolume struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,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 *CinderVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"`
|
||||
@@ -63,25 +67,26 @@ type PersistentVolume struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
FC *FCVolumeSource `json:"fc,omitempty" yaml:"fc,omitempty"`
|
||||
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,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 *ISCSIVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
|
||||
ISCSI *ISCSIPersistentVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,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"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NodeAffinity *VolumeNodeAffinity `json:"nodeAffinity,omitempty" yaml:"nodeAffinity,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,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 *RBDVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
|
||||
RBD *RBDPersistentVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
|
||||
ScaleIO *ScaleIOPersistentVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Status *PersistentVolumeStatus `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
StorageClassId string `json:"storageClassId,omitempty" yaml:"storageClassId,omitempty"`
|
||||
@@ -89,6 +94,7 @@ type PersistentVolume struct {
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
VolumeMode string `json:"volumeMode,omitempty" yaml:"volumeMode,omitempty"`
|
||||
VsphereVolume *VsphereVirtualDiskVolumeSource `json:"vsphereVolume,omitempty" yaml:"vsphereVolume,omitempty"`
|
||||
}
|
||||
type PersistentVolumeCollection struct {
|
||||
|
@@ -6,6 +6,7 @@ const (
|
||||
PersistentVolumeSpecFieldAccessModes = "accessModes"
|
||||
PersistentVolumeSpecFieldAzureDisk = "azureDisk"
|
||||
PersistentVolumeSpecFieldAzureFile = "azureFile"
|
||||
PersistentVolumeSpecFieldCSI = "csi"
|
||||
PersistentVolumeSpecFieldCapacity = "capacity"
|
||||
PersistentVolumeSpecFieldCephFS = "cephfs"
|
||||
PersistentVolumeSpecFieldCinder = "cinder"
|
||||
@@ -20,6 +21,7 @@ const (
|
||||
PersistentVolumeSpecFieldLocal = "local"
|
||||
PersistentVolumeSpecFieldMountOptions = "mountOptions"
|
||||
PersistentVolumeSpecFieldNFS = "nfs"
|
||||
PersistentVolumeSpecFieldNodeAffinity = "nodeAffinity"
|
||||
PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy"
|
||||
PersistentVolumeSpecFieldPhotonPersistentDisk = "photonPersistentDisk"
|
||||
PersistentVolumeSpecFieldPortworxVolume = "portworxVolume"
|
||||
@@ -28,6 +30,7 @@ const (
|
||||
PersistentVolumeSpecFieldScaleIO = "scaleIO"
|
||||
PersistentVolumeSpecFieldStorageClassId = "storageClassId"
|
||||
PersistentVolumeSpecFieldStorageOS = "storageos"
|
||||
PersistentVolumeSpecFieldVolumeMode = "volumeMode"
|
||||
PersistentVolumeSpecFieldVsphereVolume = "vsphereVolume"
|
||||
)
|
||||
|
||||
@@ -36,27 +39,30 @@ type PersistentVolumeSpec struct {
|
||||
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 *CinderVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"`
|
||||
ClaimRef *ObjectReference `json:"claimRef,omitempty" yaml:"claimRef,omitempty"`
|
||||
FC *FCVolumeSource `json:"fc,omitempty" yaml:"fc,omitempty"`
|
||||
FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty" yaml:"flexVolume,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 *ISCSIVolumeSource `json:"iscsi,omitempty" yaml:"iscsi,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 *RBDVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"`
|
||||
ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,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"`
|
||||
}
|
||||
|
@@ -0,0 +1,24 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RBDPersistentVolumeSourceType = "rbdPersistentVolumeSource"
|
||||
RBDPersistentVolumeSourceFieldCephMonitors = "monitors"
|
||||
RBDPersistentVolumeSourceFieldFSType = "fsType"
|
||||
RBDPersistentVolumeSourceFieldKeyring = "keyring"
|
||||
RBDPersistentVolumeSourceFieldRBDImage = "image"
|
||||
RBDPersistentVolumeSourceFieldRBDPool = "pool"
|
||||
RBDPersistentVolumeSourceFieldRadosUser = "user"
|
||||
RBDPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
RBDPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type RBDPersistentVolumeSource struct {
|
||||
CephMonitors []string `json:"monitors,omitempty" yaml:"monitors,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Keyring string `json:"keyring,omitempty" yaml:"keyring,omitempty"`
|
||||
RBDImage string `json:"image,omitempty" yaml:"image,omitempty"`
|
||||
RBDPool string `json:"pool,omitempty" yaml:"pool,omitempty"`
|
||||
RadosUser string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RBDVolumeSourceType = "rbdVolumeSource"
|
||||
RBDVolumeSourceFieldCephMonitors = "monitors"
|
||||
RBDVolumeSourceFieldFSType = "fsType"
|
||||
RBDVolumeSourceFieldKeyring = "keyring"
|
||||
RBDVolumeSourceFieldRBDImage = "image"
|
||||
RBDVolumeSourceFieldRBDPool = "pool"
|
||||
RBDVolumeSourceFieldRadosUser = "user"
|
||||
RBDVolumeSourceFieldReadOnly = "readOnly"
|
||||
RBDVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type RBDVolumeSource struct {
|
||||
CephMonitors []string `json:"monitors,omitempty" yaml:"monitors,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Keyring string `json:"keyring,omitempty" yaml:"keyring,omitempty"`
|
||||
RBDImage string `json:"image,omitempty" yaml:"image,omitempty"`
|
||||
RBDPool string `json:"pool,omitempty" yaml:"pool,omitempty"`
|
||||
RadosUser string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@@ -0,0 +1,28 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ScaleIOPersistentVolumeSourceType = "scaleIOPersistentVolumeSource"
|
||||
ScaleIOPersistentVolumeSourceFieldFSType = "fsType"
|
||||
ScaleIOPersistentVolumeSourceFieldGateway = "gateway"
|
||||
ScaleIOPersistentVolumeSourceFieldProtectionDomain = "protectionDomain"
|
||||
ScaleIOPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
ScaleIOPersistentVolumeSourceFieldSSLEnabled = "sslEnabled"
|
||||
ScaleIOPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
ScaleIOPersistentVolumeSourceFieldStorageMode = "storageMode"
|
||||
ScaleIOPersistentVolumeSourceFieldStoragePool = "storagePool"
|
||||
ScaleIOPersistentVolumeSourceFieldSystem = "system"
|
||||
ScaleIOPersistentVolumeSourceFieldVolumeName = "volumeName"
|
||||
)
|
||||
|
||||
type ScaleIOPersistentVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Gateway string `json:"gateway,omitempty" yaml:"gateway,omitempty"`
|
||||
ProtectionDomain string `json:"protectionDomain,omitempty" yaml:"protectionDomain,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SSLEnabled bool `json:"sslEnabled,omitempty" yaml:"sslEnabled,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
StorageMode string `json:"storageMode,omitempty" yaml:"storageMode,omitempty"`
|
||||
StoragePool string `json:"storagePool,omitempty" yaml:"storagePool,omitempty"`
|
||||
System string `json:"system,omitempty" yaml:"system,omitempty"`
|
||||
VolumeName string `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
|
||||
}
|
@@ -1,28 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ScaleIOVolumeSourceType = "scaleIOVolumeSource"
|
||||
ScaleIOVolumeSourceFieldFSType = "fsType"
|
||||
ScaleIOVolumeSourceFieldGateway = "gateway"
|
||||
ScaleIOVolumeSourceFieldProtectionDomain = "protectionDomain"
|
||||
ScaleIOVolumeSourceFieldReadOnly = "readOnly"
|
||||
ScaleIOVolumeSourceFieldSSLEnabled = "sslEnabled"
|
||||
ScaleIOVolumeSourceFieldSecretRef = "secretRef"
|
||||
ScaleIOVolumeSourceFieldStorageMode = "storageMode"
|
||||
ScaleIOVolumeSourceFieldStoragePool = "storagePool"
|
||||
ScaleIOVolumeSourceFieldSystem = "system"
|
||||
ScaleIOVolumeSourceFieldVolumeName = "volumeName"
|
||||
)
|
||||
|
||||
type ScaleIOVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Gateway string `json:"gateway,omitempty" yaml:"gateway,omitempty"`
|
||||
ProtectionDomain string `json:"protectionDomain,omitempty" yaml:"protectionDomain,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SSLEnabled bool `json:"sslEnabled,omitempty" yaml:"sslEnabled,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
StorageMode string `json:"storageMode,omitempty" yaml:"storageMode,omitempty"`
|
||||
StoragePool string `json:"storagePool,omitempty" yaml:"storagePool,omitempty"`
|
||||
System string `json:"system,omitempty" yaml:"system,omitempty"`
|
||||
VolumeName string `json:"volumeName,omitempty" yaml:"volumeName,omitempty"`
|
||||
}
|
@@ -20,6 +20,7 @@ const (
|
||||
StorageClassFieldReclaimPolicy = "reclaimPolicy"
|
||||
StorageClassFieldRemoved = "removed"
|
||||
StorageClassFieldUuid = "uuid"
|
||||
StorageClassFieldVolumeBindingMode = "volumeBindingMode"
|
||||
)
|
||||
|
||||
type StorageClass struct {
|
||||
@@ -38,6 +39,7 @@ type StorageClass struct {
|
||||
ReclaimPolicy string `json:"reclaimPolicy,omitempty" yaml:"reclaimPolicy,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
VolumeBindingMode string `json:"volumeBindingMode,omitempty" yaml:"volumeBindingMode,omitempty"`
|
||||
}
|
||||
type StorageClassCollection struct {
|
||||
types.Collection
|
||||
|
10
client/cluster/v3/zz_generated_volume_node_affinity.go
Normal file
10
client/cluster/v3/zz_generated_volume_node_affinity.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
VolumeNodeAffinityType = "volumeNodeAffinity"
|
||||
VolumeNodeAffinityFieldRequired = "required"
|
||||
)
|
||||
|
||||
type VolumeNodeAffinity struct {
|
||||
Required *NodeSelector `json:"required,omitempty" yaml:"required,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user