libpod

package
v4.9.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 58 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 ImageScp added in v4.2.0

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 added in v4.4.0

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

func KubeGenerate added in v4.3.0

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

func KubePlay added in v4.3.0

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

func KubePlayDown added in v4.3.0

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 added in v4.1.0

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 added in v4.1.0

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 added in v4.5.0

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 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 added in v4.3.0

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

func UpdateNetwork added in v4.4.0

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