kubernetes/vendor/github.com/google/cadvisor/container/containerd/client.go

type client

type ContainerdClient

var ErrTaskIsInUnknownState

var once

var ctrdClient

const maxBackoffDelay

const baseBackoffDelay

const connectionTimeout

const maxMsgSize

// Client creates a containerd client
func Client(address, namespace string) (ContainerdClient, error) {}

func (c *client) LoadContainer(ctx context.Context, id string) (*containers.Container, error) {}

func (c *client) TaskPid(ctx context.Context, id string) (uint32, error) {}

func (c *client) Version(ctx context.Context) (string, error) {}

func containerFromProto(containerpb *containersapi.Container) *containers.Container {}