runtime

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerRuntimeManager

func NewContainerRuntimeManager(cgroupDriver, endpoint string, requestTimeout time.Duration) (*containerRuntimeManager, error)

func NewContainerRuntimeManagerStub

func NewContainerRuntimeManagerStub() *containerRuntimeManagerStub

Types

type ContainerRuntimeInterface

type ContainerRuntimeInterface interface {
	// Get pids in the given container id
	GetPidsInContainers(containerID string) ([]int, error)
	// InspectContainer returns the container information by the given name
	InspectContainer(containerID string) (*criapi.ContainerStatus, error)
	// RuntimeName returns the container runtime name
	RuntimeName() string
}

Jump to

Keyboard shortcuts

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