manager

package
v0.0.0-...-792cabc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContivshimManager

type ContivshimManager struct {
	// contains filtered or unexported fields
}

ContivshimManager serves the kubelet runtime gRPC api which will be consumed by kubelet

func NewContivshimManager

func NewContivshimManager(
	etcdEndpoint *string,
	dockerRuntimeService criruntime.RuntimeService,
	dockerImageService criruntime.ImageManagerService,
) (*ContivshimManager, error)

NewContivshimManager creates a new ContivshimManager

func (*ContivshimManager) Attach

Attach prepares a streaming endpoint to attach to a running container.

func (*ContivshimManager) ContainerStats

ContainerStats returns information of the container filesystem.

func (*ContivshimManager) ContainerStatus

ContainerStatus returns the container status.

func (*ContivshimManager) CreateContainer

CreateContainer creates a new container in specified PodSandbox

func (*ContivshimManager) Exec

Exec prepares a streaming endpoint to execute a command in the container.

func (*ContivshimManager) ExecSync

ExecSync runs a command in a container synchronously.

func (*ContivshimManager) ImageFsInfo

ImageFsInfo returns information of the filesystem that is used to store images.

func (*ContivshimManager) ImageStatus

ImageStatus returns the status of the image.

func (*ContivshimManager) ListContainerStats

ListContainerStats is this

func (*ContivshimManager) ListContainers

ListContainers lists all containers by filters.

func (*ContivshimManager) ListImages

ListImages lists existing images.

func (*ContivshimManager) ListPodSandbox

ListPodSandbox returns a list of SandBox.

func (*ContivshimManager) PodSandboxStatus

PodSandboxStatus returns the Status of the PodSandbox.

func (*ContivshimManager) PortForward

PortForward prepares a streaming endpoint to forward ports from a PodSandbox.

func (*ContivshimManager) PullImage

PullImage pulls a image with authentication config.

func (*ContivshimManager) RemoveContainer

RemoveContainer removes the container.

func (*ContivshimManager) RemoveImage

RemoveImage removes the image.

func (*ContivshimManager) RemovePodSandbox

RemovePodSandbox deletes the sandbox.

func (*ContivshimManager) RunPodSandbox

RunPodSandbox creates and start a Pod.

func (*ContivshimManager) Serve

func (s *ContivshimManager) Serve(addr string) error

Serve starts gRPC server at unix://addr

func (*ContivshimManager) StartContainer

StartContainer starts the container.

func (*ContivshimManager) Status

Status returns the status of the criruntime.

func (*ContivshimManager) StopContainer

StopContainer stops a running container with a grace period (i.e. timeout).

func (*ContivshimManager) StopPodSandbox

StopPodSandbox stops the sandbox.

func (*ContivshimManager) UpdateContainerResources

UpdateContainerResources is this

func (*ContivshimManager) UpdateRuntimeConfig

UpdateRuntimeConfig updates runtime configuration if specified

func (*ContivshimManager) Version

Version returns the runtime name, runtime version and runtime API version.

Jump to

Keyboard shortcuts

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