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
Click to show internal directories.
Click to hide internal directories.