empty

package
v0.0.0-...-26d813d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
}

func (*Runtime) Attach

func (*Runtime) CheckpointContainer

func (r *Runtime) CheckpointContainer(ctx context.Context, options *runtimeapi.CheckpointContainerRequest) error

func (*Runtime) ContainerStats

func (r *Runtime) ContainerStats(ctx context.Context, containerID string) (*runtimeapi.ContainerStats, error)

func (*Runtime) ContainerStatus

func (r *Runtime) ContainerStatus(ctx context.Context, containerID string, verbose bool) (*runtimeapi.ContainerStatusResponse, error)

func (*Runtime) CreateContainer

func (r *Runtime) CreateContainer(ctx context.Context, podSandboxID string, config *runtimeapi.ContainerConfig, sandboxConfig *runtimeapi.PodSandboxConfig) (string, error)

func (*Runtime) Exec

func (*Runtime) ExecSync

func (r *Runtime) ExecSync(ctx context.Context, containerID string, cmd []string, timeout time.Duration) (stdout []byte, stderr []byte, err error)

func (*Runtime) GetContainerEvents

func (r *Runtime) GetContainerEvents(containerEventsCh chan *runtimeapi.ContainerEventResponse) error

func (*Runtime) ImageFsInfo

func (r *Runtime) ImageFsInfo(ctx context.Context) ([]*runtimeapi.FilesystemUsage, error)

func (*Runtime) ImageStatus

func (r *Runtime) ImageStatus(ctx context.Context, image *runtimeapi.ImageSpec, verbose bool) (*runtimeapi.ImageStatusResponse, error)

func (*Runtime) ListContainerStats

func (r *Runtime) ListContainerStats(ctx context.Context, filter *runtimeapi.ContainerStatsFilter) ([]*runtimeapi.ContainerStats, error)

func (*Runtime) ListContainers

func (r *Runtime) ListContainers(ctx context.Context, filter *runtimeapi.ContainerFilter) ([]*runtimeapi.Container, error)

func (*Runtime) ListImages

func (r *Runtime) ListImages(ctx context.Context, filter *runtimeapi.ImageFilter) ([]*runtimeapi.Image, error)

func (*Runtime) ListMetricDescriptors

func (r *Runtime) ListMetricDescriptors(ctx context.Context) ([]*runtimeapi.MetricDescriptor, error)

func (*Runtime) ListPodSandbox

func (r *Runtime) ListPodSandbox(ctx context.Context, filter *runtimeapi.PodSandboxFilter) ([]*runtimeapi.PodSandbox, error)

func (*Runtime) ListPodSandboxMetrics

func (r *Runtime) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error)

func (*Runtime) ListPodSandboxStats

func (r *Runtime) ListPodSandboxStats(ctx context.Context, filter *runtimeapi.PodSandboxStatsFilter) ([]*runtimeapi.PodSandboxStats, error)

func (*Runtime) PodSandboxStats

func (r *Runtime) PodSandboxStats(ctx context.Context, podSandboxID string) (*runtimeapi.PodSandboxStats, error)

func (*Runtime) PodSandboxStatus

func (r *Runtime) PodSandboxStatus(ctx context.Context, podSandboxID string, verbose bool) (*runtimeapi.PodSandboxStatusResponse, error)

func (*Runtime) PortForward

func (*Runtime) PullImage

func (r *Runtime) PullImage(ctx context.Context, image *runtimeapi.ImageSpec, auth *runtimeapi.AuthConfig, podSandboxConfig *runtimeapi.PodSandboxConfig) (string, error)

func (*Runtime) RemoveContainer

func (r *Runtime) RemoveContainer(ctx context.Context, containerID string) error

func (*Runtime) RemoveImage

func (r *Runtime) RemoveImage(ctx context.Context, image *runtimeapi.ImageSpec) error

func (*Runtime) RemovePodSandbox

func (r *Runtime) RemovePodSandbox(ctx context.Context, podSandboxID string) error

func (*Runtime) ReopenContainerLog

func (r *Runtime) ReopenContainerLog(ctx context.Context, ContainerID string) error

func (*Runtime) RunPodSandbox

func (r *Runtime) RunPodSandbox(ctx context.Context, config *runtimeapi.PodSandboxConfig, runtimeHandler string) (string, error)

func (*Runtime) StartContainer

func (r *Runtime) StartContainer(ctx context.Context, containerID string) error

func (*Runtime) Status

func (r *Runtime) Status(ctx context.Context, verbose bool) (*runtimeapi.StatusResponse, error)

func (*Runtime) StopContainer

func (r *Runtime) StopContainer(ctx context.Context, containerID string, timeout int64) error

func (*Runtime) StopPodSandbox

func (r *Runtime) StopPodSandbox(pctx context.Context, odSandboxID string) error

func (*Runtime) UpdateContainerResources

func (r *Runtime) UpdateContainerResources(ctx context.Context, containerID string, resources *runtimeapi.ContainerResources) error

func (*Runtime) UpdateRuntimeConfig

func (r *Runtime) UpdateRuntimeConfig(ctx context.Context, runtimeConfig *runtimeapi.RuntimeConfig) error

func (*Runtime) Version

func (r *Runtime) Version(ctx context.Context, apiVersion string) (*runtimeapi.VersionResponse, error)

Jump to

Keyboard shortcuts

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