libpod

package
v3.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 48 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultPodmanSwaggerSpec = "/usr/share/containers/podman/swagger.yaml"

DefaultPodmanSwaggerSpec provides the default path to the podman swagger spec file

Variables

This section is empty.

Functions

func Checkpoint

func Checkpoint(w http.ResponseWriter, r *http.Request)

func CommitContainer

func CommitContainer(w http.ResponseWriter, r *http.Request)

func Connect

func Connect(w http.ResponseWriter, r *http.Request)

Connect adds a container to a network

func ContainerExists

func ContainerExists(w http.ResponseWriter, r *http.Request)

func CreateContainer

func CreateContainer(w http.ResponseWriter, r *http.Request)

CreateContainer takes a specgenerator and makes a container. It returns the new container ID on success along with any warnings.

func CreateNetwork

func CreateNetwork(w http.ResponseWriter, r *http.Request)

func CreateSecret added in v3.1.0

func CreateSecret(w http.ResponseWriter, r *http.Request)

func CreateVolume

func CreateVolume(w http.ResponseWriter, r *http.Request)

func DiskUsage

func DiskUsage(w http.ResponseWriter, r *http.Request)

func ExistsManifest added in v3.1.0

func ExistsManifest(w http.ResponseWriter, r *http.Request)

ExistsManifest check if a manifest list exists

func ExistsNetwork added in v3.1.0

func ExistsNetwork(w http.ResponseWriter, r *http.Request)

ExistsNetwork check if a network exists

func ExistsVolume added in v3.1.0

func ExistsVolume(w http.ResponseWriter, r *http.Request)

ExistsVolume check if a volume exists

func ExportImage

func ExportImage(w http.ResponseWriter, r *http.Request)

func ExportImages

func ExportImages(w http.ResponseWriter, r *http.Request)

func GenerateKube

func GenerateKube(w http.ResponseWriter, r *http.Request)

func GenerateSystemd

func GenerateSystemd(w http.ResponseWriter, r *http.Request)

func GetContainer

func GetContainer(w http.ResponseWriter, r *http.Request)

func GetImage

func GetImage(w http.ResponseWriter, r *http.Request)

func GetImages

func GetImages(w http.ResponseWriter, r *http.Request)

func GetInfo

func GetInfo(w http.ResponseWriter, r *http.Request)

func ImageExists

func ImageExists(w http.ResponseWriter, r *http.Request)

func ImageTree

func ImageTree(w http.ResponseWriter, r *http.Request)

func ImagesBatchRemove

func ImagesBatchRemove(w http.ResponseWriter, r *http.Request)

ImagesBatchRemove is the endpoint for batch image removal.

func ImagesImport

func ImagesImport(w http.ResponseWriter, r *http.Request)

func ImagesLoad

func ImagesLoad(w http.ResponseWriter, r *http.Request)

func ImagesPull

func ImagesPull(w http.ResponseWriter, r *http.Request)

ImagesPull is the v2 libpod endpoint for pulling images. Note that the mandatory `reference` must be a reference to a registry (i.e., of docker transport or be normalized to one). Other transports are rejected as they do not make sense in a remote context.

func ImagesRemove

func ImagesRemove(w http.ResponseWriter, r *http.Request)

ImagesRemove is the endpoint for removing one image.

func InitContainer

func InitContainer(w http.ResponseWriter, r *http.Request)

func InspectNetwork

func InspectNetwork(w http.ResponseWriter, r *http.Request)

func InspectVolume

func InspectVolume(w http.ResponseWriter, r *http.Request)

func ListContainers

func ListContainers(w http.ResponseWriter, r *http.Request)

func ListNetworks

func ListNetworks(w http.ResponseWriter, r *http.Request)

func ListVolumes

func ListVolumes(w http.ResponseWriter, r *http.Request)

func ManifestAdd

func ManifestAdd(w http.ResponseWriter, r *http.Request)

func ManifestCreate

func ManifestCreate(w http.ResponseWriter, r *http.Request)

func ManifestInspect

func ManifestInspect(w http.ResponseWriter, r *http.Request)

func ManifestPush

func ManifestPush(w http.ResponseWriter, r *http.Request)

func ManifestRemove

func ManifestRemove(w http.ResponseWriter, r *http.Request)

func MountContainer

func MountContainer(w http.ResponseWriter, r *http.Request)

func PlayKube

func PlayKube(w http.ResponseWriter, r *http.Request)

func PlayKubeDown added in v3.4.0

func PlayKubeDown(w http.ResponseWriter, r *http.Request)

func PodCreate

func PodCreate(w http.ResponseWriter, r *http.Request)

func PodDelete

func PodDelete(w http.ResponseWriter, r *http.Request)

func PodExists

func PodExists(w http.ResponseWriter, r *http.Request)

func PodInspect

func PodInspect(w http.ResponseWriter, r *http.Request)

func PodKill

func PodKill(w http.ResponseWriter, r *http.Request)

func PodPause

func PodPause(w http.ResponseWriter, r *http.Request)

func PodPrune

func PodPrune(w http.ResponseWriter, r *http.Request)

func PodPruneHelper

func PodPruneHelper(r *http.Request) ([]*entities.PodPruneReport, error)

func PodRestart

func PodRestart(w http.ResponseWriter, r *http.Request)

func PodStart

func PodStart(w http.ResponseWriter, r *http.Request)

func PodStats

func PodStats(w http.ResponseWriter, r *http.Request)

func PodStop

func PodStop(w http.ResponseWriter, r *http.Request)

func PodTop

func PodTop(w http.ResponseWriter, r *http.Request)

func PodUnpause

func PodUnpause(w http.ResponseWriter, r *http.Request)

func Pods

func Pods(w http.ResponseWriter, r *http.Request)

func Prune added in v3.1.0

func Prune(w http.ResponseWriter, r *http.Request)

Prune removes unused networks

func PruneImages

func PruneImages(w http.ResponseWriter, r *http.Request)

func PruneVolumes

func PruneVolumes(w http.ResponseWriter, r *http.Request)

func PushImage

func PushImage(w http.ResponseWriter, r *http.Request)

PushImage is the handler for the compat http endpoint for pushing images.

func RemoveNetwork

func RemoveNetwork(w http.ResponseWriter, r *http.Request)

func RemoveVolume

func RemoveVolume(w http.ResponseWriter, r *http.Request)

func Restore

func Restore(w http.ResponseWriter, r *http.Request)

func RunHealthCheck

func RunHealthCheck(w http.ResponseWriter, r *http.Request)

func ServeSwagger

func ServeSwagger(w http.ResponseWriter, r *http.Request)

func ShouldRestart

func ShouldRestart(w http.ResponseWriter, r *http.Request)

func ShowMountedContainers

func ShowMountedContainers(w http.ResponseWriter, r *http.Request)

func StatsContainer

func StatsContainer(w http.ResponseWriter, r *http.Request)

func SystemPrune

func SystemPrune(w http.ResponseWriter, r *http.Request)

SystemPrune removes unused data

func UnmountContainer

func UnmountContainer(w http.ResponseWriter, r *http.Request)

func UntagImage

func UntagImage(w http.ResponseWriter, r *http.Request)

func WaitContainer

func WaitContainer(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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