server

package
v0.0.0-...-b3c77dc Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 98 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 CRIService

type CRIService interface {
	Run() error
	// io.Closer is used by containerd to gracefully stop cri service.
	io.Closer
	plugin.Service
	// contains filtered or unexported methods
}

CRIService is the interface implement CRI remote service server.

func NewCRIService

func NewCRIService(config criconfig.Config, client *containerd.Client) (CRIService, error)

NewCRIService returns a new instance of CRIService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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