lxd

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: Apache-2.0 Imports: 6 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 ProbeHandler added in v0.25.0

type ProbeHandler struct{}

ProbeHandler describes a Lxd topology graph that enhance the graph

func (*ProbeHandler) Init added in v0.25.0

func (p *ProbeHandler) Init(ctx tp.Context, bundle *probe.Bundle) (probe.Handler, error)

Init initializes a new topology Lxd probe

func (*ProbeHandler) Start added in v0.25.0

func (p *ProbeHandler) Start()

Start the probe handler

func (*ProbeHandler) Stop added in v0.25.0

func (p *ProbeHandler) Stop()

Stop the probe handler

Jump to

Keyboard shortcuts

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