runtime

package
v0.0.0-...-722d0c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (d *DockerBridge) BuildTcpdumpCommand(containerId *string, netInterface string, filter string, pid *string, socketPath string) []string

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

Jump to

Keyboard shortcuts

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