Documentation ¶
Index ¶
- func ImageToImageSummary(l *libimage.Image) (*entities.ImageSummary, error)
- func NewAPIDecoder() *schema.Decoder
- func ParseDateTime(query string) time.Time
- type AuthConfig
- type BuildCachePruneReport
- type BuildResult
- type ConfigCreateResponse
- type Container
- type ContainerConfig
- type ContainerTopOKBody
- type ContainerWaitOKBody
- type ContainersPruneReport
- type CreateContainerConfig
- type DiskUsage
- type ExecCreateConfig
- type ExecCreateResponse
- type ExecStartConfig
- type HistoryResponse
- type IDResponse
- type ImageInspect
- type ImagesPruneReport
- type Info
- type LibpodContainersPruneReport
- type LibpodImagesPullReport
- type LibpodImagesRemoveReport
- type NetworkPruneReport
- type PodCreateConfig
- type PodTopOKBody
- type PushResult
- type VolumesPruneReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageToImageSummary ¶
func ImageToImageSummary(l *libimage.Image) (*entities.ImageSummary, error)
func NewAPIDecoder ¶
NewAPIDecoder returns a configured schema.Decoder
func ParseDateTime ¶
ParseDateTime is a helper function to aid in parsing different Time/Date formats isZero() can be used to determine if parsing failed.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
docker.AuthConfig
}
type BuildCachePruneReport ¶
type BuildCachePruneReport struct {
docker.BuildCachePruneReport
}
type BuildResult ¶
type BuildResult struct {
docker.BuildResult
}
type ConfigCreateResponse ¶
type ConfigCreateResponse struct {
docker.ConfigCreateResponse
}
type ContainerConfig ¶
type ContainerConfig struct {
dockerContainer.Config
}
type ContainerTopOKBody ¶
type ContainerTopOKBody struct {
dockerContainer.ContainerTopOKBody
}
type ContainerWaitOKBody ¶
type ContainersPruneReport ¶
type ContainersPruneReport struct {
docker.ContainersPruneReport
}
type CreateContainerConfig ¶
type CreateContainerConfig struct { Name string // container name dockerContainer.Config // desired container configuration HostConfig dockerContainer.HostConfig // host dependent configuration for container NetworkingConfig dockerNetwork.NetworkingConfig // network configuration for container }
CreateContainerConfig used when compatible endpoint creates a container
type ExecCreateConfig ¶
type ExecCreateConfig struct {
docker.ExecConfig
}
type ExecCreateResponse ¶
type ExecCreateResponse struct {
docker.IDResponse
}
type ExecStartConfig ¶
type HistoryResponse ¶
type HistoryResponse struct { ID string `json:"Id"` Created int64 CreatedBy string Tags []string Size int64 Comment string }
HistoryResponse provides details on image layers
type ImagesPruneReport ¶
type ImagesPruneReport struct {
docker.ImagesPruneReport
}
type LibpodImagesPullReport ¶
type LibpodImagesPullReport struct {
entities.ImagePullReport
}
type LibpodImagesRemoveReport ¶
type LibpodImagesRemoveReport struct { entities.ImageRemoveReport // Image removal requires is to return data and an error. Errors []string }
LibpodImagesRemoveReport is the return type for image removal via the rest api.
type NetworkPruneReport ¶
type NetworkPruneReport struct {
docker.NetworksPruneReport
}
type PodCreateConfig ¶
type PodCreateConfig struct { Name string `json:"name"` CGroupParent string `json:"cgroup-parent"` Hostname string `json:"hostname"` Infra bool `json:"infra"` InfraCommand string `json:"infra-command"` InfraImage string `json:"infra-image"` InfraName string `json:"infra-name"` Labels []string `json:"labels"` Publish []string `json:"publish"` }
swagger:model PodCreateConfig
type PodTopOKBody ¶
type PodTopOKBody struct {
dockerContainer.ContainerTopOKBody
}
type PushResult ¶
type PushResult struct {
docker.PushResult
}
type VolumesPruneReport ¶
type VolumesPruneReport struct {
docker.VolumesPruneReport
}
Click to show internal directories.
Click to hide internal directories.