docker

package
v0.0.0-...-c3501a5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWithCache

type ClientWithCache struct {
	*client.Client
	// contains filtered or unexported fields
}

func New

func New() (ClientWithCache, error)

func (*ClientWithCache) GetPodSandbox

func (cli *ClientWithCache) GetPodSandbox(ctx context.Context, containerId string) (sandbox PodSandbox, isSandbox bool, err error)

func (*ClientWithCache) ListPodSandboxes

func (cli *ClientWithCache) ListPodSandboxes(ctx context.Context, namespaces map[string]struct{}) ([]PodSandbox, error)

type PodSandbox

type PodSandbox struct {
	PodName   string
	Namespace string
	Pid       int
}

Jump to

Keyboard shortcuts

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