docker

package
v0.0.0-...-0a54e7c Latest Latest
Warning

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

Go to latest
Published: Feb 10, 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, namespace string) ([]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