volume

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// CreateVolume create volume from device exist in pool
	CreateVolume(name string, pool string, device string) error

	// DeleteVolume delete volume from pool and release bound disk
	DeleteVolume(name string, pool string) error

	// GetVolume return info about this volume
	GetVolume(name string) *types.Volume
}

Manager responsible for creating, updating, and deleting volumes on nodes

func New

func New() Manager

Jump to

Keyboard shortcuts

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