Documentation ¶
Index ¶
- Constants
- func ImageToImageSummary(l *libpodImage.Image) (*entities.ImageSummary, error)
- func LibpodToContainerJSON(l *libpod.Container, sz bool) (*docker.ContainerJSON, 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 ErrorModel
- type Event
- type ExecCreateConfig
- type ExecCreateResponse
- type HistoryResponse
- type IDResponse
- type ImageInspect
- type ImageLayer
- type ImageTreeResponse
- type ImagesPruneReport
- type Info
- type LibpodContainersPruneReport
- type LibpodImagesLoadReport
- type LibpodImagesPullReport
- type NetworkPruneReport
- type PodCreateConfig
- type PodTopOKBody
- type PushResult
- type Version
- type VolumesPruneReport
Constants ¶
View Source
const ( DefaultApiVersion = "1.40" // See https://docs.docker.com/engine/api/v1.40/ MinimalApiVersion = "1.24" )
Variables ¶
This section is empty.
Functions ¶
func ImageToImageSummary ¶
func ImageToImageSummary(l *libpodImage.Image) (*entities.ImageSummary, error)
func LibpodToContainerJSON ¶
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 dockerContainer.Config HostConfig dockerContainer.HostConfig NetworkingConfig dockerNetwork.NetworkingConfig }
type ErrorModel ¶
type ErrorModel struct {
Message string `json:"message"`
}
type ExecCreateConfig ¶ added in v1.9.0
type ExecCreateConfig struct {
docker.ExecConfig
}
type ExecCreateResponse ¶ added in v1.9.0
type ExecCreateResponse struct {
docker.IDResponse
}
type HistoryResponse ¶
type ImageInspect ¶
type ImageInspect struct {
docker.ImageInspect
}
func ImageDataToImageInspect ¶
func ImageDataToImageInspect(ctx context.Context, l *libpodImage.Image) (*ImageInspect, error)
type ImageLayer ¶
type ImageLayer struct{}
type ImageTreeResponse ¶
type ImageTreeResponse struct { ID string `json:"id"` Tags []string `json:"tags"` Size string `json:"size"` Layers []ImageLayer `json:"layers"` }
type ImagesPruneReport ¶
type ImagesPruneReport struct {
docker.ImagesPruneReport
}
type LibpodImagesLoadReport ¶
type LibpodImagesLoadReport struct {
ID string `json:"id"`
}
type LibpodImagesPullReport ¶
type LibpodImagesPullReport struct {
ID string `json:"id"`
}
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"` Labels []string `json:"labels"` Publish []string `json:"publish"` }
swagger:model PodCreateConfig
type PodTopOKBody ¶ added in v1.9.0
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.