Documentation ¶
Index ¶
- Constants
- type Action
- type MetaData
- func (d *MetaData) Close() error
- func (d *MetaData) GetById(containerId string) types.Container
- func (d *MetaData) GetByMntNs(mntNs int64) types.Container
- func (d *MetaData) GetByName(name string) []types.Container
- func (d *MetaData) GetByNetNs(netNs int64) types.Container
- func (d *MetaData) GetByPid(pid int) types.Container
- func (d *MetaData) GetByPod(name, namespace string) []types.Container
- func (d *MetaData) Start(ctx context.Context) error
Constants ¶
View Source
const (
DefaultSocket = "/var/run/docker.sock"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶ added in v0.18.0
type Action string
const ( ActionCreate Action = "create" ActionStart Action = "start" // ActionExecCreate is the prefix used for exec_create events. These // event-actions are commonly followed by a colon and space (": "), // and the command that's defined for the exec, for example: // // exec_create: /bin/sh -c 'echo hello' // // This is far from ideal; it's a compromise to allow filtering and // to preserve backward-compatibility. ActionExecCreate Action = "exec_create" // ActionExecStart is the prefix used for exec_create events. These // event-actions are commonly followed by a colon and space (": "), // and the command that's defined for the exec, for example: // // exec_start: /bin/sh -c 'echo hello' // // This is far from ideal; it's a compromise to allow filtering and // to preserve backward-compatibility. ActionExecStart Action = "exec_start" )
Click to show internal directories.
Click to hide internal directories.