fake

package
v18.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoragePool

type StoragePool struct {
	Attrs map[string]sa.Offer `json:"attributes"`
	Bytes uint64              `json:"sizeBytes"`
}

func (*StoragePool) UnmarshalJSON

func (p *StoragePool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler and allows FakeStoragePool to be unmarshaled with the Attrs map correctly defined.

type Volume

type Volume struct {
	Name      string
	PoolName  string
	SizeBytes uint64
}

Jump to

Keyboard shortcuts

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