Documentation
¶
Overview ¶
Package response provides thin wrappers around the docker client response types. Inspect results that include daemon JSON expose it on Raw.
Index ¶
- type BuildCacheDiskUsage
- type BuildCachePrune
- type ContainerCheckpointSummary
- type ContainerCommitResponse
- type ContainerCreate
- type ContainerExecCreate
- type ContainerExecInspect
- type ContainerFilesystemChange
- type ContainerHijackedResponse
- type ContainerInspect
- type ContainerPathStat
- type ContainerPruneReport
- type ContainerStatsOneShot
- type ContainerStatsReader
- type ContainerSummary
- type ContainerTopResponse
- type ContainerUpdateResponse
- type ContainerWait
- type ContainersDiskUsage
- type DiskUsage
- type DistributionInspect
- type EngineEvent
- type ImageAttestation
- type ImageBuild
- type ImageDelete
- type ImageHistoryItem
- type ImageInspect
- type ImageLoad
- type ImageSearchResult
- type ImageSummary
- type ImagesDiskUsage
- type Info
- type NetworkCreate
- type NetworkInspect
- type NetworkPruneReport
- type NetworkSummary
- type Node
- type Ping
- type Plugin
- type PruneReport
- type RegistryLogin
- type Secret
- type ServerVersion
- type Service
- type ServiceCreate
- type ServiceUpdate
- type Swarm
- type SwarmConfig
- type Task
- type Volume
- type VolumeList
- type VolumePruneReport
- type VolumesDiskUsage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCacheDiskUsage ¶ added in v0.5.0
type BuildCacheDiskUsage struct {
ActiveCount int64
TotalCount int64
Reclaimable int64
TotalSize int64
Items []build.CacheRecord
}
BuildCacheDiskUsage is build-cache disk usage.
type BuildCachePrune ¶ added in v0.5.0
type BuildCachePrune struct {
build.CachePruneReport
}
BuildCachePrune is the result of pruning the build cache.
type ContainerCheckpointSummary ¶
type ContainerCheckpointSummary struct {
checkpoint.Summary
}
ContainerCheckpointSummary is a wrapper around the checkpoint.Summary type.
type ContainerCommitResponse ¶
type ContainerCommitResponse struct {
container.CommitResponse
}
ContainerCommitResponse is a wrapper around the container.CommitResponse type.
type ContainerCreate ¶
type ContainerCreate struct {
container.CreateResponse
}
ContainerCreate is a wrapper around the container.CreateResponse type.
type ContainerExecCreate ¶
type ContainerExecCreate struct {
container.ExecCreateResponse
}
ContainerExecCreate is a wrapper around the container.ExecCreateResponse type.
type ContainerExecInspect ¶
type ContainerExecInspect struct {
container.ExecInspectResponse
}
ContainerExecInspect is a wrapper around the container.ExecInspectResponse type.
type ContainerFilesystemChange ¶
type ContainerFilesystemChange struct {
container.FilesystemChange
}
ContainerFilesystemChange is a wrapper around the container.FilesystemChange type.
type ContainerHijackedResponse ¶
ContainerHijackedResponse is a hijacked connection to a container or exec stream.
func (*ContainerHijackedResponse) Close ¶ added in v0.5.0
func (h *ContainerHijackedResponse) Close() error
Close closes the hijacked connection.
type ContainerInspect ¶
type ContainerInspect struct {
container.InspectResponse
}
ContainerInspect is a wrapper around the container.InspectResponse type.
type ContainerPathStat ¶
ContainerPathStat is a wrapper around the container.PathStat type.
type ContainerPruneReport ¶
type ContainerPruneReport struct {
container.PruneReport
}
ContainerPruneReport is a wrapper around the container.PruneReport type.
type ContainerStatsOneShot ¶
type ContainerStatsOneShot struct {
Body io.ReadCloser
OSType string
}
ContainerStatsOneShot is one stats sample from a container.
type ContainerStatsReader ¶
type ContainerStatsReader struct {
Body io.ReadCloser
OSType string
}
ContainerStatsReader is a single stats stream from the daemon.
type ContainerSummary ¶
ContainerSummary is a wrapper around the container.Summary type.
type ContainerTopResponse ¶
type ContainerTopResponse struct {
container.TopResponse
}
ContainerTopResponse is a wrapper around the container.TopResponse type.
type ContainerUpdateResponse ¶
type ContainerUpdateResponse struct {
container.UpdateResponse
}
ContainerUpdateResponse is a wrapper around the container.UpdateResponse type.
type ContainerWait ¶
type ContainerWait struct {
container.WaitResponse
}
ContainerWait is a wrapper around the container.WaitResponse type.
type ContainersDiskUsage ¶ added in v0.5.0
type ContainersDiskUsage struct {
ActiveCount int64
TotalCount int64
Reclaimable int64
TotalSize int64
Items []container.Summary
}
ContainersDiskUsage is container disk usage.
type DiskUsage ¶ added in v0.5.0
type DiskUsage struct {
Containers ContainersDiskUsage
Images ImagesDiskUsage
Volumes VolumesDiskUsage
BuildCache BuildCacheDiskUsage
}
DiskUsage is engine disk usage.
type DistributionInspect ¶ added in v0.5.0
type DistributionInspect struct {
registry.DistributionInspect
}
DistributionInspect is a registry distribution inspect response.
type EngineEvent ¶ added in v0.5.0
EngineEvent is one engine event.
type ImageAttestation ¶ added in v0.5.0
type ImageAttestation struct {
image.AttestationStatement
}
ImageAttestation is one in-toto statement attached to an image.
type ImageBuild ¶
type ImageBuild struct {
Body io.ReadCloser
}
ImageBuild is the body of an image build response.
type ImageDelete ¶
type ImageDelete struct {
image.DeleteResponse
}
ImageDelete is a wrapper around the image.DeleteResponse type.
type ImageHistoryItem ¶
type ImageHistoryItem struct {
image.HistoryResponseItem
}
ImageHistoryItem is a wrapper around the image.HistoryResponseItem type.
type ImageInspect ¶
type ImageInspect struct {
image.InspectResponse
}
ImageInspect is a wrapper around the image.InspectResponse type.
type ImageLoad ¶
type ImageLoad struct {
Body io.ReadCloser
}
ImageLoad is the body of an image load response.
type ImageSearchResult ¶
type ImageSearchResult struct {
registry.SearchResult
}
ImageSearchResult is a wrapper around the image.SearchResponse type.
type ImageSummary ¶
ImageSummary is a wrapper around the image.Summary type.
type ImagesDiskUsage ¶ added in v0.5.0
type ImagesDiskUsage struct {
ActiveCount int64
TotalCount int64
Reclaimable int64
TotalSize int64
Items []image.Summary
}
ImagesDiskUsage is image disk usage.
type NetworkCreate ¶
type NetworkCreate struct {
network.CreateResponse
}
NetworkCreate is a wrapper around the network.CreateResponse type.
type NetworkInspect ¶
NetworkInspect is a wrapper around the network.InspectResponse type.
type NetworkPruneReport ¶
type NetworkPruneReport struct {
network.PruneReport
}
NetworkPruneReport is a wrapper around the network.PruneReport type.
type NetworkSummary ¶
NetworkSummary is a wrapper around the network.Summary type.
type PruneReport ¶
type PruneReport struct {
image.PruneReport
}
PruneReport is a wrapper around the image.PruneReport type.
type RegistryLogin ¶ added in v0.5.0
type RegistryLogin struct {
registry.AuthResponse
}
RegistryLogin is a registry login response.
type ServerVersion ¶ added in v0.5.0
type ServerVersion struct {
Platform string
Version string
APIVersion string
MinAPIVersion string
Os string
Arch string
Experimental bool
}
ServerVersion is the daemon version.
type ServiceCreate ¶ added in v0.5.0
ServiceCreate is the result of creating a swarm service.
type ServiceUpdate ¶ added in v0.5.0
type ServiceUpdate struct {
Warnings []string
}
ServiceUpdate is the result of updating a swarm service.
type SwarmConfig ¶ added in v0.5.0
SwarmConfig is a swarm config object.
type VolumeList ¶
VolumeList is a wrapper around the volume.ListResponse type.
type VolumePruneReport ¶
type VolumePruneReport struct {
volume.PruneReport
}
VolumePruneReport is a wrapper around the volume.PruneReport type.