Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceManager ¶
type DeviceManager struct {
Cache cache.Cache
client.Client
// Volume 操作
VolumeManager volume.LocalVolume
//磁盘以及分区操作
Partition partition.LocalPartition
Host hostpath.HostPath
NodeName string
// contains filtered or unexported fields
}
func NewDeviceManager ¶
func (*DeviceManager) GetNodeDiskSelectGroup ¶ added in v0.10.0
func (dm *DeviceManager) GetNodeDiskSelectGroup() map[string]configuration.DiskSelectorItem
func (*DeviceManager) NoticeUpdateCapacity ¶ added in v0.11.0
func (dm *DeviceManager) NoticeUpdateCapacity(trigger Trigger, done chan struct{})
func (*DeviceManager) RegisterNoticeChan ¶ added in v0.11.0
func (dm *DeviceManager) RegisterNoticeChan(notice chan *VolumeEvent)
type VolumeEvent ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.