lxd

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetadataDecoder added in v0.24.0

func MetadataDecoder(raw json.RawMessage) (common.Getter, error)

MetadataDecoder implements a json message raw decoder

Types

type Metadata added in v0.24.0

type Metadata struct {
	Architecture string         `json:",omitempty"`
	Config       graph.Metadata `json:",omitempty" field:"Metadata"`
	CreatedAt    string         `json:",omitempty"`
	Description  string         `json:",omitempty"`
	Devices      graph.Metadata `json:",omitempty" field:"Metadata"`
	Ephemeral    string         `json:",omitempty"`
	Profiles     []string       `json:",omitempty"`
	Restore      string         `json:",omitempty"`
	Status       string         `json:",omitempty"`
	Stateful     string         `json:",omitempty"`
}

Metadata describes the informations stored for a LXD container easyjson:json gendecoder

type Probe added in v0.21.0

type Probe struct{}

Probe describes a Lxd topology graph that enhance the graph

func NewProbe added in v0.21.0

func NewProbe(nsProbe *ns.Probe, lxdURL string) (*Probe, error)

NewProbe creates a new topology Lxd probe

func (*Probe) Start added in v0.21.0

func (u *Probe) Start()

Start the probe

func (*Probe) Stop added in v0.21.0

func (u *Probe) Stop()

Stop the probe

Jump to

Keyboard shortcuts

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