Documentation ¶
Overview ¶
Package remote contains gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
Index ¶
- Variables
- func NewRemoteImageService(endpoint string, connectionTimeout time.Duration, tp trace.TracerProvider, ...) (internalapi.ImageManagerService, error)
- func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration, tp trace.TracerProvider, ...) (internalapi.RuntimeService, error)
- type CRIVersion
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrContainerStatusNil indicates that the returned container status is nil. ErrContainerStatusNil = errors.New("container status is nil") // ErrCommandTimedOut indicates that the exec sync command timed. ErrCommandTimedOut = errors.New("command timed out") )
Functions ¶
func NewRemoteImageService ¶
func NewRemoteImageService(endpoint string, connectionTimeout time.Duration, tp trace.TracerProvider, logger *klog.Logger) (internalapi.ImageManagerService, error)
NewRemoteImageService creates a new internalapi.ImageManagerService.
func NewRemoteRuntimeService ¶
func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration, tp trace.TracerProvider, logger *klog.Logger) (internalapi.RuntimeService, error)
NewRemoteRuntimeService creates a new internalapi.RuntimeService.
Types ¶
type CRIVersion ¶
type CRIVersion string
CRIVersion is the type for valid Container Runtime Interface (CRI) API versions.
const ( // CRIVersionV1 references the v1 CRI API. CRIVersionV1 CRIVersion = "v1" )
Click to show internal directories.
Click to hide internal directories.