runc

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: 20 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 CreateConfig added in v0.24.0

type CreateConfig struct {
	Image   string         `json:",omitempty"`
	ImageID string         `json:",omitempty"`
	Labels  graph.Metadata `json:",omitempty" field:"Metadata"`
}

CreateConfig describes the creating parameters of a runc container easyjson:json gendecoder

type Hosts added in v0.24.0

type Hosts struct {
	IP       string         `json:",omitempty"`
	Hostname string         `json:",omitempty"`
	ByIP     graph.Metadata `json:",omitempty" field:"Metadata"`
}

Hosts describes a runc host easyjson:json gendecoder

type Metadata added in v0.24.0

type Metadata struct {
	ContainerID  string         `json:",omitempty"`
	Status       string         `json:",omitempty"`
	Labels       graph.Metadata `json:",omitempty" field:"Metadata"`
	CreateConfig *CreateConfig  `json:",omitempty"`
	Hosts        *Hosts         `json:",omitempty"`
}

Metadata describes the information sotred for a runc container easyjson:json gendecoder

type Probe

type Probe struct {
	common.RWMutex
	*ns.Probe
	// contains filtered or unexported fields
}

Probe describes a Docker topology graph that enhance the graph

func NewProbe

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

NewProbe creates a new topology runc probe

func (*Probe) Start

func (probe *Probe) Start()

Start the probe

func (*Probe) Stop

func (probe *Probe) Stop()

Stop the probe

Jump to

Keyboard shortcuts

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