package dockershim
import "k8s.io/kubernetes/pkg/kubelet/dockershim"
Docker integration using pkg/kubelet/api/v1alpha1/runtime/api.pb.go.
Index ¶
Constants ¶
const ( // DockerImageIDPrefix is the prefix of image id in container status. DockerImageIDPrefix = dockertools.DockerPrefix // DockerPullableImageIDPrefix is the prefix of pullable image id in container status. DockerPullableImageIDPrefix = dockertools.DockerPullablePrefix )
Types ¶
type DockerLegacyService ¶
type DockerLegacyService interface { // 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 all legacy methods for backward compatibility.
type DockerService ¶
type DockerService interface { internalApi.RuntimeService internalApi.ImageManagerService DockerLegacyService }
DockerService is an interface that embeds both the new RuntimeService and ImageService interfaces, while including DockerLegacyService for backward compatibility.
func NewDockerService ¶
func NewDockerService(client dockertools.DockerInterface, seccompProfileRoot string, podSandboxImage string) DockerService
NOTE: Anything passed to DockerService should be eventually handled in another way when we switch to running the shim as a different process.
Source Files ¶
convert.go doc.go docker_container.go docker_image.go docker_sandbox.go docker_service.go helpers.go legacy.go naming.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubelet/dockershim/remote |
- Version
- v1.5.0-alpha.2
- Published
- Oct 27, 2016
- Platform
- js/wasm
- Imports
- 23 packages
- Last checked
- 14 minutes ago –
Tools for package owners.