remote

package
v1.23.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package remote contains gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteImageService

func NewRemoteImageService(endpoint string, connectionTimeout time.Duration) (internalapi.ImageManagerService, error)

NewRemoteImageService creates a new internalapi.ImageManagerService.

func NewRemoteRuntimeService

func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration) (internalapi.RuntimeService, error)

NewRemoteRuntimeService creates a new internalapi.RuntimeService.

Types

type CRIVersion added in v1.23.0

type CRIVersion string

CRIVersion is the type for valid Container Runtime Interface (CRI) API versions.

const (
	// APIVersionV1 references the v1 CRI API.
	CRIVersionV1 CRIVersion = "v1"

	// CRIVersionV1alpha2 references the v1alpha2 CRI API.
	CRIVersionV1alpha2 CRIVersion = "v1alpha2"
)

Directories

Path Synopsis
Package fake containers a fake gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
Package fake containers a fake gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.

Jump to

Keyboard shortcuts

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