test

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct{}

func (*MockClient) ContainerInspect

func (m *MockClient) ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error)

func (*MockClient) ContainerKill

func (m *MockClient) ContainerKill(ctx context.Context, containerID, signal string) error

func (*MockClient) LoadContainer

func (m *MockClient) LoadContainer(ctx context.Context, id string) (containerd.Container, error)

type MockContainer

type MockContainer struct {
	containerd.Container
}

func (*MockContainer) Task

type MockTask

type MockTask struct {
	containerd.Task
}

func (*MockTask) Kill

func (*MockTask) Pid

func (m *MockTask) Pid() uint32

Jump to

Keyboard shortcuts

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