Documentation ¶
Index ¶
- func MetadataDecoder(raw json.RawMessage) (getter.Getter, error)
- func NewProbe(ctx tp.Context, bundle *probe.Bundle) (probe.Handler, error)
- func Register()
- type CreateConfig
- func (obj *CreateConfig) GetField(key string) (interface{}, error)
- func (obj *CreateConfig) GetFieldBool(key string) (bool, error)
- func (obj *CreateConfig) GetFieldInt64(key string) (int64, error)
- func (obj *CreateConfig) GetFieldKeys() []string
- func (obj *CreateConfig) GetFieldString(key string) (string, error)
- func (v CreateConfig) MarshalEasyJSON(w *jwriter.Writer)
- func (v CreateConfig) MarshalJSON() ([]byte, error)
- func (obj *CreateConfig) MatchBool(key string, predicate getter.BoolPredicate) bool
- func (obj *CreateConfig) MatchInt64(key string, predicate getter.Int64Predicate) bool
- func (obj *CreateConfig) MatchString(key string, predicate getter.StringPredicate) bool
- func (v *CreateConfig) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CreateConfig) UnmarshalJSON(data []byte) error
- type Hosts
- func (obj *Hosts) GetField(key string) (interface{}, error)
- func (obj *Hosts) GetFieldBool(key string) (bool, error)
- func (obj *Hosts) GetFieldInt64(key string) (int64, error)
- func (obj *Hosts) GetFieldKeys() []string
- func (obj *Hosts) GetFieldString(key string) (string, error)
- func (v Hosts) MarshalEasyJSON(w *jwriter.Writer)
- func (v Hosts) MarshalJSON() ([]byte, error)
- func (obj *Hosts) MatchBool(key string, predicate getter.BoolPredicate) bool
- func (obj *Hosts) MatchInt64(key string, predicate getter.Int64Predicate) bool
- func (obj *Hosts) MatchString(key string, predicate getter.StringPredicate) bool
- func (v *Hosts) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Hosts) UnmarshalJSON(data []byte) error
- type Metadata
- func (obj *Metadata) GetField(key string) (interface{}, error)
- func (obj *Metadata) GetFieldBool(key string) (bool, error)
- func (obj *Metadata) GetFieldInt64(key string) (int64, error)
- func (obj *Metadata) GetFieldKeys() []string
- func (obj *Metadata) GetFieldString(key string) (string, error)
- func (v Metadata) MarshalEasyJSON(w *jwriter.Writer)
- func (v Metadata) MarshalJSON() ([]byte, error)
- func (obj *Metadata) MatchBool(key string, predicate getter.BoolPredicate) bool
- func (obj *Metadata) MatchInt64(key string, predicate getter.Int64Predicate) bool
- func (obj *Metadata) MatchString(key string, predicate getter.StringPredicate) bool
- func (v *Metadata) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Metadata) UnmarshalJSON(data []byte) error
- type ProbeHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataDecoder ¶ added in v0.24.0
func MetadataDecoder(raw json.RawMessage) (getter.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
func (*CreateConfig) GetField ¶ added in v0.26.0
func (obj *CreateConfig) GetField(key string) (interface{}, error)
func (*CreateConfig) GetFieldBool ¶ added in v0.26.0
func (obj *CreateConfig) GetFieldBool(key string) (bool, error)
func (*CreateConfig) GetFieldInt64 ¶ added in v0.26.0
func (obj *CreateConfig) GetFieldInt64(key string) (int64, error)
func (*CreateConfig) GetFieldKeys ¶ added in v0.26.0
func (obj *CreateConfig) GetFieldKeys() []string
func (*CreateConfig) GetFieldString ¶ added in v0.26.0
func (obj *CreateConfig) GetFieldString(key string) (string, error)
func (CreateConfig) MarshalEasyJSON ¶ added in v0.26.0
func (v CreateConfig) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CreateConfig) MarshalJSON ¶ added in v0.26.0
func (v CreateConfig) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CreateConfig) MatchBool ¶ added in v0.26.0
func (obj *CreateConfig) MatchBool(key string, predicate getter.BoolPredicate) bool
func (*CreateConfig) MatchInt64 ¶ added in v0.26.0
func (obj *CreateConfig) MatchInt64(key string, predicate getter.Int64Predicate) bool
func (*CreateConfig) MatchString ¶ added in v0.26.0
func (obj *CreateConfig) MatchString(key string, predicate getter.StringPredicate) bool
func (*CreateConfig) UnmarshalEasyJSON ¶ added in v0.26.0
func (v *CreateConfig) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CreateConfig) UnmarshalJSON ¶ added in v0.26.0
func (v *CreateConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
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
func (*Hosts) GetFieldBool ¶ added in v0.26.0
func (*Hosts) GetFieldInt64 ¶ added in v0.26.0
func (*Hosts) GetFieldKeys ¶ added in v0.26.0
func (*Hosts) GetFieldString ¶ added in v0.26.0
func (Hosts) MarshalEasyJSON ¶ added in v0.26.0
MarshalEasyJSON supports easyjson.Marshaler interface
func (Hosts) MarshalJSON ¶ added in v0.26.0
MarshalJSON supports json.Marshaler interface
func (*Hosts) MatchBool ¶ added in v0.26.0
func (obj *Hosts) MatchBool(key string, predicate getter.BoolPredicate) bool
func (*Hosts) MatchInt64 ¶ added in v0.26.0
func (obj *Hosts) MatchInt64(key string, predicate getter.Int64Predicate) bool
func (*Hosts) MatchString ¶ added in v0.26.0
func (obj *Hosts) MatchString(key string, predicate getter.StringPredicate) bool
func (*Hosts) UnmarshalEasyJSON ¶ added in v0.26.0
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Hosts) UnmarshalJSON ¶ added in v0.26.0
UnmarshalJSON supports json.Unmarshaler interface
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
func (*Metadata) GetFieldBool ¶ added in v0.26.0
func (*Metadata) GetFieldInt64 ¶ added in v0.26.0
func (*Metadata) GetFieldKeys ¶ added in v0.26.0
func (*Metadata) GetFieldString ¶ added in v0.26.0
func (Metadata) MarshalEasyJSON ¶ added in v0.26.0
MarshalEasyJSON supports easyjson.Marshaler interface
func (Metadata) MarshalJSON ¶ added in v0.26.0
MarshalJSON supports json.Marshaler interface
func (*Metadata) MatchBool ¶ added in v0.26.0
func (obj *Metadata) MatchBool(key string, predicate getter.BoolPredicate) bool
func (*Metadata) MatchInt64 ¶ added in v0.26.0
func (obj *Metadata) MatchInt64(key string, predicate getter.Int64Predicate) bool
func (*Metadata) MatchString ¶ added in v0.26.0
func (obj *Metadata) MatchString(key string, predicate getter.StringPredicate) bool
func (*Metadata) UnmarshalEasyJSON ¶ added in v0.26.0
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Metadata) UnmarshalJSON ¶ added in v0.26.0
UnmarshalJSON supports json.Unmarshaler interface
type ProbeHandler ¶ added in v0.25.0
type ProbeHandler struct { insanelock.RWMutex *ns.ProbeHandler // contains filtered or unexported fields }
ProbeHandler describes a Docker topology graph that enhance the graph