Documentation ¶
Index ¶
- Constants
- type AWSElasticBlockStoreVolumeSource
- type AzureDiskVolumeSource
- type AzureFilePersistentVolumeSource
- type CSIPersistentVolumeSource
- type CephFSPersistentVolumeSource
- type CinderPersistentVolumeSource
- type Client
- type ClusterAuthToken
- type ClusterUserAttribute
- type ContainerResourceLimit
- type FCVolumeSource
- type FlexPersistentVolumeSource
- type FlockerVolumeSource
- type GCEPersistentDiskVolumeSource
- type GlusterfsVolumeSource
- type HostPathVolumeSource
- type ISCSIPersistentVolumeSource
- type Initializer
- type Initializers
- type ListMeta
- type LocalVolumeSource
- type NFSVolumeSource
- type Namespace
- type NamespaceClient
- func (c *NamespaceClient) ActionMove(resource *Namespace, input *NamespaceMove) error
- func (c *NamespaceClient) ByID(id string) (*Namespace, error)
- func (c *NamespaceClient) Create(container *Namespace) (*Namespace, error)
- func (c *NamespaceClient) Delete(container *Namespace) error
- func (c *NamespaceClient) List(opts *types.ListOpts) (*NamespaceCollection, error)
- func (c *NamespaceClient) Replace(obj *Namespace) (*Namespace, error)
- func (c *NamespaceClient) Update(existing *Namespace, updates interface{}) (*Namespace, error)
- type NamespaceCollection
- type NamespaceMove
- type NamespaceOperations
- type NamespaceResourceQuota
- type NamespaceSpec
- type NamespaceStatus
- type NodeSelector
- type NodeSelectorRequirement
- type NodeSelectorTerm
- type ObjectMeta
- type ObjectReference
- type OwnerReference
- type PersistentVolume
- type PersistentVolumeClient
- func (c *PersistentVolumeClient) ByID(id string) (*PersistentVolume, error)
- func (c *PersistentVolumeClient) Create(container *PersistentVolume) (*PersistentVolume, error)
- func (c *PersistentVolumeClient) Delete(container *PersistentVolume) error
- func (c *PersistentVolumeClient) List(opts *types.ListOpts) (*PersistentVolumeCollection, error)
- func (c *PersistentVolumeClient) Replace(obj *PersistentVolume) (*PersistentVolume, error)
- func (c *PersistentVolumeClient) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)
- type PersistentVolumeCollection
- type PersistentVolumeOperations
- type PersistentVolumeSpec
- type PersistentVolumeStatus
- type PhotonPersistentDiskVolumeSource
- type PortworxVolumeSource
- type QuobyteVolumeSource
- type RBDPersistentVolumeSource
- type ResourceQuotaLimit
- type ScaleIOPersistentVolumeSource
- type SecretReference
- type Status
- type StatusCause
- type StatusDetails
- type StorageClass
- type StorageClassClient
- func (c *StorageClassClient) ByID(id string) (*StorageClass, error)
- func (c *StorageClassClient) Create(container *StorageClass) (*StorageClass, error)
- func (c *StorageClassClient) Delete(container *StorageClass) error
- func (c *StorageClassClient) List(opts *types.ListOpts) (*StorageClassCollection, error)
- func (c *StorageClassClient) Replace(obj *StorageClass) (*StorageClass, error)
- func (c *StorageClassClient) Update(existing *StorageClass, updates interface{}) (*StorageClass, error)
- type StorageClassCollection
- type StorageClassOperations
- type StorageOSPersistentVolumeSource
- type TopologySelectorLabelRequirement
- type TopologySelectorTerm
- type VolumeNodeAffinity
- type VsphereVirtualDiskVolumeSource
Constants ¶
View Source
const ( AWSElasticBlockStoreVolumeSourceType = "awsElasticBlockStoreVolumeSource" AWSElasticBlockStoreVolumeSourceFieldFSType = "fsType" AWSElasticBlockStoreVolumeSourceFieldPartition = "partition" AWSElasticBlockStoreVolumeSourceFieldReadOnly = "readOnly" AWSElasticBlockStoreVolumeSourceFieldVolumeID = "volumeID" )
View Source
const ( AzureDiskVolumeSourceType = "azureDiskVolumeSource" AzureDiskVolumeSourceFieldCachingMode = "cachingMode" AzureDiskVolumeSourceFieldDataDiskURI = "diskURI" AzureDiskVolumeSourceFieldDiskName = "diskName" AzureDiskVolumeSourceFieldFSType = "fsType" AzureDiskVolumeSourceFieldKind = "kind" AzureDiskVolumeSourceFieldReadOnly = "readOnly" )
View Source
const ( AzureFilePersistentVolumeSourceType = "azureFilePersistentVolumeSource" AzureFilePersistentVolumeSourceFieldReadOnly = "readOnly" AzureFilePersistentVolumeSourceFieldSecretName = "secretName" AzureFilePersistentVolumeSourceFieldSecretNamespace = "secretNamespace" )
View Source
const ( CephFSPersistentVolumeSourceType = "cephFSPersistentVolumeSource" CephFSPersistentVolumeSourceFieldMonitors = "monitors" CephFSPersistentVolumeSourceFieldPath = "path" CephFSPersistentVolumeSourceFieldReadOnly = "readOnly" CephFSPersistentVolumeSourceFieldSecretFile = "secretFile" CephFSPersistentVolumeSourceFieldSecretRef = "secretRef" CephFSPersistentVolumeSourceFieldUser = "user" )
View Source
const ( CinderPersistentVolumeSourceType = "cinderPersistentVolumeSource" CinderPersistentVolumeSourceFieldFSType = "fsType" CinderPersistentVolumeSourceFieldReadOnly = "readOnly" CinderPersistentVolumeSourceFieldSecretRef = "secretRef" CinderPersistentVolumeSourceFieldVolumeID = "volumeID" )
View Source
const ( ClusterAuthTokenType = "clusterAuthToken" ClusterAuthTokenFieldAnnotations = "annotations" ClusterAuthTokenFieldCreated = "created" ClusterAuthTokenFieldCreatorID = "creatorId" ClusterAuthTokenFieldEnabled = "enabled" ClusterAuthTokenFieldExpiresAt = "expiresAt" ClusterAuthTokenFieldLabels = "labels" ClusterAuthTokenFieldName = "name" ClusterAuthTokenFieldNamespaceId = "namespaceId" ClusterAuthTokenFieldOwnerReferences = "ownerReferences" ClusterAuthTokenFieldRemoved = "removed" ClusterAuthTokenFieldSecretKeyHash = "hash" ClusterAuthTokenFieldUUID = "uuid" ClusterAuthTokenFieldUserName = "userName" )
View Source
const ( ClusterUserAttributeType = "clusterUserAttribute" ClusterUserAttributeFieldAnnotations = "annotations" ClusterUserAttributeFieldCreated = "created" ClusterUserAttributeFieldCreatorID = "creatorId" ClusterUserAttributeFieldEnabled = "enabled" ClusterUserAttributeFieldGroups = "groups" ClusterUserAttributeFieldLabels = "labels" ClusterUserAttributeFieldLastRefresh = "lastRefresh" ClusterUserAttributeFieldName = "name" ClusterUserAttributeFieldNamespaceId = "namespaceId" ClusterUserAttributeFieldNeedsRefresh = "needsRefresh" ClusterUserAttributeFieldOwnerReferences = "ownerReferences" ClusterUserAttributeFieldRemoved = "removed" ClusterUserAttributeFieldUUID = "uuid" )
View Source
const ( ContainerResourceLimitType = "containerResourceLimit" ContainerResourceLimitFieldLimitsCPU = "limitsCpu" ContainerResourceLimitFieldLimitsMemory = "limitsMemory" ContainerResourceLimitFieldRequestsCPU = "requestsCpu" ContainerResourceLimitFieldRequestsMemory = "requestsMemory" )
View Source
const ( CSIPersistentVolumeSourceType = "csiPersistentVolumeSource" CSIPersistentVolumeSourceFieldControllerPublishSecretRef = "controllerPublishSecretRef" CSIPersistentVolumeSourceFieldDriver = "driver" CSIPersistentVolumeSourceFieldFSType = "fsType" CSIPersistentVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef" CSIPersistentVolumeSourceFieldNodeStageSecretRef = "nodeStageSecretRef" CSIPersistentVolumeSourceFieldReadOnly = "readOnly" CSIPersistentVolumeSourceFieldVolumeAttributes = "volumeAttributes" CSIPersistentVolumeSourceFieldVolumeHandle = "volumeHandle" )
View Source
const ( FCVolumeSourceType = "fcVolumeSource" FCVolumeSourceFieldFSType = "fsType" FCVolumeSourceFieldLun = "lun" FCVolumeSourceFieldReadOnly = "readOnly" FCVolumeSourceFieldTargetWWNs = "targetWWNs" FCVolumeSourceFieldWWIDs = "wwids" )
View Source
const ( FlexPersistentVolumeSourceType = "flexPersistentVolumeSource" FlexPersistentVolumeSourceFieldDriver = "driver" FlexPersistentVolumeSourceFieldFSType = "fsType" FlexPersistentVolumeSourceFieldOptions = "options" FlexPersistentVolumeSourceFieldReadOnly = "readOnly" FlexPersistentVolumeSourceFieldSecretRef = "secretRef" )
View Source
const ( FlockerVolumeSourceType = "flockerVolumeSource" FlockerVolumeSourceFieldDatasetName = "datasetName" FlockerVolumeSourceFieldDatasetUUID = "datasetUUID" )
View Source
const ( GCEPersistentDiskVolumeSourceType = "gcePersistentDiskVolumeSource" GCEPersistentDiskVolumeSourceFieldFSType = "fsType" GCEPersistentDiskVolumeSourceFieldPDName = "pdName" GCEPersistentDiskVolumeSourceFieldPartition = "partition" GCEPersistentDiskVolumeSourceFieldReadOnly = "readOnly" )
View Source
const ( GlusterfsVolumeSourceType = "glusterfsVolumeSource" GlusterfsVolumeSourceFieldEndpointsName = "endpoints" GlusterfsVolumeSourceFieldPath = "path" GlusterfsVolumeSourceFieldReadOnly = "readOnly" )
View Source
const ( HostPathVolumeSourceType = "hostPathVolumeSource" HostPathVolumeSourceFieldKind = "kind" HostPathVolumeSourceFieldPath = "path" )
View Source
const ( InitializerType = "initializer" InitializerFieldName = "name" )
View Source
const ( InitializersType = "initializers" InitializersFieldPending = "pending" InitializersFieldResult = "result" )
View Source
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" )
View Source
const ( ListMetaType = "listMeta" ListMetaFieldContinue = "continue" ListMetaFieldResourceVersion = "resourceVersion" ListMetaFieldSelfLink = "selfLink" )
View Source
const ( LocalVolumeSourceType = "localVolumeSource" LocalVolumeSourceFieldFSType = "fsType" LocalVolumeSourceFieldPath = "path" )
View Source
const ( NamespaceType = "namespace" NamespaceFieldAnnotations = "annotations" NamespaceFieldContainerDefaultResourceLimit = "containerDefaultResourceLimit" NamespaceFieldCreated = "created" NamespaceFieldCreatorID = "creatorId" NamespaceFieldDescription = "description" NamespaceFieldLabels = "labels" NamespaceFieldName = "name" NamespaceFieldOwnerReferences = "ownerReferences" NamespaceFieldProjectID = "projectId" NamespaceFieldRemoved = "removed" NamespaceFieldResourceQuota = "resourceQuota" NamespaceFieldState = "state" NamespaceFieldTransitioning = "transitioning" NamespaceFieldTransitioningMessage = "transitioningMessage" NamespaceFieldUUID = "uuid" )
View Source
const ( NamespaceMoveType = "namespaceMove" NamespaceMoveFieldProjectID = "projectId" )
View Source
const ( NamespaceResourceQuotaType = "namespaceResourceQuota" NamespaceResourceQuotaFieldLimit = "limit" )
View Source
const ( NamespaceStatusType = "namespaceStatus" NamespaceStatusFieldPhase = "phase" )
View Source
const ( NFSVolumeSourceType = "nfsVolumeSource" NFSVolumeSourceFieldPath = "path" NFSVolumeSourceFieldReadOnly = "readOnly" NFSVolumeSourceFieldServer = "server" )
View Source
const ( NodeSelectorType = "nodeSelector" NodeSelectorFieldNodeSelectorTerms = "nodeSelectorTerms" )
View Source
const ( NodeSelectorRequirementType = "nodeSelectorRequirement" NodeSelectorRequirementFieldKey = "key" NodeSelectorRequirementFieldOperator = "operator" NodeSelectorRequirementFieldValues = "values" )
View Source
const ( NodeSelectorTermType = "nodeSelectorTerm" NodeSelectorTermFieldMatchExpressions = "matchExpressions" NodeSelectorTermFieldMatchFields = "matchFields" )
View Source
const ( ObjectMetaType = "objectMeta" ObjectMetaFieldAnnotations = "annotations" ObjectMetaFieldCreated = "created" ObjectMetaFieldFinalizers = "finalizers" ObjectMetaFieldLabels = "labels" ObjectMetaFieldName = "name" ObjectMetaFieldNamespace = "namespace" ObjectMetaFieldOwnerReferences = "ownerReferences" ObjectMetaFieldRemoved = "removed" ObjectMetaFieldSelfLink = "selfLink" ObjectMetaFieldUUID = "uuid" )
View Source
const ( ObjectReferenceType = "objectReference" ObjectReferenceFieldAPIVersion = "apiVersion" ObjectReferenceFieldFieldPath = "fieldPath" ObjectReferenceFieldKind = "kind" ObjectReferenceFieldName = "name" ObjectReferenceFieldNamespace = "namespace" ObjectReferenceFieldResourceVersion = "resourceVersion" ObjectReferenceFieldUID = "uid" )
View Source
const ( OwnerReferenceType = "ownerReference" OwnerReferenceFieldAPIVersion = "apiVersion" OwnerReferenceFieldBlockOwnerDeletion = "blockOwnerDeletion" OwnerReferenceFieldController = "controller" OwnerReferenceFieldKind = "kind" OwnerReferenceFieldName = "name" OwnerReferenceFieldUID = "uid" )
View Source
const ( PersistentVolumeType = "persistentVolume" PersistentVolumeFieldAWSElasticBlockStore = "awsElasticBlockStore" PersistentVolumeFieldAccessModes = "accessModes" PersistentVolumeFieldAnnotations = "annotations" PersistentVolumeFieldAzureDisk = "azureDisk" PersistentVolumeFieldAzureFile = "azureFile" PersistentVolumeFieldCSI = "csi" PersistentVolumeFieldCapacity = "capacity" PersistentVolumeFieldCephFS = "cephfs" PersistentVolumeFieldCinder = "cinder" PersistentVolumeFieldClaimRef = "claimRef" PersistentVolumeFieldCreated = "created" PersistentVolumeFieldCreatorID = "creatorId" PersistentVolumeFieldDescription = "description" PersistentVolumeFieldFC = "fc" PersistentVolumeFieldFlexVolume = "flexVolume" PersistentVolumeFieldFlocker = "flocker" PersistentVolumeFieldGCEPersistentDisk = "gcePersistentDisk" PersistentVolumeFieldGlusterfs = "glusterfs" PersistentVolumeFieldHostPath = "hostPath" PersistentVolumeFieldISCSI = "iscsi" PersistentVolumeFieldLabels = "labels" PersistentVolumeFieldLocal = "local" PersistentVolumeFieldMountOptions = "mountOptions" PersistentVolumeFieldNFS = "nfs" PersistentVolumeFieldName = "name" PersistentVolumeFieldNodeAffinity = "nodeAffinity" PersistentVolumeFieldOwnerReferences = "ownerReferences" PersistentVolumeFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy" PersistentVolumeFieldPhotonPersistentDisk = "photonPersistentDisk" PersistentVolumeFieldPortworxVolume = "portworxVolume" PersistentVolumeFieldQuobyte = "quobyte" PersistentVolumeFieldRBD = "rbd" PersistentVolumeFieldRemoved = "removed" PersistentVolumeFieldScaleIO = "scaleIO" PersistentVolumeFieldState = "state" PersistentVolumeFieldStatus = "status" PersistentVolumeFieldStorageClassID = "storageClassId" PersistentVolumeFieldStorageOS = "storageos" PersistentVolumeFieldTransitioning = "transitioning" PersistentVolumeFieldTransitioningMessage = "transitioningMessage" PersistentVolumeFieldUUID = "uuid" PersistentVolumeFieldVolumeMode = "volumeMode" PersistentVolumeFieldVsphereVolume = "vsphereVolume" )
View Source
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" )
View Source
const ( PersistentVolumeStatusType = "persistentVolumeStatus" PersistentVolumeStatusFieldMessage = "message" PersistentVolumeStatusFieldPhase = "phase" PersistentVolumeStatusFieldReason = "reason" )
View Source
const ( PhotonPersistentDiskVolumeSourceType = "photonPersistentDiskVolumeSource" PhotonPersistentDiskVolumeSourceFieldFSType = "fsType" PhotonPersistentDiskVolumeSourceFieldPdID = "pdID" )
View Source
const ( PortworxVolumeSourceType = "portworxVolumeSource" PortworxVolumeSourceFieldFSType = "fsType" PortworxVolumeSourceFieldReadOnly = "readOnly" PortworxVolumeSourceFieldVolumeID = "volumeID" )
View Source
const ( QuobyteVolumeSourceType = "quobyteVolumeSource" QuobyteVolumeSourceFieldGroup = "group" QuobyteVolumeSourceFieldReadOnly = "readOnly" QuobyteVolumeSourceFieldRegistry = "registry" QuobyteVolumeSourceFieldUser = "user" QuobyteVolumeSourceFieldVolume = "volume" )
View Source
const ( RBDPersistentVolumeSourceType = "rbdPersistentVolumeSource" RBDPersistentVolumeSourceFieldCephMonitors = "monitors" RBDPersistentVolumeSourceFieldFSType = "fsType" RBDPersistentVolumeSourceFieldKeyring = "keyring" RBDPersistentVolumeSourceFieldRBDImage = "image" RBDPersistentVolumeSourceFieldRBDPool = "pool" RBDPersistentVolumeSourceFieldRadosUser = "user" RBDPersistentVolumeSourceFieldReadOnly = "readOnly" RBDPersistentVolumeSourceFieldSecretRef = "secretRef" )
View Source
const ( ResourceQuotaLimitType = "resourceQuotaLimit" ResourceQuotaLimitFieldConfigMaps = "configMaps" ResourceQuotaLimitFieldLimitsCPU = "limitsCpu" ResourceQuotaLimitFieldLimitsMemory = "limitsMemory" ResourceQuotaLimitFieldPersistentVolumeClaims = "persistentVolumeClaims" ResourceQuotaLimitFieldPods = "pods" ResourceQuotaLimitFieldReplicationControllers = "replicationControllers" ResourceQuotaLimitFieldRequestsCPU = "requestsCpu" ResourceQuotaLimitFieldRequestsMemory = "requestsMemory" ResourceQuotaLimitFieldRequestsStorage = "requestsStorage" ResourceQuotaLimitFieldSecrets = "secrets" ResourceQuotaLimitFieldServices = "services" ResourceQuotaLimitFieldServicesLoadBalancers = "servicesLoadBalancers" ResourceQuotaLimitFieldServicesNodePorts = "servicesNodePorts" )
View Source
const ( ScaleIOPersistentVolumeSourceType = "scaleIOPersistentVolumeSource" ScaleIOPersistentVolumeSourceFieldFSType = "fsType" ScaleIOPersistentVolumeSourceFieldGateway = "gateway" ScaleIOPersistentVolumeSourceFieldProtectionDomain = "protectionDomain" ScaleIOPersistentVolumeSourceFieldReadOnly = "readOnly" ScaleIOPersistentVolumeSourceFieldSSLEnabled = "sslEnabled" ScaleIOPersistentVolumeSourceFieldSecretRef = "secretRef" ScaleIOPersistentVolumeSourceFieldStorageMode = "storageMode" ScaleIOPersistentVolumeSourceFieldStoragePool = "storagePool" ScaleIOPersistentVolumeSourceFieldSystem = "system" ScaleIOPersistentVolumeSourceFieldVolumeName = "volumeName" )
View Source
const ( SecretReferenceType = "secretReference" SecretReferenceFieldName = "name" SecretReferenceFieldNamespace = "namespace" )
View Source
const ( StatusType = "status" StatusFieldAPIVersion = "apiVersion" StatusFieldCode = "code" StatusFieldDetails = "details" StatusFieldKind = "kind" StatusFieldListMeta = "metadata" StatusFieldMessage = "message" StatusFieldReason = "reason" StatusFieldStatus = "status" )
View Source
const ( StatusCauseType = "statusCause" StatusCauseFieldField = "field" StatusCauseFieldMessage = "message" StatusCauseFieldType = "reason" )
View Source
const ( StatusDetailsType = "statusDetails" StatusDetailsFieldCauses = "causes" StatusDetailsFieldGroup = "group" StatusDetailsFieldKind = "kind" StatusDetailsFieldName = "name" StatusDetailsFieldRetryAfterSeconds = "retryAfterSeconds" StatusDetailsFieldUID = "uid" )
View Source
const ( StorageClassType = "storageClass" StorageClassFieldAllowVolumeExpansion = "allowVolumeExpansion" StorageClassFieldAllowedTopologies = "allowedTopologies" StorageClassFieldAnnotations = "annotations" StorageClassFieldCreated = "created" StorageClassFieldCreatorID = "creatorId" StorageClassFieldDescription = "description" StorageClassFieldLabels = "labels" StorageClassFieldMountOptions = "mountOptions" StorageClassFieldName = "name" StorageClassFieldOwnerReferences = "ownerReferences" StorageClassFieldParameters = "parameters" StorageClassFieldProvisioner = "provisioner" StorageClassFieldReclaimPolicy = "reclaimPolicy" StorageClassFieldRemoved = "removed" StorageClassFieldUUID = "uuid" StorageClassFieldVolumeBindingMode = "volumeBindingMode" )
View Source
const ( StorageOSPersistentVolumeSourceType = "storageOSPersistentVolumeSource" StorageOSPersistentVolumeSourceFieldFSType = "fsType" StorageOSPersistentVolumeSourceFieldReadOnly = "readOnly" StorageOSPersistentVolumeSourceFieldSecretRef = "secretRef" StorageOSPersistentVolumeSourceFieldVolumeName = "volumeName" StorageOSPersistentVolumeSourceFieldVolumeNamespace = "volumeNamespace" )
View Source
const ( TopologySelectorLabelRequirementType = "topologySelectorLabelRequirement" TopologySelectorLabelRequirementFieldKey = "key" TopologySelectorLabelRequirementFieldValues = "values" )
View Source
const ( TopologySelectorTermType = "topologySelectorTerm" TopologySelectorTermFieldMatchLabelExpressions = "matchLabelExpressions" )
View Source
const ( VolumeNodeAffinityType = "volumeNodeAffinity" VolumeNodeAffinityFieldRequired = "required" )
View Source
const ( VsphereVirtualDiskVolumeSourceType = "vsphereVirtualDiskVolumeSource" VsphereVirtualDiskVolumeSourceFieldFSType = "fsType" VsphereVirtualDiskVolumeSourceFieldStoragePolicyID = "storagePolicyID" VsphereVirtualDiskVolumeSourceFieldStoragePolicyName = "storagePolicyName" VsphereVirtualDiskVolumeSourceFieldVolumePath = "volumePath" )
View Source
const (
NamespaceSpecType = "namespaceSpec"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSElasticBlockStoreVolumeSource ¶
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"` }
type AzureDiskVolumeSource ¶
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"` }
type CSIPersistentVolumeSource ¶
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"` }
type CephFSPersistentVolumeSource ¶
type CephFSPersistentVolumeSource 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 *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` }
type CinderPersistentVolumeSource ¶
type CinderPersistentVolumeSource struct { FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"` VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"` }
type Client ¶
type Client struct { clientbase.APIBaseClient Namespace NamespaceOperations PersistentVolume PersistentVolumeOperations StorageClass StorageClassOperations }
func NewClient ¶
func NewClient(opts *clientbase.ClientOpts) (*Client, error)
type ClusterAuthToken ¶
type ClusterAuthToken struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` SecretKeyHash string `json:"hash,omitempty" yaml:"hash,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` UserName string `json:"userName,omitempty" yaml:"userName,omitempty"` }
type ClusterUserAttribute ¶
type ClusterUserAttribute struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` Groups []string `json:"groups,omitempty" yaml:"groups,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` LastRefresh string `json:"lastRefresh,omitempty" yaml:"lastRefresh,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"` NeedsRefresh bool `json:"needsRefresh,omitempty" yaml:"needsRefresh,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type ContainerResourceLimit ¶
type ContainerResourceLimit struct { LimitsCPU string `json:"limitsCpu,omitempty" yaml:"limitsCpu,omitempty"` LimitsMemory string `json:"limitsMemory,omitempty" yaml:"limitsMemory,omitempty"` RequestsCPU string `json:"requestsCpu,omitempty" yaml:"requestsCpu,omitempty"` RequestsMemory string `json:"requestsMemory,omitempty" yaml:"requestsMemory,omitempty"` }
type FCVolumeSource ¶
type FCVolumeSource struct { FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` Lun *int64 `json:"lun,omitempty" yaml:"lun,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` TargetWWNs []string `json:"targetWWNs,omitempty" yaml:"targetWWNs,omitempty"` WWIDs []string `json:"wwids,omitempty" yaml:"wwids,omitempty"` }
type FlexPersistentVolumeSource ¶
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"` }
type FlockerVolumeSource ¶
type GCEPersistentDiskVolumeSource ¶
type GCEPersistentDiskVolumeSource struct { FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` PDName string `json:"pdName,omitempty" yaml:"pdName,omitempty"` Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` }
type GlusterfsVolumeSource ¶
type HostPathVolumeSource ¶
type ISCSIPersistentVolumeSource ¶
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"` }
type Initializer ¶
type Initializer struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
type Initializers ¶
type Initializers struct { Pending []Initializer `json:"pending,omitempty" yaml:"pending,omitempty"` Result *Status `json:"result,omitempty" yaml:"result,omitempty"` }
type LocalVolumeSource ¶
type NFSVolumeSource ¶
type Namespace ¶
type Namespace struct { types.Resource Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` ContainerDefaultResourceLimit *ContainerResourceLimit `json:"containerDefaultResourceLimit,omitempty" yaml:"containerDefaultResourceLimit,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` ResourceQuota *NamespaceResourceQuota `json:"resourceQuota,omitempty" yaml:"resourceQuota,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"` Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"` TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type NamespaceClient ¶
type NamespaceClient struct {
// contains filtered or unexported fields
}
func (*NamespaceClient) ActionMove ¶
func (c *NamespaceClient) ActionMove(resource *Namespace, input *NamespaceMove) error
func (*NamespaceClient) Create ¶
func (c *NamespaceClient) Create(container *Namespace) (*Namespace, error)
func (*NamespaceClient) Delete ¶
func (c *NamespaceClient) Delete(container *Namespace) error
func (*NamespaceClient) List ¶
func (c *NamespaceClient) List(opts *types.ListOpts) (*NamespaceCollection, error)
type NamespaceCollection ¶
type NamespaceCollection struct { types.Collection Data []Namespace `json:"data,omitempty"` // contains filtered or unexported fields }
func (*NamespaceCollection) Next ¶
func (cc *NamespaceCollection) Next() (*NamespaceCollection, error)
type NamespaceMove ¶
type NamespaceMove struct {
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
}
type NamespaceOperations ¶
type NamespaceOperations interface { List(opts *types.ListOpts) (*NamespaceCollection, error) Create(opts *Namespace) (*Namespace, error) Update(existing *Namespace, updates interface{}) (*Namespace, error) Replace(existing *Namespace) (*Namespace, error) ByID(id string) (*Namespace, error) Delete(container *Namespace) error ActionMove(resource *Namespace, input *NamespaceMove) error }
type NamespaceResourceQuota ¶
type NamespaceResourceQuota struct {
Limit *ResourceQuotaLimit `json:"limit,omitempty" yaml:"limit,omitempty"`
}
type NamespaceSpec ¶
type NamespaceSpec struct { }
type NamespaceStatus ¶
type NamespaceStatus struct {
Phase string `json:"phase,omitempty" yaml:"phase,omitempty"`
}
type NodeSelector ¶
type NodeSelector struct {
NodeSelectorTerms []NodeSelectorTerm `json:"nodeSelectorTerms,omitempty" yaml:"nodeSelectorTerms,omitempty"`
}
type NodeSelectorRequirement ¶
type NodeSelectorTerm ¶
type NodeSelectorTerm struct { MatchExpressions []NodeSelectorRequirement `json:"matchExpressions,omitempty" yaml:"matchExpressions,omitempty"` MatchFields []NodeSelectorRequirement `json:"matchFields,omitempty" yaml:"matchFields,omitempty"` }
type ObjectMeta ¶
type ObjectMeta struct { Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Finalizers []string `json:"finalizers,omitempty" yaml:"finalizers,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type ObjectReference ¶
type ObjectReference struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` FieldPath string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` ResourceVersion string `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` }
type OwnerReference ¶
type OwnerReference struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty" yaml:"blockOwnerDeletion,omitempty"` Controller *bool `json:"controller,omitempty" yaml:"controller,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` }
type PersistentVolume ¶
type PersistentVolume struct { types.Resource AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" yaml:"awsElasticBlockStore,omitempty"` AccessModes []string `json:"accessModes,omitempty" yaml:"accessModes,omitempty"` 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 *CinderPersistentVolumeSource `json:"cinder,omitempty" yaml:"cinder,omitempty"` ClaimRef *ObjectReference `json:"claimRef,omitempty" yaml:"claimRef,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` 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 *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"` 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 *RBDPersistentVolumeSource `json:"rbd,omitempty" yaml:"rbd,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,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"` StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,omitempty"` 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 PersistentVolumeClient ¶
type PersistentVolumeClient struct {
// contains filtered or unexported fields
}
func (*PersistentVolumeClient) ByID ¶
func (c *PersistentVolumeClient) ByID(id string) (*PersistentVolume, error)
func (*PersistentVolumeClient) Create ¶
func (c *PersistentVolumeClient) Create(container *PersistentVolume) (*PersistentVolume, error)
func (*PersistentVolumeClient) Delete ¶
func (c *PersistentVolumeClient) Delete(container *PersistentVolume) error
func (*PersistentVolumeClient) List ¶
func (c *PersistentVolumeClient) List(opts *types.ListOpts) (*PersistentVolumeCollection, error)
func (*PersistentVolumeClient) Replace ¶
func (c *PersistentVolumeClient) Replace(obj *PersistentVolume) (*PersistentVolume, error)
func (*PersistentVolumeClient) Update ¶
func (c *PersistentVolumeClient) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)
type PersistentVolumeCollection ¶
type PersistentVolumeCollection struct { types.Collection Data []PersistentVolume `json:"data,omitempty"` // contains filtered or unexported fields }
func (*PersistentVolumeCollection) Next ¶
func (cc *PersistentVolumeCollection) Next() (*PersistentVolumeCollection, error)
type PersistentVolumeOperations ¶
type PersistentVolumeOperations interface { List(opts *types.ListOpts) (*PersistentVolumeCollection, error) Create(opts *PersistentVolume) (*PersistentVolume, error) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error) Replace(existing *PersistentVolume) (*PersistentVolume, error) ByID(id string) (*PersistentVolume, error) Delete(container *PersistentVolume) error }
type PersistentVolumeSpec ¶
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"` }
type PersistentVolumeStatus ¶
type PortworxVolumeSource ¶
type QuobyteVolumeSource ¶
type QuobyteVolumeSource struct { Group string `json:"group,omitempty" yaml:"group,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` Registry string `json:"registry,omitempty" yaml:"registry,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty"` Volume string `json:"volume,omitempty" yaml:"volume,omitempty"` }
type RBDPersistentVolumeSource ¶
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"` }
type ResourceQuotaLimit ¶
type ResourceQuotaLimit struct { ConfigMaps string `json:"configMaps,omitempty" yaml:"configMaps,omitempty"` LimitsCPU string `json:"limitsCpu,omitempty" yaml:"limitsCpu,omitempty"` LimitsMemory string `json:"limitsMemory,omitempty" yaml:"limitsMemory,omitempty"` PersistentVolumeClaims string `json:"persistentVolumeClaims,omitempty" yaml:"persistentVolumeClaims,omitempty"` Pods string `json:"pods,omitempty" yaml:"pods,omitempty"` ReplicationControllers string `json:"replicationControllers,omitempty" yaml:"replicationControllers,omitempty"` RequestsCPU string `json:"requestsCpu,omitempty" yaml:"requestsCpu,omitempty"` RequestsMemory string `json:"requestsMemory,omitempty" yaml:"requestsMemory,omitempty"` RequestsStorage string `json:"requestsStorage,omitempty" yaml:"requestsStorage,omitempty"` Secrets string `json:"secrets,omitempty" yaml:"secrets,omitempty"` Services string `json:"services,omitempty" yaml:"services,omitempty"` ServicesLoadBalancers string `json:"servicesLoadBalancers,omitempty" yaml:"servicesLoadBalancers,omitempty"` ServicesNodePorts string `json:"servicesNodePorts,omitempty" yaml:"servicesNodePorts,omitempty"` }
type ScaleIOPersistentVolumeSource ¶
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"` }
type SecretReference ¶
type Status ¶
type Status struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Code int64 `json:"code,omitempty" yaml:"code,omitempty"` Details *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` ListMeta *ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Message string `json:"message,omitempty" yaml:"message,omitempty"` Reason string `json:"reason,omitempty" yaml:"reason,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
type StatusCause ¶
type StatusDetails ¶
type StatusDetails struct { Causes []StatusCause `json:"causes,omitempty" yaml:"causes,omitempty"` Group string `json:"group,omitempty" yaml:"group,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` RetryAfterSeconds int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"` UID string `json:"uid,omitempty" yaml:"uid,omitempty"` }
type StorageClass ¶
type StorageClass struct { types.Resource AllowVolumeExpansion *bool `json:"allowVolumeExpansion,omitempty" yaml:"allowVolumeExpansion,omitempty"` AllowedTopologies []TopologySelectorTerm `json:"allowedTopologies,omitempty" yaml:"allowedTopologies,omitempty"` Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` MountOptions []string `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` Parameters map[string]string `json:"parameters,omitempty" yaml:"parameters,omitempty"` Provisioner string `json:"provisioner,omitempty" yaml:"provisioner,omitempty"` 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 StorageClassClient ¶
type StorageClassClient struct {
// contains filtered or unexported fields
}
func (*StorageClassClient) ByID ¶
func (c *StorageClassClient) ByID(id string) (*StorageClass, error)
func (*StorageClassClient) Create ¶
func (c *StorageClassClient) Create(container *StorageClass) (*StorageClass, error)
func (*StorageClassClient) Delete ¶
func (c *StorageClassClient) Delete(container *StorageClass) error
func (*StorageClassClient) List ¶
func (c *StorageClassClient) List(opts *types.ListOpts) (*StorageClassCollection, error)
func (*StorageClassClient) Replace ¶
func (c *StorageClassClient) Replace(obj *StorageClass) (*StorageClass, error)
func (*StorageClassClient) Update ¶
func (c *StorageClassClient) Update(existing *StorageClass, updates interface{}) (*StorageClass, error)
type StorageClassCollection ¶
type StorageClassCollection struct { types.Collection Data []StorageClass `json:"data,omitempty"` // contains filtered or unexported fields }
func (*StorageClassCollection) Next ¶
func (cc *StorageClassCollection) Next() (*StorageClassCollection, error)
type StorageClassOperations ¶
type StorageClassOperations interface { List(opts *types.ListOpts) (*StorageClassCollection, error) Create(opts *StorageClass) (*StorageClass, error) Update(existing *StorageClass, updates interface{}) (*StorageClass, error) Replace(existing *StorageClass) (*StorageClass, error) ByID(id string) (*StorageClass, error) Delete(container *StorageClass) error }
type StorageOSPersistentVolumeSource ¶
type StorageOSPersistentVolumeSource struct { FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` SecretRef *ObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"` VolumeName string `json:"volumeName,omitempty" yaml:"volumeName,omitempty"` VolumeNamespace string `json:"volumeNamespace,omitempty" yaml:"volumeNamespace,omitempty"` }
type TopologySelectorTerm ¶
type TopologySelectorTerm struct {
MatchLabelExpressions []TopologySelectorLabelRequirement `json:"matchLabelExpressions,omitempty" yaml:"matchLabelExpressions,omitempty"`
}
type VolumeNodeAffinity ¶
type VolumeNodeAffinity struct {
Required *NodeSelector `json:"required,omitempty" yaml:"required,omitempty"`
}
type VsphereVirtualDiskVolumeSource ¶
type VsphereVirtualDiskVolumeSource struct { FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"` StoragePolicyID string `json:"storagePolicyID,omitempty" yaml:"storagePolicyID,omitempty"` StoragePolicyName string `json:"storagePolicyName,omitempty" yaml:"storagePolicyName,omitempty"` VolumePath string `json:"volumePath,omitempty" yaml:"volumePath,omitempty"` }
Source Files ¶
- zz_generated_aws_elastic_block_store_volume_source.go
- zz_generated_azure_disk_volume_source.go
- zz_generated_azure_file_persistent_volume_source.go
- zz_generated_ceph_fspersistent_volume_source.go
- zz_generated_cinder_persistent_volume_source.go
- zz_generated_client.go
- zz_generated_cluster_auth_token.go
- zz_generated_cluster_user_attribute.go
- zz_generated_container_resource_limit.go
- zz_generated_csi_persistent_volume_source.go
- zz_generated_fc_volume_source.go
- zz_generated_flex_persistent_volume_source.go
- zz_generated_flocker_volume_source.go
- zz_generated_gce_persistent_disk_volume_source.go
- zz_generated_glusterfs_volume_source.go
- zz_generated_host_path_volume_source.go
- zz_generated_initializer.go
- zz_generated_initializers.go
- zz_generated_iscsi_persistent_volume_source.go
- zz_generated_list_meta.go
- zz_generated_local_volume_source.go
- zz_generated_namespace.go
- zz_generated_namespace_move.go
- zz_generated_namespace_resource_quota.go
- zz_generated_namespace_spec.go
- zz_generated_namespace_status.go
- zz_generated_nfs_volume_source.go
- zz_generated_node_selector.go
- zz_generated_node_selector_requirement.go
- zz_generated_node_selector_term.go
- zz_generated_object_meta.go
- zz_generated_object_reference.go
- zz_generated_owner_reference.go
- zz_generated_persistent_volume.go
- zz_generated_persistent_volume_spec.go
- zz_generated_persistent_volume_status.go
- zz_generated_photon_persistent_disk_volume_source.go
- zz_generated_portworx_volume_source.go
- zz_generated_quobyte_volume_source.go
- zz_generated_rbd_persistent_volume_source.go
- zz_generated_resource_quota_limit.go
- zz_generated_scale_iopersistent_volume_source.go
- zz_generated_secret_reference.go
- zz_generated_status.go
- zz_generated_status_cause.go
- zz_generated_status_details.go
- zz_generated_storage_class.go
- zz_generated_storage_ospersistent_volume_source.go
- zz_generated_topology_selector_label_requirement.go
- zz_generated_topology_selector_term.go
- zz_generated_volume_node_affinity.go
- zz_generated_vsphere_virtual_disk_volume_source.go
Click to show internal directories.
Click to hide internal directories.