Versions in this module Expand all Collapse all v0 v0.1.0 May 31, 2019 Changes in this version + const Created + const Running + const Stopped + func LoadVMMetadataFilterable(id string) (filter.Filterable, error) + type VMFilter struct + func NewVMFilter(p string) *VMFilter + func NewVMFilterAll(p string, all bool) *VMFilter + func (n *VMFilter) Filter(f filter.Filterable) ([]string, error) + type VMMetadata struct + func LoadVMMetadata(id string) (*VMMetadata, error) + func NewVMMetadata(id, name string, od *VMObjectData) *VMMetadata + func ToVMMetadata(f filter.Filterable) (*VMMetadata, error) + func ToVMMetadataAll(a []filter.Filterable) ([]*VMMetadata, error) + func (md *VMMetadata) CopyImage() error + func (md *VMMetadata) KernelID() string + func (md *VMMetadata) Running() bool + func (md *VMMetadata) SetState(s state) error + func (md *VMMetadata) Size() (int64, error) + func (md *VMMetadata) VMOD() *VMObjectData + type VMObjectData struct + ImageID string + KernelID string + Memory int64 + State state + VCPUs int64 + func NewVMObjectData(imageID, kernelID string, vCPUs, memory int64) *VMObjectData