docker

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 RuntimeDocker

type RuntimeDocker struct {
	dockershim.DockerService
}

RuntimeDocker serves the Contivshim gRPC api which will be consumed by contivshim

func NewRuntimeDocker

func NewRuntimeDocker(dockerRuntimeEndpoint string, streamingConfig *streaming.Config, cniNetDir string, cniPluginDir string, cgroupDriver string, dockerRuntimeRootDir string) (*RuntimeDocker, error)

NewRuntimeDocker initializes a docker runtime using CNI conifugration

func (*RuntimeDocker) Serve

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

Serve starts dockershim gRPC server at unix://addr

func (*RuntimeDocker) ServiceName

func (s *RuntimeDocker) ServiceName() string

ServiceName prints the Service name

Jump to

Keyboard shortcuts

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