Documentation
¶
Index ¶
- type LogicalVolume
- func (lv *LogicalVolume) Activate(ctx context.Context, rawArgs string) (bool, error)
- func (lv *LogicalVolume) Change(ctx context.Context, rawArgs string) (bool, error)
- func (lv *LogicalVolume) Create(ctx context.Context, rawArgs string) (bool, error)
- func (lv *LogicalVolume) Deactivate(ctx context.Context, rawArgs string) (bool, error)
- func (lv *LogicalVolume) Remove(ctx context.Context, rawArgs string) (bool, error)
- type PhysicalVolume
- type VolumeGroup
- func (vg *VolumeGroup) Change(ctx context.Context, rawArgs string) (bool, error)
- func (vg *VolumeGroup) Create(ctx context.Context, rawArgs string) (bool, error)
- func (vg *VolumeGroup) Exists(ctx context.Context) (bool, error)
- func (vg *VolumeGroup) LockStart(ctx context.Context, rawArgs string) (bool, error)
- func (vg *VolumeGroup) LockStop(ctx context.Context, rawArgs string) (bool, error)
- func (vg *VolumeGroup) Remove(ctx context.Context, rawArgs string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicalVolume ¶
type LogicalVolume struct {
Name string
VolumeGroup *VolumeGroup
Log logr.Logger
}
func NewLogicalVolume ¶
func NewLogicalVolume(ctx context.Context, name string, vg *VolumeGroup, log logr.Logger) *LogicalVolume
func (*LogicalVolume) Deactivate ¶
type VolumeGroup ¶
type VolumeGroup struct {
Name string
PhysicalVolumes []*PhysicalVolume
Log logr.Logger
}
func NewVolumeGroup ¶
func NewVolumeGroup(ctx context.Context, name string, pvs []*PhysicalVolume, log logr.Logger) *VolumeGroup
Click to show internal directories.
Click to hide internal directories.