Documentation
¶
Index ¶
- Variables
- type CSIDriver
- func (*CSIDriver) Descriptor() ([]byte, []int)deprecated
- func (x *CSIDriver) GetMetadata() *v1.ObjectMeta
- func (x *CSIDriver) GetSpec() *CSIDriverSpec
- func (*CSIDriver) ProtoMessage()
- func (x *CSIDriver) ProtoReflect() protoreflect.Message
- func (x *CSIDriver) Reset()
- func (x *CSIDriver) String() string
- type CSIDriverList
- func (*CSIDriverList) Descriptor() ([]byte, []int)deprecated
- func (x *CSIDriverList) GetItems() []*CSIDriver
- func (x *CSIDriverList) GetMetadata() *v1.ListMeta
- func (*CSIDriverList) ProtoMessage()
- func (x *CSIDriverList) ProtoReflect() protoreflect.Message
- func (x *CSIDriverList) Reset()
- func (x *CSIDriverList) String() string
- type CSIDriverSpec
- func (*CSIDriverSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CSIDriverSpec) GetAttachRequired() bool
- func (x *CSIDriverSpec) GetFsGroupPolicy() string
- func (x *CSIDriverSpec) GetPodInfoOnMount() bool
- func (x *CSIDriverSpec) GetRequiresRepublish() bool
- func (x *CSIDriverSpec) GetStorageCapacity() bool
- func (x *CSIDriverSpec) GetTokenRequests() []*TokenRequest
- func (x *CSIDriverSpec) GetVolumeLifecycleModes() []string
- func (*CSIDriverSpec) ProtoMessage()
- func (x *CSIDriverSpec) ProtoReflect() protoreflect.Message
- func (x *CSIDriverSpec) Reset()
- func (x *CSIDriverSpec) String() string
- type CSINode
- type CSINodeDriver
- func (*CSINodeDriver) Descriptor() ([]byte, []int)deprecated
- func (x *CSINodeDriver) GetAllocatable() *VolumeNodeResources
- func (x *CSINodeDriver) GetName() string
- func (x *CSINodeDriver) GetNodeID() string
- func (x *CSINodeDriver) GetTopologyKeys() []string
- func (*CSINodeDriver) ProtoMessage()
- func (x *CSINodeDriver) ProtoReflect() protoreflect.Message
- func (x *CSINodeDriver) Reset()
- func (x *CSINodeDriver) String() string
- type CSINodeList
- func (*CSINodeList) Descriptor() ([]byte, []int)deprecated
- func (x *CSINodeList) GetItems() []*CSINode
- func (x *CSINodeList) GetMetadata() *v1.ListMeta
- func (*CSINodeList) ProtoMessage()
- func (x *CSINodeList) ProtoReflect() protoreflect.Message
- func (x *CSINodeList) Reset()
- func (x *CSINodeList) String() string
- type CSINodeSpec
- type StorageClass
- func (*StorageClass) Descriptor() ([]byte, []int)deprecated
- func (x *StorageClass) GetAllowVolumeExpansion() bool
- func (x *StorageClass) GetAllowedTopologies() []*v11.TopologySelectorTerm
- func (x *StorageClass) GetMetadata() *v1.ObjectMeta
- func (x *StorageClass) GetMountOptions() []string
- func (x *StorageClass) GetParameters() map[string]string
- func (x *StorageClass) GetProvisioner() string
- func (x *StorageClass) GetReclaimPolicy() string
- func (x *StorageClass) GetVolumeBindingMode() string
- func (*StorageClass) ProtoMessage()
- func (x *StorageClass) ProtoReflect() protoreflect.Message
- func (x *StorageClass) Reset()
- func (x *StorageClass) String() string
- type StorageClassList
- func (*StorageClassList) Descriptor() ([]byte, []int)deprecated
- func (x *StorageClassList) GetItems() []*StorageClass
- func (x *StorageClassList) GetMetadata() *v1.ListMeta
- func (*StorageClassList) ProtoMessage()
- func (x *StorageClassList) ProtoReflect() protoreflect.Message
- func (x *StorageClassList) Reset()
- func (x *StorageClassList) String() string
- type TokenRequest
- func (*TokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRequest) GetAudience() string
- func (x *TokenRequest) GetExpirationSeconds() int64
- func (*TokenRequest) ProtoMessage()
- func (x *TokenRequest) ProtoReflect() protoreflect.Message
- func (x *TokenRequest) Reset()
- func (x *TokenRequest) String() string
- type VolumeAttachment
- func (*VolumeAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeAttachment) GetMetadata() *v1.ObjectMeta
- func (x *VolumeAttachment) GetSpec() *VolumeAttachmentSpec
- func (x *VolumeAttachment) GetStatus() *VolumeAttachmentStatus
- func (*VolumeAttachment) ProtoMessage()
- func (x *VolumeAttachment) ProtoReflect() protoreflect.Message
- func (x *VolumeAttachment) Reset()
- func (x *VolumeAttachment) String() string
- type VolumeAttachmentList
- func (*VolumeAttachmentList) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeAttachmentList) GetItems() []*VolumeAttachment
- func (x *VolumeAttachmentList) GetMetadata() *v1.ListMeta
- func (*VolumeAttachmentList) ProtoMessage()
- func (x *VolumeAttachmentList) ProtoReflect() protoreflect.Message
- func (x *VolumeAttachmentList) Reset()
- func (x *VolumeAttachmentList) String() string
- type VolumeAttachmentSource
- func (*VolumeAttachmentSource) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeAttachmentSource) GetInlineVolumeSpec() *v11.PersistentVolumeSpec
- func (x *VolumeAttachmentSource) GetPersistentVolumeName() string
- func (*VolumeAttachmentSource) ProtoMessage()
- func (x *VolumeAttachmentSource) ProtoReflect() protoreflect.Message
- func (x *VolumeAttachmentSource) Reset()
- func (x *VolumeAttachmentSource) String() string
- type VolumeAttachmentSpec
- func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeAttachmentSpec) GetAttacher() string
- func (x *VolumeAttachmentSpec) GetNodeName() string
- func (x *VolumeAttachmentSpec) GetSource() *VolumeAttachmentSource
- func (*VolumeAttachmentSpec) ProtoMessage()
- func (x *VolumeAttachmentSpec) ProtoReflect() protoreflect.Message
- func (x *VolumeAttachmentSpec) Reset()
- func (x *VolumeAttachmentSpec) String() string
- type VolumeAttachmentStatus
- func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeAttachmentStatus) GetAttachError() *VolumeError
- func (x *VolumeAttachmentStatus) GetAttached() bool
- func (x *VolumeAttachmentStatus) GetAttachmentMetadata() map[string]string
- func (x *VolumeAttachmentStatus) GetDetachError() *VolumeError
- func (*VolumeAttachmentStatus) ProtoMessage()
- func (x *VolumeAttachmentStatus) ProtoReflect() protoreflect.Message
- func (x *VolumeAttachmentStatus) Reset()
- func (x *VolumeAttachmentStatus) String() string
- type VolumeError
- func (*VolumeError) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeError) GetMessage() string
- func (x *VolumeError) GetTime() *v1.Time
- func (*VolumeError) ProtoMessage()
- func (x *VolumeError) ProtoReflect() protoreflect.Message
- func (x *VolumeError) Reset()
- func (x *VolumeError) String() string
- type VolumeNodeResources
- func (*VolumeNodeResources) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeNodeResources) GetCount() int32
- func (*VolumeNodeResources) ProtoMessage()
- func (x *VolumeNodeResources) ProtoReflect() protoreflect.Message
- func (x *VolumeNodeResources) Reset()
- func (x *VolumeNodeResources) String() string
Constants ¶
This section is empty.
Variables ¶
var File_k8s_io_api_storage_v1beta1_generated_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSIDriver ¶ added in v1.2.4
type CSIDriver struct { // Standard object metadata. // metadata.Name indicates the name of the CSI driver that this object // refers to; it MUST be the same name returned by the CSI GetPluginName() // call for that driver. // The driver name must be 63 characters or less, beginning and ending with // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and // alphanumerics between. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Specification of the CSI Driver. Spec *CSIDriverSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // contains filtered or unexported fields }
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
func (*CSIDriver) Descriptor
deprecated
added in
v1.2.4
func (*CSIDriver) GetMetadata ¶ added in v1.2.4
func (x *CSIDriver) GetMetadata() *v1.ObjectMeta
func (*CSIDriver) GetSpec ¶ added in v1.2.4
func (x *CSIDriver) GetSpec() *CSIDriverSpec
func (*CSIDriver) ProtoMessage ¶ added in v1.2.4
func (*CSIDriver) ProtoMessage()
func (*CSIDriver) ProtoReflect ¶ added in v1.2.4
func (x *CSIDriver) ProtoReflect() protoreflect.Message
type CSIDriverList ¶ added in v1.2.4
type CSIDriverList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // items is the list of CSIDriver Items []*CSIDriver `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
CSIDriverList is a collection of CSIDriver objects.
func (*CSIDriverList) Descriptor
deprecated
added in
v1.2.4
func (*CSIDriverList) Descriptor() ([]byte, []int)
Deprecated: Use CSIDriverList.ProtoReflect.Descriptor instead.
func (*CSIDriverList) GetItems ¶ added in v1.2.4
func (x *CSIDriverList) GetItems() []*CSIDriver
func (*CSIDriverList) GetMetadata ¶ added in v1.2.4
func (x *CSIDriverList) GetMetadata() *v1.ListMeta
func (*CSIDriverList) ProtoMessage ¶ added in v1.2.4
func (*CSIDriverList) ProtoMessage()
func (*CSIDriverList) ProtoReflect ¶ added in v1.2.4
func (x *CSIDriverList) ProtoReflect() protoreflect.Message
func (*CSIDriverList) Reset ¶ added in v1.2.4
func (x *CSIDriverList) Reset()
func (*CSIDriverList) String ¶ added in v1.2.4
func (x *CSIDriverList) String() string
type CSIDriverSpec ¶ added in v1.2.4
type CSIDriverSpec struct { // attachRequired indicates this CSI volume driver requires an attach // operation (because it implements the CSI ControllerPublishVolume() // method), and that the Kubernetes attach detach controller should call // the attach volume interface which checks the volumeattachment status // and waits until the volume is attached before proceeding to mounting. // The CSI external-attacher coordinates with CSI volume driver and updates // the volumeattachment status when the attach operation is complete. // If the CSIDriverRegistry feature gate is enabled and the value is // specified to false, the attach operation will be skipped. // Otherwise the attach operation will be called. // +optional AttachRequired *bool `protobuf:"varint,1,opt,name=attachRequired" json:"attachRequired,omitempty"` // If set to true, podInfoOnMount indicates this CSI volume driver // requires additional pod information (like podName, podUID, etc.) during // mount operations. // If set to false, pod information will not be passed on mount. // Default is false. // The CSI driver specifies podInfoOnMount as part of driver deployment. // If true, Kubelet will pass pod information as VolumeContext in the CSI // NodePublishVolume() calls. // The CSI driver is responsible for parsing and validating the information // passed in as VolumeContext. // The following VolumeConext will be passed if podInfoOnMount is set to true. // This list might grow, but the prefix will be used. // "csi.storage.k8s.io/pod.name": pod.Name // "csi.storage.k8s.io/pod.namespace": pod.Namespace // "csi.storage.k8s.io/pod.uid": string(pod.UID) // "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume // defined by a CSIVolumeSource, otherwise "false" // // "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only // required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. // Other drivers can leave pod info disabled and/or ignore this field. // As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when // deployed on such a cluster and the deployment determines which mode that is, for example // via a command line parameter of the driver. // +optional PodInfoOnMount *bool `protobuf:"varint,2,opt,name=podInfoOnMount" json:"podInfoOnMount,omitempty"` // VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. // The default if the list is empty is "Persistent", which is the usage // defined by the CSI specification and implemented in Kubernetes via the usual // PV/PVC mechanism. // The other mode is "Ephemeral". In this mode, volumes are defined inline // inside the pod spec with CSIVolumeSource and their lifecycle is tied to // the lifecycle of that pod. A driver has to be aware of this // because it is only going to get a NodePublishVolume call for such a volume. // For more information about implementing this mode, see // https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html // A driver can support one or more of these modes and // more modes may be added in the future. // +optional VolumeLifecycleModes []string `protobuf:"bytes,3,rep,name=volumeLifecycleModes" json:"volumeLifecycleModes,omitempty"` // If set to true, storageCapacity indicates that the CSI // volume driver wants pod scheduling to consider the storage // capacity that the driver deployment will report by creating // CSIStorageCapacity objects with capacity information. // // The check can be enabled immediately when deploying a driver. // In that case, provisioning new volumes with late binding // will pause until the driver deployment has published // some suitable CSIStorageCapacity object. // // Alternatively, the driver can be deployed with the field // unset or false and it can be flipped later when storage // capacity information has been published. // // This is an alpha field and only available when the CSIStorageCapacity // feature is enabled. The default is false. // // +optional StorageCapacity *bool `protobuf:"varint,4,opt,name=storageCapacity" json:"storageCapacity,omitempty"` // Defines if the underlying volume supports changing ownership and // permission of the volume before being mounted. // Refer to the specific FSGroupPolicy values for additional details. // This field is alpha-level, and is only honored by servers // that enable the CSIVolumeFSGroupPolicy feature gate. // +optional FsGroupPolicy *string `protobuf:"bytes,5,opt,name=fsGroupPolicy" json:"fsGroupPolicy,omitempty"` // TokenRequests indicates the CSI driver needs pods' service account // tokens it is mounting volume for to do necessary authentication. Kubelet // will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. // The CSI driver should parse and validate the following VolumeContext: // "csi.storage.k8s.io/serviceAccount.tokens": { // "<audience>": { // "token": <token>, // "expirationTimestamp": <expiration timestamp in RFC3339>, // }, // ... // } // // Note: Audience in each TokenRequest should be different and at // most one token is empty string. To receive a new token after expiry, // RequiresRepublish can be used to trigger NodePublishVolume periodically. // // This is an alpha feature and only available when the // CSIServiceAccountToken feature is enabled. // // +optional // +listType=atomic TokenRequests []*TokenRequest `protobuf:"bytes,6,rep,name=tokenRequests" json:"tokenRequests,omitempty"` // RequiresRepublish indicates the CSI driver wants `NodePublishVolume` // being periodically called to reflect any possible change in the mounted // volume. This field defaults to false. // // Note: After a successful initial NodePublishVolume call, subsequent calls // to NodePublishVolume should only update the contents of the volume. New // mount points will not be seen by a running container. // // This is an alpha feature and only available when the // CSIServiceAccountToken feature is enabled. // // +optional RequiresRepublish *bool `protobuf:"varint,7,opt,name=requiresRepublish" json:"requiresRepublish,omitempty"` // contains filtered or unexported fields }
CSIDriverSpec is the specification of a CSIDriver.
func (*CSIDriverSpec) Descriptor
deprecated
added in
v1.2.4
func (*CSIDriverSpec) Descriptor() ([]byte, []int)
Deprecated: Use CSIDriverSpec.ProtoReflect.Descriptor instead.
func (*CSIDriverSpec) GetAttachRequired ¶ added in v1.2.4
func (x *CSIDriverSpec) GetAttachRequired() bool
func (*CSIDriverSpec) GetFsGroupPolicy ¶ added in v1.2.4
func (x *CSIDriverSpec) GetFsGroupPolicy() string
func (*CSIDriverSpec) GetPodInfoOnMount ¶ added in v1.2.4
func (x *CSIDriverSpec) GetPodInfoOnMount() bool
func (*CSIDriverSpec) GetRequiresRepublish ¶ added in v1.2.4
func (x *CSIDriverSpec) GetRequiresRepublish() bool
func (*CSIDriverSpec) GetStorageCapacity ¶ added in v1.2.4
func (x *CSIDriverSpec) GetStorageCapacity() bool
func (*CSIDriverSpec) GetTokenRequests ¶ added in v1.2.4
func (x *CSIDriverSpec) GetTokenRequests() []*TokenRequest
func (*CSIDriverSpec) GetVolumeLifecycleModes ¶ added in v1.2.4
func (x *CSIDriverSpec) GetVolumeLifecycleModes() []string
func (*CSIDriverSpec) ProtoMessage ¶ added in v1.2.4
func (*CSIDriverSpec) ProtoMessage()
func (*CSIDriverSpec) ProtoReflect ¶ added in v1.2.4
func (x *CSIDriverSpec) ProtoReflect() protoreflect.Message
func (*CSIDriverSpec) Reset ¶ added in v1.2.4
func (x *CSIDriverSpec) Reset()
func (*CSIDriverSpec) String ¶ added in v1.2.4
func (x *CSIDriverSpec) String() string
type CSINode ¶ added in v1.2.4
type CSINode struct { // metadata.name must be the Kubernetes node name. Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // spec is the specification of CSINode Spec *CSINodeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // contains filtered or unexported fields }
DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
func (*CSINode) Descriptor
deprecated
added in
v1.2.4
func (*CSINode) GetMetadata ¶ added in v1.2.4
func (x *CSINode) GetMetadata() *v1.ObjectMeta
func (*CSINode) GetSpec ¶ added in v1.2.4
func (x *CSINode) GetSpec() *CSINodeSpec
func (*CSINode) ProtoMessage ¶ added in v1.2.4
func (*CSINode) ProtoMessage()
func (*CSINode) ProtoReflect ¶ added in v1.2.4
func (x *CSINode) ProtoReflect() protoreflect.Message
type CSINodeDriver ¶ added in v1.2.4
type CSINodeDriver struct { // This is the name of the CSI driver that this object refers to. // This MUST be the same name returned by the CSI GetPluginName() call for // that driver. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // nodeID of the node from the driver point of view. // This field enables Kubernetes to communicate with storage systems that do // not share the same nomenclature for nodes. For example, Kubernetes may // refer to a given node as "node1", but the storage system may refer to // the same node as "nodeA". When Kubernetes issues a command to the storage // system to attach a volume to a specific node, it can use this field to // refer to the node name using the ID that the storage system will // understand, e.g. "nodeA" instead of "node1". This field is required. NodeID *string `protobuf:"bytes,2,opt,name=nodeID" json:"nodeID,omitempty"` // topologyKeys is the list of keys supported by the driver. // When a driver is initialized on a cluster, it provides a set of topology // keys that it understands (e.g. "company.com/zone", "company.com/region"). // When a driver is initialized on a node, it provides the same topology keys // along with values. Kubelet will expose these topology keys as labels // on its own node object. // When Kubernetes does topology aware provisioning, it can use this list to // determine which labels it should retrieve from the node object and pass // back to the driver. // It is possible for different nodes to use different topology keys. // This can be empty if driver does not support topology. // +optional TopologyKeys []string `protobuf:"bytes,3,rep,name=topologyKeys" json:"topologyKeys,omitempty"` // allocatable represents the volume resources of a node that are available for scheduling. // +optional Allocatable *VolumeNodeResources `protobuf:"bytes,4,opt,name=allocatable" json:"allocatable,omitempty"` // contains filtered or unexported fields }
CSINodeDriver holds information about the specification of one CSI driver installed on a node
func (*CSINodeDriver) Descriptor
deprecated
added in
v1.2.4
func (*CSINodeDriver) Descriptor() ([]byte, []int)
Deprecated: Use CSINodeDriver.ProtoReflect.Descriptor instead.
func (*CSINodeDriver) GetAllocatable ¶ added in v1.2.4
func (x *CSINodeDriver) GetAllocatable() *VolumeNodeResources
func (*CSINodeDriver) GetName ¶ added in v1.2.4
func (x *CSINodeDriver) GetName() string
func (*CSINodeDriver) GetNodeID ¶ added in v1.2.4
func (x *CSINodeDriver) GetNodeID() string
func (*CSINodeDriver) GetTopologyKeys ¶ added in v1.2.4
func (x *CSINodeDriver) GetTopologyKeys() []string
func (*CSINodeDriver) ProtoMessage ¶ added in v1.2.4
func (*CSINodeDriver) ProtoMessage()
func (*CSINodeDriver) ProtoReflect ¶ added in v1.2.4
func (x *CSINodeDriver) ProtoReflect() protoreflect.Message
func (*CSINodeDriver) Reset ¶ added in v1.2.4
func (x *CSINodeDriver) Reset()
func (*CSINodeDriver) String ¶ added in v1.2.4
func (x *CSINodeDriver) String() string
type CSINodeList ¶ added in v1.2.4
type CSINodeList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // items is the list of CSINode Items []*CSINode `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
CSINodeList is a collection of CSINode objects.
func (*CSINodeList) Descriptor
deprecated
added in
v1.2.4
func (*CSINodeList) Descriptor() ([]byte, []int)
Deprecated: Use CSINodeList.ProtoReflect.Descriptor instead.
func (*CSINodeList) GetItems ¶ added in v1.2.4
func (x *CSINodeList) GetItems() []*CSINode
func (*CSINodeList) GetMetadata ¶ added in v1.2.4
func (x *CSINodeList) GetMetadata() *v1.ListMeta
func (*CSINodeList) ProtoMessage ¶ added in v1.2.4
func (*CSINodeList) ProtoMessage()
func (*CSINodeList) ProtoReflect ¶ added in v1.2.4
func (x *CSINodeList) ProtoReflect() protoreflect.Message
func (*CSINodeList) Reset ¶ added in v1.2.4
func (x *CSINodeList) Reset()
func (*CSINodeList) String ¶ added in v1.2.4
func (x *CSINodeList) String() string
type CSINodeSpec ¶ added in v1.2.4
type CSINodeSpec struct { // drivers is a list of information of all CSI Drivers existing on a node. // If all drivers in the list are uninstalled, this can become empty. // +patchMergeKey=name // +patchStrategy=merge Drivers []*CSINodeDriver `protobuf:"bytes,1,rep,name=drivers" json:"drivers,omitempty"` // contains filtered or unexported fields }
CSINodeSpec holds information about the specification of all CSI drivers installed on a node
func (*CSINodeSpec) Descriptor
deprecated
added in
v1.2.4
func (*CSINodeSpec) Descriptor() ([]byte, []int)
Deprecated: Use CSINodeSpec.ProtoReflect.Descriptor instead.
func (*CSINodeSpec) GetDrivers ¶ added in v1.2.4
func (x *CSINodeSpec) GetDrivers() []*CSINodeDriver
func (*CSINodeSpec) ProtoMessage ¶ added in v1.2.4
func (*CSINodeSpec) ProtoMessage()
func (*CSINodeSpec) ProtoReflect ¶ added in v1.2.4
func (x *CSINodeSpec) ProtoReflect() protoreflect.Message
func (*CSINodeSpec) Reset ¶ added in v1.2.4
func (x *CSINodeSpec) Reset()
func (*CSINodeSpec) String ¶ added in v1.2.4
func (x *CSINodeSpec) String() string
type StorageClass ¶
type StorageClass struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Provisioner indicates the type of the provisioner. Provisioner *string `protobuf:"bytes,2,opt,name=provisioner" json:"provisioner,omitempty"` // Parameters holds the parameters for the provisioner that should // create volumes of this storage class. // +optional Parameters map[string]string `` /* 140-byte string literal not displayed */ // Dynamically provisioned PersistentVolumes of this storage class are // created with this reclaimPolicy. Defaults to Delete. // +optional ReclaimPolicy *string `protobuf:"bytes,4,opt,name=reclaimPolicy" json:"reclaimPolicy,omitempty"` // Dynamically provisioned PersistentVolumes of this storage class are // created with these mountOptions, e.g. ["ro", "soft"]. Not validated - // mount of the PVs will simply fail if one is invalid. // +optional MountOptions []string `protobuf:"bytes,5,rep,name=mountOptions" json:"mountOptions,omitempty"` // AllowVolumeExpansion shows whether the storage class allow volume expand // +optional AllowVolumeExpansion *bool `protobuf:"varint,6,opt,name=allowVolumeExpansion" json:"allowVolumeExpansion,omitempty"` // VolumeBindingMode indicates how PersistentVolumeClaims should be // provisioned and bound. When unset, VolumeBindingImmediate is used. // This field is only honored by servers that enable the VolumeScheduling feature. // +optional VolumeBindingMode *string `protobuf:"bytes,7,opt,name=volumeBindingMode" json:"volumeBindingMode,omitempty"` // Restrict the node topologies where volumes can be dynamically provisioned. // Each volume plugin defines its own supported topology specifications. // An empty TopologySelectorTerm list means there is no topology restriction. // This field is only honored by servers that enable the VolumeScheduling feature. // +optional AllowedTopologies []*v11.TopologySelectorTerm `protobuf:"bytes,8,rep,name=allowedTopologies" json:"allowedTopologies,omitempty"` // contains filtered or unexported fields }
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
func (*StorageClass) Descriptor
deprecated
func (*StorageClass) Descriptor() ([]byte, []int)
Deprecated: Use StorageClass.ProtoReflect.Descriptor instead.
func (*StorageClass) GetAllowVolumeExpansion ¶ added in v1.0.0
func (x *StorageClass) GetAllowVolumeExpansion() bool
func (*StorageClass) GetAllowedTopologies ¶ added in v1.2.4
func (x *StorageClass) GetAllowedTopologies() []*v11.TopologySelectorTerm
func (*StorageClass) GetMetadata ¶
func (x *StorageClass) GetMetadata() *v1.ObjectMeta
func (*StorageClass) GetMountOptions ¶ added in v1.0.0
func (x *StorageClass) GetMountOptions() []string
func (*StorageClass) GetParameters ¶
func (x *StorageClass) GetParameters() map[string]string
func (*StorageClass) GetProvisioner ¶
func (x *StorageClass) GetProvisioner() string
func (*StorageClass) GetReclaimPolicy ¶ added in v1.0.0
func (x *StorageClass) GetReclaimPolicy() string
func (*StorageClass) GetVolumeBindingMode ¶ added in v1.0.0
func (x *StorageClass) GetVolumeBindingMode() string
func (*StorageClass) ProtoMessage ¶
func (*StorageClass) ProtoMessage()
func (*StorageClass) ProtoReflect ¶ added in v1.2.4
func (x *StorageClass) ProtoReflect() protoreflect.Message
func (*StorageClass) Reset ¶
func (x *StorageClass) Reset()
func (*StorageClass) String ¶
func (x *StorageClass) String() string
type StorageClassList ¶
type StorageClassList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Items is the list of StorageClasses Items []*StorageClass `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
StorageClassList is a collection of storage classes.
func (*StorageClassList) Descriptor
deprecated
func (*StorageClassList) Descriptor() ([]byte, []int)
Deprecated: Use StorageClassList.ProtoReflect.Descriptor instead.
func (*StorageClassList) GetItems ¶
func (x *StorageClassList) GetItems() []*StorageClass
func (*StorageClassList) GetMetadata ¶
func (x *StorageClassList) GetMetadata() *v1.ListMeta
func (*StorageClassList) ProtoMessage ¶
func (*StorageClassList) ProtoMessage()
func (*StorageClassList) ProtoReflect ¶ added in v1.2.4
func (x *StorageClassList) ProtoReflect() protoreflect.Message
func (*StorageClassList) Reset ¶
func (x *StorageClassList) Reset()
func (*StorageClassList) String ¶
func (x *StorageClassList) String() string
type TokenRequest ¶ added in v1.2.4
type TokenRequest struct { // Audience is the intended audience of the token in "TokenRequestSpec". // It will default to the audiences of kube apiserver. Audience *string `protobuf:"bytes,1,opt,name=audience" json:"audience,omitempty"` // ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". // It has the same default value of "ExpirationSeconds" in "TokenRequestSpec" // // +optional ExpirationSeconds *int64 `protobuf:"varint,2,opt,name=expirationSeconds" json:"expirationSeconds,omitempty"` // contains filtered or unexported fields }
TokenRequest contains parameters of a service account token.
func (*TokenRequest) Descriptor
deprecated
added in
v1.2.4
func (*TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
func (*TokenRequest) GetAudience ¶ added in v1.2.4
func (x *TokenRequest) GetAudience() string
func (*TokenRequest) GetExpirationSeconds ¶ added in v1.2.4
func (x *TokenRequest) GetExpirationSeconds() int64
func (*TokenRequest) ProtoMessage ¶ added in v1.2.4
func (*TokenRequest) ProtoMessage()
func (*TokenRequest) ProtoReflect ¶ added in v1.2.4
func (x *TokenRequest) ProtoReflect() protoreflect.Message
func (*TokenRequest) Reset ¶ added in v1.2.4
func (x *TokenRequest) Reset()
func (*TokenRequest) String ¶ added in v1.2.4
func (x *TokenRequest) String() string
type VolumeAttachment ¶ added in v1.1.0
type VolumeAttachment struct { // Standard object metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Specification of the desired attach/detach volume behavior. // Populated by the Kubernetes system. Spec *VolumeAttachmentSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // Status of the VolumeAttachment request. // Populated by the entity completing the attach or detach // operation, i.e. the external-attacher. // +optional Status *VolumeAttachmentStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.
VolumeAttachment objects are non-namespaced.
func (*VolumeAttachment) Descriptor
deprecated
added in
v1.1.0
func (*VolumeAttachment) Descriptor() ([]byte, []int)
Deprecated: Use VolumeAttachment.ProtoReflect.Descriptor instead.
func (*VolumeAttachment) GetMetadata ¶ added in v1.1.0
func (x *VolumeAttachment) GetMetadata() *v1.ObjectMeta
func (*VolumeAttachment) GetSpec ¶ added in v1.1.0
func (x *VolumeAttachment) GetSpec() *VolumeAttachmentSpec
func (*VolumeAttachment) GetStatus ¶ added in v1.1.0
func (x *VolumeAttachment) GetStatus() *VolumeAttachmentStatus
func (*VolumeAttachment) ProtoMessage ¶ added in v1.1.0
func (*VolumeAttachment) ProtoMessage()
func (*VolumeAttachment) ProtoReflect ¶ added in v1.2.4
func (x *VolumeAttachment) ProtoReflect() protoreflect.Message
func (*VolumeAttachment) Reset ¶ added in v1.1.0
func (x *VolumeAttachment) Reset()
func (*VolumeAttachment) String ¶ added in v1.1.0
func (x *VolumeAttachment) String() string
type VolumeAttachmentList ¶ added in v1.1.0
type VolumeAttachmentList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Items is the list of VolumeAttachments Items []*VolumeAttachment `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
VolumeAttachmentList is a collection of VolumeAttachment objects.
func (*VolumeAttachmentList) Descriptor
deprecated
added in
v1.1.0
func (*VolumeAttachmentList) Descriptor() ([]byte, []int)
Deprecated: Use VolumeAttachmentList.ProtoReflect.Descriptor instead.
func (*VolumeAttachmentList) GetItems ¶ added in v1.1.0
func (x *VolumeAttachmentList) GetItems() []*VolumeAttachment
func (*VolumeAttachmentList) GetMetadata ¶ added in v1.1.0
func (x *VolumeAttachmentList) GetMetadata() *v1.ListMeta
func (*VolumeAttachmentList) ProtoMessage ¶ added in v1.1.0
func (*VolumeAttachmentList) ProtoMessage()
func (*VolumeAttachmentList) ProtoReflect ¶ added in v1.2.4
func (x *VolumeAttachmentList) ProtoReflect() protoreflect.Message
func (*VolumeAttachmentList) Reset ¶ added in v1.1.0
func (x *VolumeAttachmentList) Reset()
func (*VolumeAttachmentList) String ¶ added in v1.1.0
func (x *VolumeAttachmentList) String() string
type VolumeAttachmentSource ¶ added in v1.1.0
type VolumeAttachmentSource struct { // Name of the persistent volume to attach. // +optional PersistentVolumeName *string `protobuf:"bytes,1,opt,name=persistentVolumeName" json:"persistentVolumeName,omitempty"` // inlineVolumeSpec contains all the information necessary to attach // a persistent volume defined by a pod's inline VolumeSource. This field // is populated only for the CSIMigration feature. It contains // translated fields from a pod's inline VolumeSource to a // PersistentVolumeSpec. This field is alpha-level and is only // honored by servers that enabled the CSIMigration feature. // +optional InlineVolumeSpec *v11.PersistentVolumeSpec `protobuf:"bytes,2,opt,name=inlineVolumeSpec" json:"inlineVolumeSpec,omitempty"` // contains filtered or unexported fields }
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
func (*VolumeAttachmentSource) Descriptor
deprecated
added in
v1.1.0
func (*VolumeAttachmentSource) Descriptor() ([]byte, []int)
Deprecated: Use VolumeAttachmentSource.ProtoReflect.Descriptor instead.
func (*VolumeAttachmentSource) GetInlineVolumeSpec ¶ added in v1.2.4
func (x *VolumeAttachmentSource) GetInlineVolumeSpec() *v11.PersistentVolumeSpec
func (*VolumeAttachmentSource) GetPersistentVolumeName ¶ added in v1.1.0
func (x *VolumeAttachmentSource) GetPersistentVolumeName() string
func (*VolumeAttachmentSource) ProtoMessage ¶ added in v1.1.0
func (*VolumeAttachmentSource) ProtoMessage()
func (*VolumeAttachmentSource) ProtoReflect ¶ added in v1.2.4
func (x *VolumeAttachmentSource) ProtoReflect() protoreflect.Message
func (*VolumeAttachmentSource) Reset ¶ added in v1.1.0
func (x *VolumeAttachmentSource) Reset()
func (*VolumeAttachmentSource) String ¶ added in v1.1.0
func (x *VolumeAttachmentSource) String() string
type VolumeAttachmentSpec ¶ added in v1.1.0
type VolumeAttachmentSpec struct { // Attacher indicates the name of the volume driver that MUST handle this // request. This is the name returned by GetPluginName(). Attacher *string `protobuf:"bytes,1,opt,name=attacher" json:"attacher,omitempty"` // Source represents the volume that should be attached. Source *VolumeAttachmentSource `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"` // The node that the volume should be attached to. NodeName *string `protobuf:"bytes,3,opt,name=nodeName" json:"nodeName,omitempty"` // contains filtered or unexported fields }
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
func (*VolumeAttachmentSpec) Descriptor
deprecated
added in
v1.1.0
func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int)
Deprecated: Use VolumeAttachmentSpec.ProtoReflect.Descriptor instead.
func (*VolumeAttachmentSpec) GetAttacher ¶ added in v1.1.0
func (x *VolumeAttachmentSpec) GetAttacher() string
func (*VolumeAttachmentSpec) GetNodeName ¶ added in v1.1.0
func (x *VolumeAttachmentSpec) GetNodeName() string
func (*VolumeAttachmentSpec) GetSource ¶ added in v1.1.0
func (x *VolumeAttachmentSpec) GetSource() *VolumeAttachmentSource
func (*VolumeAttachmentSpec) ProtoMessage ¶ added in v1.1.0
func (*VolumeAttachmentSpec) ProtoMessage()
func (*VolumeAttachmentSpec) ProtoReflect ¶ added in v1.2.4
func (x *VolumeAttachmentSpec) ProtoReflect() protoreflect.Message
func (*VolumeAttachmentSpec) Reset ¶ added in v1.1.0
func (x *VolumeAttachmentSpec) Reset()
func (*VolumeAttachmentSpec) String ¶ added in v1.1.0
func (x *VolumeAttachmentSpec) String() string
type VolumeAttachmentStatus ¶ added in v1.1.0
type VolumeAttachmentStatus struct { // Indicates the volume is successfully attached. // This field must only be set by the entity completing the attach // operation, i.e. the external-attacher. Attached *bool `protobuf:"varint,1,opt,name=attached" json:"attached,omitempty"` // Upon successful attach, this field is populated with any // information returned by the attach operation that must be passed // into subsequent WaitForAttach or Mount calls. // This field must only be set by the entity completing the attach // operation, i.e. the external-attacher. // +optional AttachmentMetadata map[string]string `` /* 156-byte string literal not displayed */ // The last error encountered during attach operation, if any. // This field must only be set by the entity completing the attach // operation, i.e. the external-attacher. // +optional AttachError *VolumeError `protobuf:"bytes,3,opt,name=attachError" json:"attachError,omitempty"` // The last error encountered during detach operation, if any. // This field must only be set by the entity completing the detach // operation, i.e. the external-attacher. // +optional DetachError *VolumeError `protobuf:"bytes,4,opt,name=detachError" json:"detachError,omitempty"` // contains filtered or unexported fields }
VolumeAttachmentStatus is the status of a VolumeAttachment request.
func (*VolumeAttachmentStatus) Descriptor
deprecated
added in
v1.1.0
func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int)
Deprecated: Use VolumeAttachmentStatus.ProtoReflect.Descriptor instead.
func (*VolumeAttachmentStatus) GetAttachError ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) GetAttachError() *VolumeError
func (*VolumeAttachmentStatus) GetAttached ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) GetAttached() bool
func (*VolumeAttachmentStatus) GetAttachmentMetadata ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) GetAttachmentMetadata() map[string]string
func (*VolumeAttachmentStatus) GetDetachError ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) GetDetachError() *VolumeError
func (*VolumeAttachmentStatus) ProtoMessage ¶ added in v1.1.0
func (*VolumeAttachmentStatus) ProtoMessage()
func (*VolumeAttachmentStatus) ProtoReflect ¶ added in v1.2.4
func (x *VolumeAttachmentStatus) ProtoReflect() protoreflect.Message
func (*VolumeAttachmentStatus) Reset ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) Reset()
func (*VolumeAttachmentStatus) String ¶ added in v1.1.0
func (x *VolumeAttachmentStatus) String() string
type VolumeError ¶ added in v1.1.0
type VolumeError struct { // Time the error was encountered. // +optional Time *v1.Time `protobuf:"bytes,1,opt,name=time" json:"time,omitempty"` // String detailing the error encountered during Attach or Detach operation. // This string may be logged, so it should not contain sensitive // information. // +optional Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` // contains filtered or unexported fields }
VolumeError captures an error encountered during a volume operation.
func (*VolumeError) Descriptor
deprecated
added in
v1.1.0
func (*VolumeError) Descriptor() ([]byte, []int)
Deprecated: Use VolumeError.ProtoReflect.Descriptor instead.
func (*VolumeError) GetMessage ¶ added in v1.1.0
func (x *VolumeError) GetMessage() string
func (*VolumeError) GetTime ¶ added in v1.1.0
func (x *VolumeError) GetTime() *v1.Time
func (*VolumeError) ProtoMessage ¶ added in v1.1.0
func (*VolumeError) ProtoMessage()
func (*VolumeError) ProtoReflect ¶ added in v1.2.4
func (x *VolumeError) ProtoReflect() protoreflect.Message
func (*VolumeError) Reset ¶ added in v1.1.0
func (x *VolumeError) Reset()
func (*VolumeError) String ¶ added in v1.1.0
func (x *VolumeError) String() string
type VolumeNodeResources ¶ added in v1.2.4
type VolumeNodeResources struct { // Maximum number of unique volumes managed by the CSI driver that can be used on a node. // A volume that is both attached and mounted on a node is considered to be used once, not twice. // The same rule applies for a unique volume that is shared among multiple pods on the same node. // If this field is nil, then the supported number of volumes on this node is unbounded. // +optional Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` // contains filtered or unexported fields }
VolumeNodeResources is a set of resource limits for scheduling of volumes.
func (*VolumeNodeResources) Descriptor
deprecated
added in
v1.2.4
func (*VolumeNodeResources) Descriptor() ([]byte, []int)
Deprecated: Use VolumeNodeResources.ProtoReflect.Descriptor instead.
func (*VolumeNodeResources) GetCount ¶ added in v1.2.4
func (x *VolumeNodeResources) GetCount() int32
func (*VolumeNodeResources) ProtoMessage ¶ added in v1.2.4
func (*VolumeNodeResources) ProtoMessage()
func (*VolumeNodeResources) ProtoReflect ¶ added in v1.2.4
func (x *VolumeNodeResources) ProtoReflect() protoreflect.Message
func (*VolumeNodeResources) Reset ¶ added in v1.2.4
func (x *VolumeNodeResources) Reset()
func (*VolumeNodeResources) String ¶ added in v1.2.4
func (x *VolumeNodeResources) String() string