dockerHandler

package
v0.0.0-...-622395a Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actor

type Actor struct {
	// contains filtered or unexported fields
}

func NewDockerHandler

func NewDockerHandler() *Actor

func (*Actor) Close

func (a *Actor) Close() error

func (*Actor) Connect

func (a *Actor) Connect(endpoint string) error

func (*Actor) ContainerAttach

func (a *Actor) ContainerAttach(ctx context.Context, containerId string) (types.HijackedResponse, error)

func (*Actor) ContainerStart

func (a *Actor) ContainerStart(ctx context.Context, containerId string) error

func (*Actor) ContainerStop

func (a *Actor) ContainerStop(ctx context.Context, snifferId string, duration time.Duration) error

func (*Actor) CreateTcpDumpContainer

func (a *Actor) CreateTcpDumpContainer(name string, containerIdToSniff, interfaceName string) (id string, err error)

func (*Actor) GetContainers

func (a *Actor) GetContainers() ([]sniffer.Container, error)

func (*Actor) GetNetworkInterfaces

func (a *Actor) GetNetworkInterfaces(containerId string) ([]sniffer.NetworkInterface, error)

func (*Actor) PullTcpDumpImage

func (a *Actor) PullTcpDumpImage() error

Jump to

Keyboard shortcuts

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