podman

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodmanConnection

func GetPodmanConnection() (context.Context, error)

Types

type NoOpPodmanRuntime

type NoOpPodmanRuntime struct{}

func NewRuntime

func NewRuntime(rootdir string) (*NoOpPodmanRuntime, error)

func (NoOpPodmanRuntime) ContainerStatus

func (n NoOpPodmanRuntime) ContainerStatus(unitName, unitImage string) (*api.UnitStatus, error)

func (NoOpPodmanRuntime) CreateContainer

func (n NoOpPodmanRuntime) CreateContainer(unit api.Unit, spec *api.PodSpec, podName string, registryCredentials map[string]api.RegistryCredentials, useOverlayfs bool) (*api.UnitStatus, error)

func (NoOpPodmanRuntime) GetLogBuffer

func (n NoOpPodmanRuntime) GetLogBuffer(options runtime.LogOptions) (*logbuf.LogBuffer, error)

func (NoOpPodmanRuntime) GetPid

func (n NoOpPodmanRuntime) GetPid(unitName string) (int, bool)

func (NoOpPodmanRuntime) ReadSystemMetrics

func (n NoOpPodmanRuntime) ReadSystemMetrics(s string) api.ResourceMetrics

func (NoOpPodmanRuntime) ReadUnitMetrics

func (n NoOpPodmanRuntime) ReadUnitMetrics(s string) api.ResourceMetrics

func (NoOpPodmanRuntime) RemoveContainer

func (n NoOpPodmanRuntime) RemoveContainer(unit *api.Unit) error

func (NoOpPodmanRuntime) RemovePodSandbox

func (n NoOpPodmanRuntime) RemovePodSandbox(spec *api.PodSpec) error

func (NoOpPodmanRuntime) RunPodSandbox

func (n NoOpPodmanRuntime) RunPodSandbox(spec *api.PodSpec) error

func (NoOpPodmanRuntime) SetPodNetwork

func (n NoOpPodmanRuntime) SetPodNetwork(netNS, podIP string)

func (NoOpPodmanRuntime) StartContainer

func (n NoOpPodmanRuntime) StartContainer(unit api.Unit, spec *api.PodSpec, podName string) (*api.UnitStatus, error)

func (NoOpPodmanRuntime) StopPodSandbox

func (n NoOpPodmanRuntime) StopPodSandbox(spec *api.PodSpec) error

func (NoOpPodmanRuntime) UnitRunning

func (n NoOpPodmanRuntime) UnitRunning(unitName string) bool

Jump to

Keyboard shortcuts

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