Documentation ¶
Index ¶
- type Docker
- func (d *Docker) ContainerInspect(spec types.Spec) []types.Task
- func (d *Docker) ContainerLogs(spec types.Spec) []types.Task
- func (d *Docker) Daemon(spec types.Spec) []types.Task
- func (d *Docker) ExecCommand(spec types.Spec) []types.Task
- func (d *Docker) Inspect(spec types.Spec) []types.Task
- func (d *Docker) Logs(spec types.Spec) []types.Task
- func (d *Docker) ReadFile(spec types.Spec) []types.Task
- func (d *Docker) ReadHostFile(spec types.Spec) []types.Task
- func (d *Docker) RunCommand(spec types.Spec) []types.Task
- func (d *Docker) ServiceLogs(spec types.Spec) []types.Task
- func (d *Docker) Services(spec types.Spec) []types.Task
- func (d *Docker) StackServiceLogs(spec types.Spec) []types.Task
- func (d *Docker) StackServices(spec types.Spec) []types.Task
- func (d *Docker) StackTaskLogs(spec types.Spec) []types.Task
- func (d *Docker) StackTasks(spec types.Spec) []types.Task
- func (d *Docker) SwarmNodeTasks(spec types.Spec) []types.Task
- func (d *Docker) SwarmNodes(spec types.Spec) []types.Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) ContainerInspect ¶ added in v0.2.0
func (*Docker) ContainerLogs ¶ added in v0.2.0
func (*Docker) Daemon ¶
Daemon generates tasks to collect general information from Docker. The paths in the spec are interpreted as directories.
func (*Docker) ReadHostFile ¶ added in v0.3.1
func (*Docker) ServiceLogs ¶ added in v0.10.0
ServiceLogs gets the logs of a service, as with `docker service logs SERVICENAME`
func (*Docker) StackServiceLogs ¶ added in v0.10.0
StackServiceLogs returns the logs of services within the given namespace
func (*Docker) StackServices ¶ added in v0.10.0
StackServices returns the results of docker service ls, filtered for a given stack
func (*Docker) StackTaskLogs ¶ added in v0.10.0
StackTaskLogs returns the logs of tasks within a given namespace
func (*Docker) StackTasks ¶ added in v0.10.0
StackTasks returns the list of tasks, filtered for a given stack
func (*Docker) SwarmNodeTasks ¶ added in v0.10.0
SwarmNodeTasks returns the tasks running on each node in the swarm
Source Files ¶
Click to show internal directories.
Click to hide internal directories.