dockershim

package
v1.5.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Docker integration using pkg/kubelet/api/v1alpha1/runtime/api.pb.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerLegacyService

type DockerLegacyService interface {
	internalApi.RuntimeService
	internalApi.ImageManagerService

	// Supporting legacy methods for docker.
	GetContainerLogs(pod *api.Pod, containerID kubecontainer.ContainerID, logOptions *api.PodLogOptions, stdout, stderr io.Writer) (err error)
	kubecontainer.ContainerAttacher
	PortForward(sandboxID string, port uint16, stream io.ReadWriteCloser) error

	// TODO: Remove this once exec is properly defined in CRI.
	ExecInContainer(containerID kubecontainer.ContainerID, cmd []string, stdin io.Reader, stdout, stderr io.WriteCloser, tty bool, resize <-chan term.Size) error
}

DockerLegacyService is an interface that embeds both the new RuntimeService and ImageService interfaces, while including legacy methods for backward compatibility.

func NewDockerService added in v1.5.0

func NewDockerService(client dockertools.DockerInterface, seccompProfileRoot string, podSandboxImage string) DockerLegacyService

NOTE: Anything passed to DockerService should be eventually handled in another way when we switch to running the shim as a different process.

Jump to

Keyboard shortcuts

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