cri

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConnectionTimeout = 15 * time.Second
)

Variables

This section is empty.

Functions

func EndpointParser

func EndpointParser(endpoint string) (proto string, path string, err error)

EndpointParser returns protocol and path of provided endpoint

Types

type RuntimeService

type RuntimeService interface {
	ContainerInfo(id string) (*containerInfo, error)
	Close() error
}

RuntimeService is the client API for RuntimeService service.

func NewRemoteRuntimeService

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

NewRemoteRuntimeService creates a new RuntimeService.

Jump to

Keyboard shortcuts

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