Documentation ¶
Index ¶
- Constants
- type AWSElasticBlockStoreVolumeSource
- type AzureDiskVolumeSource
- type AzureFilePersistentVolumeSource
- type CephFSPersistentVolumeSource
- type CinderVolumeSource
- type Client
- type FCVolumeSource
- type FlexVolumeSource
- type FlockerVolumeSource
- type GCEPersistentDiskVolumeSource
- type GlusterfsVolumeSource
- type HostPathVolumeSource
- type ISCSIVolumeSource
- type Initializer
- type Initializers
- type ListMeta
- type LocalObjectReference
- type LocalVolumeSource
- type NFSVolumeSource
- type Namespace
- type NamespaceClient
- 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) Update(existing *Namespace, updates interface{}) (*Namespace, error)
- type NamespaceCollection
- type NamespaceOperations
- type NamespaceSpec
- type NamespaceStatus
- 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) Update(existing *PersistentVolume, updates interface{}) (*PersistentVolume, error)
- type PersistentVolumeCollection
- type PersistentVolumeOperations
- type PersistentVolumeSpec
- type PersistentVolumeStatus
- type PhotonPersistentDiskVolumeSource
- type PortworxVolumeSource
- type QuobyteVolumeSource
- type RBDVolumeSource
- type ScaleIOVolumeSource
- 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) Update(existing *StorageClass, updates interface{}) (*StorageClass, error)
- type StorageClassCollection
- type StorageClassOperations
- type StorageOSPersistentVolumeSource
- 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 ( CinderVolumeSourceType = "cinderVolumeSource" CinderVolumeSourceFieldFSType = "fsType" CinderVolumeSourceFieldReadOnly = "readOnly" CinderVolumeSourceFieldVolumeID = "volumeID" )
View Source
const ( FCVolumeSourceType = "fcVolumeSource" FCVolumeSourceFieldFSType = "fsType" FCVolumeSourceFieldLun = "lun" FCVolumeSourceFieldReadOnly = "readOnly" FCVolumeSourceFieldTargetWWNs = "targetWWNs" FCVolumeSourceFieldWWIDs = "wwids" )
View Source
const ( FlexVolumeSourceType = "flexVolumeSource" FlexVolumeSourceFieldDriver = "driver" FlexVolumeSourceFieldFSType = "fsType" FlexVolumeSourceFieldOptions = "options" FlexVolumeSourceFieldReadOnly = "readOnly" FlexVolumeSourceFieldSecretRef = "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" HostPathVolumeSourceFieldPath = "path" HostPathVolumeSourceFieldType = "type" )
View Source
const ( InitializerType = "initializer" InitializerFieldName = "name" )
View Source
const ( InitializersType = "initializers" InitializersFieldPending = "pending" InitializersFieldResult = "result" )
View Source
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" )
View Source
const ( ListMetaType = "listMeta" ListMetaFieldContinue = "continue" ListMetaFieldResourceVersion = "resourceVersion" ListMetaFieldSelfLink = "selfLink" )
View Source
const ( LocalObjectReferenceType = "localObjectReference" LocalObjectReferenceFieldName = "name" )
View Source
const ( LocalVolumeSourceType = "localVolumeSource" LocalVolumeSourceFieldPath = "path" )
View Source
const ( NamespaceType = "namespace" NamespaceFieldAnnotations = "annotations" NamespaceFieldCreated = "created" NamespaceFieldCreatorID = "creatorId" NamespaceFieldDescription = "description" NamespaceFieldLabels = "labels" NamespaceFieldName = "name" NamespaceFieldOwnerReferences = "ownerReferences" NamespaceFieldProjectID = "projectId" NamespaceFieldRemoved = "removed" NamespaceFieldState = "state" NamespaceFieldTransitioning = "transitioning" NamespaceFieldTransitioningMessage = "transitioningMessage" NamespaceFieldUuid = "uuid" )
View Source
const ( NamespaceStatusType = "namespaceStatus" NamespaceStatusFieldPhase = "phase" )
View Source
const ( NFSVolumeSourceType = "nfsVolumeSource" NFSVolumeSourceFieldPath = "path" NFSVolumeSourceFieldReadOnly = "readOnly" NFSVolumeSourceFieldServer = "server" )
View Source
const ( ObjectMetaType = "objectMeta" ObjectMetaFieldAnnotations = "annotations" ObjectMetaFieldCreated = "created" ObjectMetaFieldFinalizers = "finalizers" ObjectMetaFieldLabels = "labels" ObjectMetaFieldName = "name" ObjectMetaFieldNamespace = "namespace" ObjectMetaFieldOwnerReferences = "ownerReferences" ObjectMetaFieldRemoved = "removed" 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" PersistentVolumeFieldCapacity = "capacity" PersistentVolumeFieldCephFS = "cephfs" PersistentVolumeFieldCinder = "cinder" PersistentVolumeFieldClaimRef = "claimRef" PersistentVolumeFieldCreated = "created" PersistentVolumeFieldCreatorID = "creatorId" PersistentVolumeFieldFC = "fc" PersistentVolumeFieldFlexVolume = "flexVolume" PersistentVolumeFieldFlocker = "flocker" PersistentVolumeFieldGCEPersistentDisk = "gcePersistentDisk" PersistentVolumeFieldGlusterfs = "glusterfs" PersistentVolumeFieldHostPath = "hostPath" PersistentVolumeFieldISCSI = "iscsi" PersistentVolumeFieldLabels = "labels" PersistentVolumeFieldLocal = "local" PersistentVolumeFieldMountOptions = "mountOptions" PersistentVolumeFieldNFS = "nfs" PersistentVolumeFieldName = "name" PersistentVolumeFieldOwnerReferences = "ownerReferences" PersistentVolumeFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy" PersistentVolumeFieldPhotonPersistentDisk = "photonPersistentDisk" PersistentVolumeFieldPortworxVolume = "portworxVolume" PersistentVolumeFieldQuobyte = "quobyte" PersistentVolumeFieldRBD = "rbd" PersistentVolumeFieldRemoved = "removed" PersistentVolumeFieldScaleIO = "scaleIO" PersistentVolumeFieldState = "state" PersistentVolumeFieldStatus = "status" PersistentVolumeFieldStorageClassName = "storageClassName" PersistentVolumeFieldStorageOS = "storageos" PersistentVolumeFieldTransitioning = "transitioning" PersistentVolumeFieldTransitioningMessage = "transitioningMessage" PersistentVolumeFieldUuid = "uuid" PersistentVolumeFieldVsphereVolume = "vsphereVolume" )
View Source
const ( PersistentVolumeSpecType = "persistentVolumeSpec" PersistentVolumeSpecFieldAWSElasticBlockStore = "awsElasticBlockStore" PersistentVolumeSpecFieldAccessModes = "accessModes" PersistentVolumeSpecFieldAzureDisk = "azureDisk" PersistentVolumeSpecFieldAzureFile = "azureFile" 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" PersistentVolumeSpecFieldPersistentVolumeReclaimPolicy = "persistentVolumeReclaimPolicy" PersistentVolumeSpecFieldPhotonPersistentDisk = "photonPersistentDisk" PersistentVolumeSpecFieldPortworxVolume = "portworxVolume" PersistentVolumeSpecFieldQuobyte = "quobyte" PersistentVolumeSpecFieldRBD = "rbd" PersistentVolumeSpecFieldScaleIO = "scaleIO" PersistentVolumeSpecFieldStorageClassName = "storageClassName" PersistentVolumeSpecFieldStorageOS = "storageos" 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 ( RBDVolumeSourceType = "rbdVolumeSource" RBDVolumeSourceFieldCephMonitors = "monitors" RBDVolumeSourceFieldFSType = "fsType" RBDVolumeSourceFieldKeyring = "keyring" RBDVolumeSourceFieldRBDImage = "image" RBDVolumeSourceFieldRBDPool = "pool" RBDVolumeSourceFieldRadosUser = "user" RBDVolumeSourceFieldReadOnly = "readOnly" RBDVolumeSourceFieldSecretRef = "secretRef" )
View Source
const ( ScaleIOVolumeSourceType = "scaleIOVolumeSource" ScaleIOVolumeSourceFieldFSType = "fsType" ScaleIOVolumeSourceFieldGateway = "gateway" ScaleIOVolumeSourceFieldProtectionDomain = "protectionDomain" ScaleIOVolumeSourceFieldReadOnly = "readOnly" ScaleIOVolumeSourceFieldSSLEnabled = "sslEnabled" ScaleIOVolumeSourceFieldSecretRef = "secretRef" ScaleIOVolumeSourceFieldStorageMode = "storageMode" ScaleIOVolumeSourceFieldStoragePool = "storagePool" ScaleIOVolumeSourceFieldSystem = "system" ScaleIOVolumeSourceFieldVolumeName = "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" StorageClassFieldAnnotations = "annotations" StorageClassFieldCreated = "created" StorageClassFieldCreatorID = "creatorId" StorageClassFieldLabels = "labels" StorageClassFieldMountOptions = "mountOptions" StorageClassFieldName = "name" StorageClassFieldOwnerReferences = "ownerReferences" StorageClassFieldParameters = "parameters" StorageClassFieldProvisioner = "provisioner" StorageClassFieldReclaimPolicy = "reclaimPolicy" StorageClassFieldRemoved = "removed" StorageClassFieldUuid = "uuid" )
View Source
const ( StorageOSPersistentVolumeSourceType = "storageOSPersistentVolumeSource" StorageOSPersistentVolumeSourceFieldFSType = "fsType" StorageOSPersistentVolumeSourceFieldReadOnly = "readOnly" StorageOSPersistentVolumeSourceFieldSecretRef = "secretRef" StorageOSPersistentVolumeSourceFieldVolumeName = "volumeName" StorageOSPersistentVolumeSourceFieldVolumeNamespace = "volumeNamespace" )
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 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 CinderVolumeSource ¶
type Client ¶
type Client struct { clientbase.APIBaseClient Namespace NamespaceOperations PersistentVolume PersistentVolumeOperations StorageClass StorageClassOperations }
func NewClient ¶
func NewClient(opts *clientbase.ClientOpts) (*Client, error)
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 FlexVolumeSource ¶
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"` }
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 ISCSIVolumeSource ¶
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"` }
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 LocalObjectReference ¶
type LocalObjectReference struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
type LocalVolumeSource ¶
type LocalVolumeSource struct {
Path string `json:"path,omitempty" yaml:"path,omitempty"`
}
type NFSVolumeSource ¶
type Namespace ¶
type Namespace struct { types.Resource 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"` 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"` 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) 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 NamespaceOperations ¶
type NamespaceSpec ¶
type NamespaceSpec struct { }
type NamespaceStatus ¶
type NamespaceStatus struct {
Phase string `json:"phase,omitempty" yaml:"phase,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"` 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"` 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"` Created string `json:"created,omitempty" yaml:"created,omitempty"` CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,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"` Glusterfs *GlusterfsVolumeSource `json:"glusterfs,omitempty" yaml:"glusterfs,omitempty"` HostPath *HostPathVolumeSource `json:"hostPath,omitempty" yaml:"hostPath,omitempty"` ISCSI *ISCSIVolumeSource `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"` 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"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` ScaleIO *ScaleIOVolumeSource `json:"scaleIO,omitempty" yaml:"scaleIO,omitempty"` State string `json:"state,omitempty" yaml:"state,omitempty"` Status *PersistentVolumeStatus `json:"status,omitempty" yaml:"status,omitempty"` StorageClassName string `json:"storageClassName,omitempty" yaml:"storageClassName,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"` 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) 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) 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"` 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"` 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"` Local *LocalVolumeSource `json:"local,omitempty" yaml:"local,omitempty"` MountOptions []string `json:"mountOptions,omitempty" yaml:"mountOptions,omitempty"` NFS *NFSVolumeSource `json:"nfs,omitempty" yaml:"nfs,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"` StorageClassName string `json:"storageClassName,omitempty" yaml:"storageClassName,omitempty"` StorageOS *StorageOSPersistentVolumeSource `json:"storageos,omitempty" yaml:"storageos,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 RBDVolumeSource ¶
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"` }
type ScaleIOVolumeSource ¶
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"` }
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"` 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"` 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"` }
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) 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) 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 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_volume_source.go
- zz_generated_client.go
- zz_generated_fc_volume_source.go
- zz_generated_flex_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_volume_source.go
- zz_generated_list_meta.go
- zz_generated_local_object_reference.go
- zz_generated_local_volume_source.go
- zz_generated_namespace.go
- zz_generated_namespace_spec.go
- zz_generated_namespace_status.go
- zz_generated_nfs_volume_source.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_volume_source.go
- zz_generated_scale_iovolume_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_vsphere_virtual_disk_volume_source.go
Click to show internal directories.
Click to hide internal directories.