process

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: 15 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 {
	empty.Runtime
	// contains filtered or unexported fields
}

func NewRuntime

func NewRuntime(dep *RuntimeDependence) (*Runtime, 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) (id string, retErr error)

func (*Runtime) ImageStatus

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

func (*Runtime) ListContainers

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

func (*Runtime) ListPodSandbox

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

func (*Runtime) PodSandboxStatus

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

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) 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) (id string, retErr error)

func (*Runtime) StartContainer

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

func (*Runtime) StopContainer

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

func (*Runtime) StopPodSandbox

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

func (*Runtime) Version

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

type RuntimeDependence

type RuntimeDependence struct {
	HostIP         string
	SandboxRootDir string
	ImageRootDir   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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