runc

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: 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 ProbeHandler added in v0.25.0

type ProbeHandler struct {
}

ProbeHandler describes a list NetLink NameSpace probe to 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 runc 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

Source Files

  • metadata.go
  • no_runc.go

Jump to

Keyboard shortcuts

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