Documentation ¶
Index ¶
- 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 CreateVolume(w http.ResponseWriter, r *http.Request)
- func ExportImage(w http.ResponseWriter, r *http.Request)
- func GetContainer(w http.ResponseWriter, r *http.Request)
- func GetImage(w http.ResponseWriter, r *http.Request)
- func GetImages(w http.ResponseWriter, r *http.Request)
- func ImageExists(w http.ResponseWriter, r *http.Request)
- func ImageTree(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 InspectNetwork(w http.ResponseWriter, r *http.Request)
- func InspectVolume(w http.ResponseWriter, r *http.Request)
- func KillContainer(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 MountContainer(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 PodRestart(w http.ResponseWriter, r *http.Request)
- func PodStart(w http.ResponseWriter, r *http.Request)
- func PodStop(w http.ResponseWriter, r *http.Request)
- func PodUnpause(w http.ResponseWriter, r *http.Request)
- func Pods(w http.ResponseWriter, r *http.Request)
- func PruneImages(w http.ResponseWriter, r *http.Request)
- func PruneVolumes(w http.ResponseWriter, r *http.Request)
- func RemoveContainer(w http.ResponseWriter, r *http.Request)
- func RemoveNetwork(w http.ResponseWriter, r *http.Request)
- func RemoveVolume(w http.ResponseWriter, r *http.Request)
- func RunHealthCheck(w http.ResponseWriter, r *http.Request)
- func ShowMountedContainers(w http.ResponseWriter, r *http.Request)
- func StopContainer(w http.ResponseWriter, r *http.Request)
- func UnmountContainer(w http.ResponseWriter, r *http.Request)
- func WaitContainer(w http.ResponseWriter, r *http.Request)
- type ListContainer
- type ListContainerNamespaces
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
func ContainerExists(w http.ResponseWriter, r *http.Request)
func CreateContainer ¶ added in v1.8.1
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 CreateVolume ¶
func CreateVolume(w http.ResponseWriter, r *http.Request)
func ExportImage ¶
func ExportImage(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 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)
func InspectNetwork ¶
func InspectNetwork(w http.ResponseWriter, r *http.Request)
func InspectVolume ¶
func InspectVolume(w http.ResponseWriter, r *http.Request)
func KillContainer ¶
func KillContainer(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 MountContainer ¶
func MountContainer(w http.ResponseWriter, r *http.Request)
func PodInspect ¶
func PodInspect(w http.ResponseWriter, r *http.Request)
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 RemoveContainer ¶
func RemoveContainer(w http.ResponseWriter, r *http.Request)
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 ShowMountedContainers ¶
func ShowMountedContainers(w http.ResponseWriter, r *http.Request)
func StopContainer ¶
func StopContainer(w http.ResponseWriter, r *http.Request)
func UnmountContainer ¶
func UnmountContainer(w http.ResponseWriter, r *http.Request)
func WaitContainer ¶
func WaitContainer(w http.ResponseWriter, r *http.Request)
Types ¶
type ListContainer ¶ added in v1.8.1
type ListContainer struct { // Container command Command []string // Container creation time Created int64 // If container has exited/stopped Exited bool // Time container exited ExitedAt int64 // If container has exited, the return code from the command ExitCode int32 // The unique identifier for the container ID string `json:"Id"` // Container image Image string // If this container is a Pod infra container IsInfra bool // Labels for container Labels map[string]string // User volume mounts Mounts []string // The names assigned to the container Names []string // Namespaces the container belongs to. Requires the // namespace boolean to be true Namespaces ListContainerNamespaces // The process id of the container Pid int // If the container is part of Pod, the Pod ID. Requires the pod // boolean to be set Pod string // If the container is part of Pod, the Pod name. Requires the pod // boolean to be set PodName string // Port mappings Ports []ocicni.PortMapping // Size of the container rootfs. Requires the size boolean to be true Size *shared.ContainerSize // Time when container started StartedAt int64 // State of container State string }
Listcontainer describes a container suitable for listing
func ListContainerBatch ¶ added in v1.8.1
func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts shared.PsOptions) (ListContainer, error)
BatchContainerOp is used in ps to reduce performance hits by "batching" locks.
type ListContainerNamespaces ¶ added in v1.8.1
type ListContainerNamespaces struct { // Mount namespace MNT string `json:"Mnt,omitempty"` // Cgroup namespace Cgroup string `json:"Cgroup,omitempty"` // IPC namespace IPC string `json:"Ipc,omitempty"` // Network namespace NET string `json:"Net,omitempty"` // PID namespace PIDNS string `json:"Pidns,omitempty"` // UTS namespace UTS string `json:"Uts,omitempty"` // User namespace User string `json:"User,omitempty"` }
ListContainer Namespaces contains the identifiers of the container's Linux namespaces
Click to show internal directories.
Click to hide internal directories.