lvmd

package
v0.0.0-...-a64133d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LVMConnection

type LVMConnection interface {
	GetLV(ctx context.Context, volGroup string, volumeId string) (string, error)
	CreateLV(ctx context.Context, opt *LVMOptions) (string, error)
	RemoveLV(ctx context.Context, volGroup string, volumeId string) error

	Close() error
}

func NewLVMConnection

func NewLVMConnection(address string, timeout time.Duration) (LVMConnection, error)

type LVMOptions

type LVMOptions struct {
	VolumeGroup string
	Name        string
	Size        uint64
	Tags        []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL