type client …
type ContainerdClient …
var ErrTaskIsInUnknownState …
var once …
var ctrdClient …
const maxBackoffDelay …
const baseBackoffDelay …
const connectionTimeout …
const maxMsgSize …
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 { … }