common

package
v0.6.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeIdAsInt

func NodeIdAsInt(caller string, w withNode) (int, error)

func VolumeIdAsInt

func VolumeIdAsInt(caller string, w withVolume) (int, error)

Types

type LinodeVolumeKey added in v0.0.2

type LinodeVolumeKey struct {
	VolumeID int
	Label    string
}

func CreateLinodeVolumeKey added in v0.0.2

func CreateLinodeVolumeKey(id int, label string) LinodeVolumeKey

func ParseLinodeVolumeKey added in v0.0.2

func ParseLinodeVolumeKey(key string) (*LinodeVolumeKey, error)

func (*LinodeVolumeKey) GetNormalizedLabel added in v0.0.2

func (key *LinodeVolumeKey) GetNormalizedLabel() string

func (*LinodeVolumeKey) GetNormalizedLabelWithPrefix added in v0.0.2

func (key *LinodeVolumeKey) GetNormalizedLabelWithPrefix(prefix string) string

func (*LinodeVolumeKey) GetVolumeID added in v0.0.2

func (key *LinodeVolumeKey) GetVolumeID() int

func (*LinodeVolumeKey) GetVolumeKey added in v0.0.2

func (key *LinodeVolumeKey) GetVolumeKey() string

func (*LinodeVolumeKey) GetVolumeLabel added in v0.0.2

func (key *LinodeVolumeKey) GetVolumeLabel() string

Jump to

Keyboard shortcuts

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