package server

import "github.com/containerd/cri/pkg/server"

Index

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

Source Files

container_attach.go container_create.go container_exec.go container_execsync.go container_list.go container_log_reopen.go container_remove.go container_start.go container_stats.go container_stats_list.go container_status.go container_stop.go container_update_resources.go events.go helpers.go image_list.go image_load.go image_pull.go image_remove.go image_status.go imagefs_info.go instrumented_service.go restart.go sandbox_list.go sandbox_portforward.go sandbox_remove.go sandbox_run.go sandbox_status.go sandbox_stop.go service.go snapshots.go status.go streaming.go update_runtime_config.go version.go

Directories

PathSynopsis
pkg/server/io
pkg/server/testing
Version
v1.0.0-rc.0
Published
Mar 26, 2018
Platform
js/wasm
Imports
98 packages
Last checked
4 hours ago

Tools for package owners.