fake

package
v19.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 30

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) ConstructClone

func (p *StoragePool) ConstructClone() *StoragePool

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 `json:"name"`
	RequestedPool string `json:"requestedPool"`
	PhysicalPool  string
	SizeBytes     uint64 `json:"size"`
}

Jump to

Keyboard shortcuts

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