poolsymmetrix

package
v0.0.0-...-3f873ad Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPooler

func NewPooler() pool.Pooler

Types

type T

type T struct {
	pool.T
}

func New

func New() *T

func (*T) BlkTranslate

func (t *T) BlkTranslate(name string, size int64, shared bool) ([]string, error)

func (T) Capabilities

func (t T) Capabilities() []string

func (*T) CreateDisk

func (t *T) CreateDisk(name string, size int64, nodenames []string) ([]pool.Disk, error)

func (*T) CreateDiskSRDF

func (t *T) CreateDiskSRDF(name string, size int64, nodenames []string) ([]pool.Disk, error)

func (*T) CreateDiskSimple

func (t *T) CreateDiskSimple(name string, size int64, nodenames []string) ([]pool.Disk, error)

func (*T) DeleteDisk

func (t *T) DeleteDisk(name, wwid string) ([]pool.Disk, error)

func (*T) DiskName

func (t *T) DiskName(vol pool.Volumer) string

func (*T) GetTargets

func (t *T) GetTargets() (san.Targets, error)

func (T) Head

func (t T) Head() string

func (*T) MapDisk

func (t *T) MapDisk(devId string, nodenames []string) ([]pool.Disk, error)

func (*T) Translate

func (t *T) Translate(name string, size int64, shared bool) ([]string, error)

func (T) Usage

func (t T) Usage() (pool.Usage, error)

Jump to

Keyboard shortcuts

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