server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: Apache-2.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAuth

func ParseAuth(auth *runtime.AuthConfig) (string, string, error)

ParseAuth parses AuthConfig and returns username and password/secret required by containerd.

Types

type CRIContainerdServer

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

CRIContainerdServer is the grpc server of cri-containerd.

func NewCRIContainerdServer

NewCRIContainerdServer creates the cri-containerd grpc server.

func (*CRIContainerdServer) Run

func (s *CRIContainerdServer) Run() error

Run runs the cri-containerd grpc server.

type CRIContainerdService

type CRIContainerdService interface {
	Start()
	runtime.RuntimeServiceServer
	runtime.ImageServiceServer
}

CRIContainerdService is the interface implement CRI remote service server.

func NewCRIContainerdService

func NewCRIContainerdService(containerdEndpoint, rootDir, networkPluginBinDir, networkPluginConfDir string) (CRIContainerdService, error)

NewCRIContainerdService returns a new instance of CRIContainerdService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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