Documentation
¶
Index ¶
- Variables
- func NewRawClient() (*client.Client, error)
- type Client
- func (c *Client) BuildCachePrune(ctx context.Context, all bool, filterMap map[string][]string) (build.CachePruneReport, error)
- func (c *Client) Close() error
- func (c *Client) ContainerInspect(ctx context.Context, containerID string) (container.InspectResponse, error)
- func (c *Client) ContainerList(ctx context.Context, filterLabels map[string][]string) ([]container.Summary, error)
- func (c *Client) ContainerListAll(ctx context.Context) ([]container.Summary, error)
- func (c *Client) ContainerPrune(ctx context.Context, filterMap map[string][]string) (container.PruneReport, error)
- func (c *Client) ContainerRemove(ctx context.Context, containerID string, ...) error
- func (c *Client) ContainerStats(ctx context.Context, containerID string, stream bool) (container.StatsResponseReader, error)
- func (c *Client) GetNetworksByLabels(ctx context.Context, labels map[string]string) ([]network.Summary, error)
- func (c *Client) GetVolumesByLabels(ctx context.Context, labels map[string]string) ([]*volume.Volume, error)
- func (c *Client) ImageHistory(ctx context.Context, imageID string) ([]image.HistoryResponseItem, error)
- func (c *Client) ImageInspect(ctx context.Context, imageID string) (image.InspectResponse, error)
- func (c *Client) ImageList(ctx context.Context) ([]image.Summary, error)
- func (c *Client) ImagePrune(ctx context.Context, all bool, filterMap map[string][]string) (image.PruneReport, error)
- func (c *Client) ImageRemove(ctx context.Context, imageID string, force, noPrune bool) ([]image.DeleteResponse, error)
- func (c *Client) InspectNetwork(ctx context.Context, networkID string) (network.Inspect, error)
- func (c *Client) InspectVolume(ctx context.Context, volumeID string) (*volume.Volume, error)
- func (c *Client) ListNetworks(ctx context.Context) ([]network.Summary, error)
- func (c *Client) ListVolumes(ctx context.Context) (volume.ListResponse, error)
- func (c *Client) NetworkPrune(ctx context.Context, filterMap map[string][]string) (network.PruneReport, error)
- func (c *Client) NetworkRemove(ctx context.Context, networkID string) error
- func (c *Client) SystemDiskUsage(ctx context.Context) (types.DiskUsage, error)
- func (c *Client) SystemInfo(ctx context.Context) (system.Info, error)
- func (c *Client) SystemPrune(ctx context.Context, all bool, filterMap map[string][]string) (SystemPruneReport, error)
- func (c *Client) SystemVersion(ctx context.Context) (types.Version, error)
- func (c *Client) VolumePrune(ctx context.Context, filterMap map[string][]string) (volume.PruneReport, error)
- func (c *Client) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- type CommandExecutor
- type DockerEvent
- type DockerEventActor
- type EventMonitor
- type SystemPruneReport
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewClient), fx.Provide(NewRawClient), )
Functions ¶
func NewRawClient ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuildCachePrune ¶
func (*Client) ContainerInspect ¶
func (*Client) ContainerList ¶
func (*Client) ContainerListAll ¶
func (*Client) ContainerPrune ¶
func (*Client) ContainerRemove ¶
func (*Client) ContainerStats ¶
func (*Client) GetNetworksByLabels ¶
func (*Client) GetVolumesByLabels ¶
func (*Client) ImageHistory ¶
func (*Client) ImageInspect ¶
func (*Client) ImagePrune ¶
func (*Client) ImageRemove ¶
func (*Client) InspectNetwork ¶
func (*Client) InspectVolume ¶
func (*Client) ListNetworks ¶
func (*Client) ListVolumes ¶
func (*Client) NetworkPrune ¶
func (*Client) NetworkRemove ¶
func (*Client) SystemDiskUsage ¶
func (*Client) SystemPrune ¶
func (*Client) SystemVersion ¶
func (*Client) VolumePrune ¶
type CommandExecutor ¶
type CommandExecutor struct {
// contains filtered or unexported fields
}
func NewCommandExecutor ¶
func NewCommandExecutor(stackLocation string) *CommandExecutor
func (*CommandExecutor) ExecuteComposeCommand ¶
type DockerEvent ¶
type DockerEvent struct {
Type string `json:"Type"`
Action string `json:"Action"`
Actor DockerEventActor `json:"Actor"`
Time int64 `json:"time"`
TimeNano int64 `json:"timeNano"`
}
type DockerEventActor ¶
type EventMonitor ¶
type EventMonitor struct {
// contains filtered or unexported fields
}
func NewEventMonitor ¶
func (*EventMonitor) Start ¶
func (em *EventMonitor) Start() error
func (*EventMonitor) Stop ¶
func (em *EventMonitor) Stop()
type SystemPruneReport ¶
Click to show internal directories.
Click to hide internal directories.