containerruntime

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerService

type ContainerService interface {
	// ContainerStatus returns the status of the container.
	ContainerStatus(ctx context.Context, containerID string) (*ContainerStatus, error)
}

func NewContainerdContainerService

func NewContainerdContainerService(conn *grpc.ClientConn) (ContainerService, error)

NewContainerdContainerService returns containerd-type ContainerService

func NewDockerContainerService

func NewDockerContainerService(runtimeURI string) (ContainerService, error)

func NewPouchContainerService

func NewPouchContainerService(runtimeURI string) (ContainerService, error)

NewPouchContainerService create a pouch runtime client

type ContainerStatus

type ContainerStatus struct {
	Env []string
}

Jump to

Keyboard shortcuts

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