Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultFS = "ext4" AnnoStorageReserve = "csi.aliyun.com/storage-reserved" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer struct { *common.Configuration // K8sMounter used to verify mountpoints K8sMounter mount.Interface // contains filtered or unexported fields }
Discoverer update block device, VG and mountpoint info to Cache
func NewDiscoverer ¶
func NewDiscoverer(config *common.Configuration, kubeclientset kubernetes.Interface, lssclientset clientset.Interface, snapclient snapshot.Interface, recorder record.EventRecorder) *Discoverer
NewDiscoverer return Discoverer
func (*Discoverer) Discover ¶
func (d *Discoverer) Discover()
Discover update local storage periodically
func (*Discoverer) ExpandSnapshotLVIfNeeded ¶
func (d *Discoverer) ExpandSnapshotLVIfNeeded()
func (*Discoverer) InitResource ¶
func (d *Discoverer) InitResource()
InitResource will create relevant resource
type ReservedVGInfo ¶
type ReservedVGInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.