Documentation
¶
Index ¶
- type Cache
- func (c *Cache) AddLV(vgName, lvName string)
- func (c *Cache) FindLV(vgName, lvName string) *LVData
- func (c *Cache) FindThinPoolMappers(thinLvData *LVData) (tpool, poolMetadataMapper string, err error)
- func (c *Cache) FindVG(vgName string) *internal.VGData
- func (c *Cache) GetDevices() ([]internal.Device, bytes.Buffer)
- func (c *Cache) GetLVs() ([]internal.LVData, bytes.Buffer)
- func (c *Cache) GetManagedVGs() map[string]struct{}
- func (c *Cache) GetPVs() ([]internal.PVData, bytes.Buffer)
- func (c *Cache) GetVGs() ([]internal.VGData, bytes.Buffer)
- func (c *Cache) MarkLVAsRemoved(vgName, lvName string)
- func (c *Cache) PrintTheCache(log logger.Logger)
- func (c *Cache) StoreDevices(devices []internal.Device, stdErr bytes.Buffer)
- func (c *Cache) StoreLVs(lvs []internal.LVData, stdErr bytes.Buffer)
- func (c *Cache) StoreManagedVGs(vgNames iter.Seq[string])
- func (c *Cache) StorePVs(pvs []internal.PVData, stdErr bytes.Buffer)
- func (c *Cache) StoreVGs(vgs []internal.VGData, stdErr bytes.Buffer)
- type LVData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) FindThinPoolMappers ¶
func (*Cache) GetManagedVGs ¶
GetManagedVGs returns the set of VG names that are managed by LVMVolumeGroup resources
func (*Cache) MarkLVAsRemoved ¶
func (*Cache) PrintTheCache ¶
func (*Cache) StoreDevices ¶
func (*Cache) StoreManagedVGs ¶
StoreManagedVGs stores the set of VG names that are managed by LVMVolumeGroup resources on this node. It accepts an iterator over VG names to avoid unnecessary allocations.
Click to show internal directories.
Click to hide internal directories.