libpod

package
v5.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 63 Imported by: 0

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

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 ExistsNetwork

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

ExistsNetwork check if a network exists

func ExistsVolume

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 GetInfo

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

func ImageExists

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

func ImageResolve

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

Resolve the passed (short) name to one more candidates it may resolve to. See https://www.redhat.com/sysadmin/container-image-short-names.

One user of this endpoint is Podman Desktop which needs to figure out where an image may resolve to.

func ImageScp

func ImageScp(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)

InspectNetwork reports on given network's details

func InspectVolume

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

func KubeApply

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

func KubeGenerate

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

func KubePlay

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

func KubePlayDown

func KubePlayDown(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 ManifestAddV3

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

ManifestAddV3 remove digest from manifest list

As of 4.0.0 use ManifestModify instead

func ManifestCreate

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

func ManifestDelete

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

ManifestDelete removes a manifest list from storage

func ManifestExists

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

ManifestExists return true if manifest list exists.

func ManifestInspect

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

func ManifestModify

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

ManifestModify efficiently updates the named manifest list

func ManifestPush

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

ManifestPush push image to registry

As of 4.0.0

func ManifestPushV3

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

ManifestPushV3 push image to registry

As of 4.0.0 use ManifestPush instead

func ManifestRemoveDigestV3

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

ManifestRemoveDigestV3 remove digest from manifest list

As of 4.0.0 use ManifestModify instead

func MountContainer

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

func PlayKube

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

func PlayKubeDown

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

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 SecretExists

func SecretExists(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 SystemCheck added in v5.2.0

func SystemCheck(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 UpdateContainer

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

func UpdateNetwork

func UpdateNetwork(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