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 CRIContainerdService

type CRIContainerdService interface {
	Run() error
	Stop()
	runtime.RuntimeServiceServer
	runtime.ImageServiceServer
	api.CRIContainerdServiceServer
}

CRIContainerdService is the interface implement CRI remote service server.

func NewCRIContainerdService

func NewCRIContainerdService(config options.Config) (CRIContainerdService, error)

NewCRIContainerdService returns a new instance of CRIContainerdService

Source Files

container_attach.go container_create.go container_exec.go container_execsync.go container_list.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-beta.0
Published
Dec 16, 2017
Platform
js/wasm
Imports
85 packages
Last checked
4 hours ago

Tools for package owners.