libvirt

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: 15 Imported by: 0

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 {
	MAC     string `json:",omitempty"`
	Domain  string `json:",omitempty"`
	BusType string `json:",omitempty"`
	BusInfo string `json:",omitempty"`
	Alias   string `json:",omitempty"`
}

Metadata describes the informations stored for a libvirt domain easyjson:json gendecoder

type Probe

type Probe struct {
}

Probe describes a Libvirt probe that does nothing

func (*Probe) Init added in v0.25.0

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

Init initializes a libvirt topology probe

func (*Probe) Start

func (p *Probe) Start()

Start of the probe interface

func (*Probe) Stop

func (p *Probe) Stop()

Stop of the probe interface

Source Files

  • metadata.go
  • no_libvirt.go

Jump to

Keyboard shortcuts

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