volume

package
v0.0.0-...-36737da Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SCSITYPE  = 0
	ISCSITYPE = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NAS

type NAS struct {
	// contains filtered or unexported fields
}

func NewNAS

func NewNAS(cli *client.Client) *NAS

func (*NAS) Create

func (p *NAS) Create(params map[string]interface{}) error

func (*NAS) Delete

func (p *NAS) Delete(name string) error

type SAN

type SAN struct {
	// contains filtered or unexported fields
}

func NewSAN

func NewSAN(cli *client.Client) *SAN

func (*SAN) Create

func (p *SAN) Create(params map[string]interface{}) error

func (*SAN) CreateSnapshot

func (p *SAN) CreateSnapshot(lunName, snapshotName string) (map[string]interface{}, error)

func (*SAN) Delete

func (p *SAN) Delete(name string) error

func (*SAN) DeleteSnapshot

func (p *SAN) DeleteSnapshot(snapshotName string) error

func (*SAN) Expand

func (p *SAN) Expand(name string, newSize int64) (bool, error)

Jump to

Keyboard shortcuts

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