Documentation ¶
Index ¶
- Constants
- func Checkpoint(w http.ResponseWriter, r *http.Request)
- func CommitContainer(w http.ResponseWriter, r *http.Request)
- func Connect(w http.ResponseWriter, r *http.Request)
- func ContainerExists(w http.ResponseWriter, r *http.Request)
- func CreateContainer(w http.ResponseWriter, r *http.Request)
- func CreateNetwork(w http.ResponseWriter, r *http.Request)
- func CreateSecret(w http.ResponseWriter, r *http.Request)
- func CreateVolume(w http.ResponseWriter, r *http.Request)
- func DiskUsage(w http.ResponseWriter, r *http.Request)
- func ExistsNetwork(w http.ResponseWriter, r *http.Request)
- func ExistsVolume(w http.ResponseWriter, r *http.Request)
- func ExportImage(w http.ResponseWriter, r *http.Request)
- func ExportImages(w http.ResponseWriter, r *http.Request)
- func GenerateKube(w http.ResponseWriter, r *http.Request)
- func GenerateSystemd(w http.ResponseWriter, r *http.Request)
- func GetContainer(w http.ResponseWriter, r *http.Request)
- func GetImage(w http.ResponseWriter, r *http.Request)
- func GetInfo(w http.ResponseWriter, r *http.Request)
- func ImageExists(w http.ResponseWriter, r *http.Request)
- func ImageScp(w http.ResponseWriter, r *http.Request)
- func ImageTree(w http.ResponseWriter, r *http.Request)
- func ImagesBatchRemove(w http.ResponseWriter, r *http.Request)
- func ImagesImport(w http.ResponseWriter, r *http.Request)
- func ImagesLoad(w http.ResponseWriter, r *http.Request)
- func ImagesPull(w http.ResponseWriter, r *http.Request)
- func ImagesRemove(w http.ResponseWriter, r *http.Request)
- func InitContainer(w http.ResponseWriter, r *http.Request)
- func InspectNetwork(w http.ResponseWriter, r *http.Request)
- func InspectVolume(w http.ResponseWriter, r *http.Request)
- func KubeApply(w http.ResponseWriter, r *http.Request)
- func KubeGenerate(w http.ResponseWriter, r *http.Request)
- func KubePlay(w http.ResponseWriter, r *http.Request)
- func KubePlayDown(w http.ResponseWriter, r *http.Request)
- func ListContainers(w http.ResponseWriter, r *http.Request)
- func ListNetworks(w http.ResponseWriter, r *http.Request)
- func ListVolumes(w http.ResponseWriter, r *http.Request)
- func ManifestAddV3(w http.ResponseWriter, r *http.Request)
- func ManifestCreate(w http.ResponseWriter, r *http.Request)
- func ManifestDelete(w http.ResponseWriter, r *http.Request)
- func ManifestExists(w http.ResponseWriter, r *http.Request)
- func ManifestInspect(w http.ResponseWriter, r *http.Request)
- func ManifestModify(w http.ResponseWriter, r *http.Request)
- func ManifestPush(w http.ResponseWriter, r *http.Request)
- func ManifestPushV3(w http.ResponseWriter, r *http.Request)
- func ManifestRemoveDigestV3(w http.ResponseWriter, r *http.Request)
- func MountContainer(w http.ResponseWriter, r *http.Request)
- func PlayKube(w http.ResponseWriter, r *http.Request)
- func PlayKubeDown(w http.ResponseWriter, r *http.Request)
- func PodCreate(w http.ResponseWriter, r *http.Request)
- func PodDelete(w http.ResponseWriter, r *http.Request)
- func PodExists(w http.ResponseWriter, r *http.Request)
- func PodInspect(w http.ResponseWriter, r *http.Request)
- func PodKill(w http.ResponseWriter, r *http.Request)
- func PodPause(w http.ResponseWriter, r *http.Request)
- func PodPrune(w http.ResponseWriter, r *http.Request)
- func PodPruneHelper(r *http.Request) ([]*entities.PodPruneReport, error)
- func PodRestart(w http.ResponseWriter, r *http.Request)
- func PodStart(w http.ResponseWriter, r *http.Request)
- func PodStats(w http.ResponseWriter, r *http.Request)
- func PodStop(w http.ResponseWriter, r *http.Request)
- func PodTop(w http.ResponseWriter, r *http.Request)
- func PodUnpause(w http.ResponseWriter, r *http.Request)
- func Pods(w http.ResponseWriter, r *http.Request)
- func Prune(w http.ResponseWriter, r *http.Request)
- func PruneImages(w http.ResponseWriter, r *http.Request)
- func PruneVolumes(w http.ResponseWriter, r *http.Request)
- func PushImage(w http.ResponseWriter, r *http.Request)
- func RemoveNetwork(w http.ResponseWriter, r *http.Request)
- func RemoveVolume(w http.ResponseWriter, r *http.Request)
- func Restore(w http.ResponseWriter, r *http.Request)
- func RunHealthCheck(w http.ResponseWriter, r *http.Request)
- func SecretExists(w http.ResponseWriter, r *http.Request)
- func ServeSwagger(w http.ResponseWriter, r *http.Request)
- func ShouldRestart(w http.ResponseWriter, r *http.Request)
- func ShowMountedContainers(w http.ResponseWriter, r *http.Request)
- func StatsContainer(w http.ResponseWriter, r *http.Request)
- func SystemPrune(w http.ResponseWriter, r *http.Request)
- func UnmountContainer(w http.ResponseWriter, r *http.Request)
- func UntagImage(w http.ResponseWriter, r *http.Request)
- func UpdateContainer(w http.ResponseWriter, r *http.Request)
- func UpdateNetwork(w http.ResponseWriter, r *http.Request)
- func WaitContainer(w http.ResponseWriter, r *http.Request)
Constants ¶
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 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 ImageExists ¶
func ImageExists(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 KubeGenerate ¶ added in v4.3.0
func KubeGenerate(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 PlayKubeDown ¶
func PlayKubeDown(w http.ResponseWriter, r *http.Request)
func PodInspect ¶
func PodInspect(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 PodUnpause ¶
func PodUnpause(w http.ResponseWriter, r *http.Request)
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 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.