cri

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageServiceType

type ImageServiceType int

type RuntimeManagerCriServer

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

func NewRuntimeManagerCriServer

func NewRuntimeManagerCriServer() *RuntimeManagerCriServer

func (*RuntimeManagerCriServer) InterceptRuntimeRequest added in v1.4.0

func (c *RuntimeManagerCriServer) InterceptRuntimeRequest(serviceType RuntimeServiceType,
	ctx context.Context, request interface{}, handler grpc.UnaryHandler, alphaRuntime bool) (interface{}, error)

func (*RuntimeManagerCriServer) Name

func (c *RuntimeManagerCriServer) Name() string

func (*RuntimeManagerCriServer) Run

func (c *RuntimeManagerCriServer) Run() error

type RuntimeRequestInterceptor added in v1.4.0

type RuntimeRequestInterceptor interface {
	InterceptRuntimeRequest(serviceType RuntimeServiceType, ctx context.Context, request interface{}, handler grpc.UnaryHandler, alphaRuntime bool) (interface{}, error)
}

type RuntimeServiceType

type RuntimeServiceType int
const (
	RunPodSandbox RuntimeServiceType = iota
	StopPodSandbox
	CreateContainer
	StartContainer
	StopContainer
	RemoveContainer
	UpdateContainerResources
)

type ServiceType

type ServiceType int
const (
	RuntimeService ServiceType = iota
	ImageService
)

Jump to

Keyboard shortcuts

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