package
2.1.0+incompatible
Repository: https://github.com/openebs/node-disk-manager.git
Documentation: pkg.go.dev

# Constants

BlockDeviceActive is the state for a block device that is connected to the node.
BlockDeviceClaimed represents that the block device is bound to a BDC.
BlockDeviceClaimStatusDone represents BlockDeviceClaim has been assigned backing blockdevice and ready for use.
BlockDeviceClaimStatusEmpty represents that the BlockDeviceClaim was just created.
BlockDeviceClaimStatusInvalidCapacity represents BlockDeviceClaim has invalid capacity request i.e.
BlockDeviceClaimStatusPending represents BlockDeviceClaim has not been assigned devices yet.
BlockDeviceInactive is the state for a block device that is disconnected from a node.
BlockDeviceReleased represents that the block device is released from the BDC, pending cleanup jobs.
BlockDeviceUnclaimed represents that the block device is not bound to any BDC, all cleanup jobs have been completed and is available for claiming.
BlockDeviceUnknown is the state for a block device whose state (attached/detached) cannot be determined at this time.
ResourceStorage defines the storage required as v1.Quantity.
VolumeModeBlock specifies that the block device needs to be used as a raw block.
VolumeModeFileSystem specifies that block device will be used with a filesystem already existing.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
BlockDeviceClaimResourceKind is the kind of block device claim CRD.
BlockDeviceClaimResourceListKind is the list kind for block device claim.
BlockDeviceClaimResourceName is the name of the block device claim resource.
BlockDeviceClaimResourcePlural is the plural form used for block device claim.
BlockDeviceClaimResourceShort is the short name used for block device claim CRD.
BlockDeviceResourceKind is the kind of block device CRD.
BlockDeviceResourceListKind is the list kind for block device.
BlockDeviceResourceName is the name of the block device resource.
BlockDeviceResourcePlural is the plural form used for block device.
BlockDeviceResourceShort is the short name used for block device CRD.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

BlockDevice is the Schema for the blockdevices API +kubebuilder:printcolumn:name="NodeName",type="string",JSONPath=`.spec.nodeAttributes.nodeName` +kubebuilder:printcolumn:name="Path",type="string",JSONPath=`.spec.path`,priority=1 +kubebuilder:printcolumn:name="FSType",type="string",JSONPath=`.spec.filesystem.fsType`,priority=1 +kubebuilder:printcolumn:name="Size",type="string",JSONPath=`.spec.capacity.storage` +kubebuilder:printcolumn:name="ClaimState",type="string",JSONPath=`.status.claimState` +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`.
BlockDeviceClaim is the Schema for the blockdeviceclaims API+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced,shortName=bdc +kubebuilder:printcolumn:name="BlockDeviceName",type="string",JSONPath=`.spec.blockDeviceName` +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`.
BlockDeviceClaimList contains a list of BlockDeviceClaim.
BlockDeviceList contains a list of BlockDevice.
BlockDeviceNodeAttributes contains the attributes of the node from which the BD should be selected for claiming.
DeviceCapacity defines the physical and logical size of the block device.
DeviceClaimDetails defines the details of the block device that should be claimed.
DeviceClaimResources defines the request by the claim, eg, Capacity, IOPS.
DeviceClaimSpec defines the request details for a BlockDevice.
DeviceClaimStatus defines the observed state of BlockDeviceClaim.
DeviceDetails represent certain hardware/static attributes of the block device.
DeviceDevLink holds the mapping between type and links like by-id type or by-path type link.
DeviceSpec defines the properties and runtime status of a BlockDevice.
DeviceStatus defines the observed state of BlockDevice.
FileSystemInfo defines the filesystem type and mountpoint of the device if it exists.
NodeAttribute defines the attributes of a node where the block device is attached.

# Type aliases

BlockDeviceState defines the observed state of the disk.
BlockDeviceVolumeMode specifies the type in which the BlockDevice can be used.
DeviceClaimPhase is a typed string for phase field of BlockDeviceClaim.
DeviceClaimState defines the observed state of BlockDevice.