Documentation ¶
Index ¶
- Constants
- func AddTagLV(ctx context.Context, vg string, name string, tags []string) (string, error)
- func CloneLV(ctx context.Context, src, dest string) (string, error)
- func CreateLV(ctx context.Context, vg string, name string, size uint64, mirrors uint32, ...) (string, error)
- func CreateVG(ctx context.Context, name string, physicalVolume string, tags []string) (string, error)
- func ListLV(ctx context.Context, listspec string) ([]*parser.LV, error)
- func ListVG(ctx context.Context) ([]*parser.VG, error)
- func RemoveLV(ctx context.Context, vg string, name string) (string, error)
- func RemoveTagLV(ctx context.Context, vg string, name string, tags []string) (string, error)
- func RemoveVG(ctx context.Context, name string) (string, error)
Constants ¶
View Source
const ProtectedTagName = "protected"
ProtectedTagName is a tag that prevents RemoveLV & RemoveVG from removing a volume
Variables ¶
This section is empty.
Functions ¶
func CreateLV ¶
func CreateLV(ctx context.Context, vg string, name string, size uint64, mirrors uint32, tags []string) (string, error)
CreateLV creates a new volume
func RemoveTagLV ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.