Documentation
¶
Index ¶
- Variables
- type ContainerRuntimeBridge
- type DockerBridge
- func (d *DockerBridge) BuildCleanupCommand() []string
- func (d *DockerBridge) BuildInspectCommand(string) []string
- func (d *DockerBridge) BuildTcpdumpCommand(containerId *string, netInterface string, filter string, pid *string, ...) []string
- func (d *DockerBridge) ExtractPid(inspection string) (*string, error)
- func (d *DockerBridge) GetDefaultImage() string
- func (d *DockerBridge) GetDefaultSocketPath() string
- func (d *DockerBridge) NeedsPid() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedContainerRuntimes = []string{
"docker",
}
Functions ¶
This section is empty.
Types ¶
type ContainerRuntimeBridge ¶
type ContainerRuntimeBridge interface { NeedsPid() bool BuildInspectCommand(containerId string) []string ExtractPid(inspection string) (*string, error) BuildTcpdumpCommand(containerId *string, netInterface string, filter string, pid *string, socketPath string) []string BuildCleanupCommand() []string GetDefaultImage() string GetDefaultSocketPath() string }
func NewContainerRuntimeBridge ¶
func NewContainerRuntimeBridge(runtimeName string) ContainerRuntimeBridge
type DockerBridge ¶
type DockerBridge struct {
// contains filtered or unexported fields
}
func NewDockerBridge ¶
func NewDockerBridge() *DockerBridge
func (*DockerBridge) BuildCleanupCommand ¶
func (d *DockerBridge) BuildCleanupCommand() []string
func (*DockerBridge) BuildInspectCommand ¶
func (d *DockerBridge) BuildInspectCommand(string) []string
func (*DockerBridge) BuildTcpdumpCommand ¶
func (*DockerBridge) ExtractPid ¶
func (d *DockerBridge) ExtractPid(inspection string) (*string, error)
func (*DockerBridge) GetDefaultImage ¶
func (d *DockerBridge) GetDefaultImage() string
func (*DockerBridge) GetDefaultSocketPath ¶
func (d *DockerBridge) GetDefaultSocketPath() string
func (*DockerBridge) NeedsPid ¶
func (d *DockerBridge) NeedsPid() bool
Click to show internal directories.
Click to hide internal directories.