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 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

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 events.go helpers.go image_list.go image_pull.go image_remove.go image_status.go imagefs_info.go sandbox_list.go sandbox_portforward.go sandbox_remove.go sandbox_run.go sandbox_status.go sandbox_stop.go server.go service.go status.go update_runtime_config.go version.go

Directories

PathSynopsis
pkg/server/agents
pkg/server/agents/testing
pkg/server/testing
Version
v0.1.0
Published
Jun 29, 2017
Platform
js/wasm
Imports
59 packages
Last checked
4 hours ago

Tools for package owners.