Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LVMConnection ¶
type LVMConnection interface { GetLvm(ctx context.Context, volGroup string, volumeID string) (string, error) CreateLvm(ctx context.Context, opt *LVMOptions) (string, error) DeleteLvm(ctx context.Context, volGroup string, volumeID string) error CleanPath(ctx context.Context, path string) error Close() error }
LVMConnection lvm connection interface
func NewLVMConnection ¶
func NewLVMConnection(address string, timeout time.Duration) (LVMConnection, error)
NewLVMConnection lvm connection
Click to show internal directories.
Click to hide internal directories.