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
}
Click to show internal directories.
Click to hide internal directories.