podman

package
v0.0.0-...-119a651 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodmanRuntime

type PodmanRuntime struct {
	Stop context.CancelFunc
	// contains filtered or unexported fields
}

func NewPodmanRuntime

func NewPodmanRuntime() (*PodmanRuntime, error)

func (*PodmanRuntime) GetContainerFromID

func (r *PodmanRuntime) GetContainerFromID(containerId string) (*models.Container, error)

GetContainerFromID retrieve a specific container using its ID

func (*PodmanRuntime) GetContainerFromName

func (r *PodmanRuntime) GetContainerFromName(containerName string) (*models.Container, error)

GetContainerFromName retrieve a specific container using its name

func (*PodmanRuntime) GetInfraContainerFromPod

func (r *PodmanRuntime) GetInfraContainerFromPod(pod *libpod.Pod) (*models.Container, error)

func (*PodmanRuntime) GetPodFromID

func (r *PodmanRuntime) GetPodFromID(podId string) (*models.PodmanPod, error)

func (*PodmanRuntime) GetPodFromName

func (r *PodmanRuntime) GetPodFromName(podName string) (*models.PodmanPod, error)

func (*PodmanRuntime) ListContainers

func (r *PodmanRuntime) ListContainers() ([]*models.Container, error)

ListContainers retrieve all containers

func (*PodmanRuntime) ListPods

func (r *PodmanRuntime) ListPods() ([]*models.PodmanPod, error)

Jump to

Keyboard shortcuts

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