Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
// GetNodeDisks list all disk located on the node
GetNodeDisks(node string) ([]types.Disk, error)
GetNodeAvailableDisks(node string) ([]types.Disk, error)
MarkNodeDiskInuse(node string, disk *types.Disk) error
MarkNodeDiskAvailable(node string, disk *types.Disk) error
NodeIsReady(node string) (bool, error)
ListLocalDiskByNodeDevicePath(nodeName, devicePath string) ([]v1alpha1.LocalDisk, error)
}
Manager manage all disks in cluster The operation here needs to ensure thread safety
Click to show internal directories.
Click to hide internal directories.