docker

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

Documentation

Index

Constants

View Source
const ClientAPIVersion = "1.18"

ClientAPIVersion Client API version used

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 {
	ContainerID   string
	ContainerName string
	Labels        graph.Metadata `field:"Metadata"`
}

Metadata describe the metadata of a docker container easyjson:json gendecoder

type Probe added in v0.21.0

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

Probe describes a Docker topology graph that enhance the graph

func NewProbe added in v0.21.0

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

NewProbe creates a new topology Docker probe

func (*Probe) Start added in v0.21.0

func (probe *Probe) Start()

Start the probe

func (*Probe) Stop added in v0.21.0

func (probe *Probe) Stop()

Stop the probe

Source Files

  • docker.go
  • metadata.go

Jump to

Keyboard shortcuts

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