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"`
    }