Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
Interceptor is a hook that intercepts processing a request by a handler.
type Options ¶
type Options struct { // Socket is the path of our gRPC servers unix-domain socket. Socket string }
Options contains the configurable options of our CRI server.
type Server ¶
type Server interface { // RegisterImageService registers the provided image service with the server. RegisterImageService(api.ImageServiceServer) error // RegistersRuntimeService registers the provided runtime service with the server. RegisterRuntimeService(api.RuntimeServiceServer) error // RegisterInterceptors registers the given interceptors with the server. RegisterInterceptors(map[string]Interceptor) error // Start starts the request processing loop (goroutine) of the server. Start() error // Stop stops the request processing loop (goroutine) of the server. Stop() }
Server is the interface we expose for controlling our CRI server.
Click to show internal directories.
Click to hide internal directories.