Documentation
¶
Index ¶
- type Actor
- func (a *Actor) Close() error
- func (a *Actor) Connect(endpoint string) error
- func (a *Actor) ContainerAttach(ctx context.Context, containerId string) (types.HijackedResponse, error)
- func (a *Actor) ContainerStart(ctx context.Context, containerId string) error
- func (a *Actor) ContainerStop(ctx context.Context, snifferId string, duration time.Duration) error
- func (a *Actor) CreateTcpDumpContainer(name string, containerIdToSniff, interfaceName string) (id string, err error)
- func (a *Actor) GetContainers() ([]sniffer.Container, error)
- func (a *Actor) GetNetworkInterfaces(containerId string) ([]sniffer.NetworkInterface, error)
- func (a *Actor) PullTcpDumpImage() error
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) ContainerAttach ¶
func (*Actor) ContainerStart ¶
func (*Actor) ContainerStop ¶
func (*Actor) CreateTcpDumpContainer ¶
func (*Actor) GetNetworkInterfaces ¶
func (a *Actor) GetNetworkInterfaces(containerId string) ([]sniffer.NetworkInterface, error)
func (*Actor) PullTcpDumpImage ¶
Click to show internal directories.
Click to hide internal directories.