Documentation
¶
Index ¶
- type Docker
- func (d *Docker) ExecCommand(containerID string, cmd []string) types.StreamsProducer
- func (d *Docker) ExecCommandByName(containerName string, cmd []string) types.StreamsProducer
- func (d *Docker) ImagesAll(ctx context.Context) (interface{}, error)
- func (d *Docker) Info(ctx context.Context) (interface{}, error)
- func (d *Docker) Inspect(containerID string) types.StructuredProducer
- func (d *Docker) InspectName(containerName string) types.StructuredProducer
- func (d *Docker) Logs(containerID string) types.StreamsProducer
- func (d *Docker) LogsName(containerName string) types.StreamsProducer
- func (d *Docker) PSAll(ctx context.Context) (interface{}, error)
- func (d *Docker) ReadFile(containerID string, path string) types.StreamProducer
- func (d *Docker) ReadFileByName(containerName string, path string) types.StreamProducer
- func (d *Docker) ReadHostFile(image string, path string) types.StreamProducer
- func (d *Docker) RunCommand(opts types.DockerRunCommandOptions) types.StreamsProducer
- func (d *Docker) ServiceLogs(name string) types.StreamsProducer
- func (d *Docker) Services() types.StructuredProducer
- func (d *Docker) StackServiceLogs(namespace string) types.StreamsProducer
- func (d *Docker) StackServices(namespace string) types.StructuredProducer
- func (d *Docker) StackTaskLogs(namespace string) types.StreamsProducer
- func (d *Docker) StackTasks(namespace string) types.StructuredProducer
- func (d *Docker) SwarmNodeTasks() types.StreamsProducer
- func (d *Docker) SwarmNodes() types.StructuredProducer
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) ExecCommand ¶
func (d *Docker) ExecCommand(containerID string, cmd []string) types.StreamsProducer
ExecCommand returns stdout and stderr results.
func (*Docker) ExecCommandByName ¶
func (d *Docker) ExecCommandByName(containerName string, cmd []string) types.StreamsProducer
func (*Docker) InspectName ¶
func (d *Docker) InspectName(containerName string) types.StructuredProducer
func (*Docker) ReadFile ¶
func (d *Docker) ReadFile(containerID string, path string) types.StreamProducer
func (*Docker) ReadFileByName ¶
func (d *Docker) ReadFileByName(containerName string, path string) types.StreamProducer
func (*Docker) ReadHostFile ¶ added in v0.3.1
func (d *Docker) ReadHostFile(image string, path string) types.StreamProducer
func (*Docker) RunCommand ¶
func (d *Docker) RunCommand(opts types.DockerRunCommandOptions) types.StreamsProducer
RunCommand returns stdout and stderr results.
func (*Docker) ServiceLogs ¶ added in v0.10.0
func (d *Docker) ServiceLogs(name string) types.StreamsProducer
func (*Docker) Services ¶ added in v0.10.0
func (d *Docker) Services() types.StructuredProducer
func (*Docker) StackServiceLogs ¶ added in v0.10.0
func (d *Docker) StackServiceLogs(namespace string) types.StreamsProducer
func (*Docker) StackServices ¶ added in v0.10.0
func (d *Docker) StackServices(namespace string) types.StructuredProducer
func (*Docker) StackTaskLogs ¶ added in v0.10.0
func (d *Docker) StackTaskLogs(namespace string) types.StreamsProducer
func (*Docker) StackTasks ¶ added in v0.10.0
func (d *Docker) StackTasks(namespace string) types.StructuredProducer
func (*Docker) SwarmNodeTasks ¶ added in v0.10.0
func (d *Docker) SwarmNodeTasks() types.StreamsProducer
func (*Docker) SwarmNodes ¶ added in v0.10.0
func (d *Docker) SwarmNodes() types.StructuredProducer
Click to show internal directories.
Click to hide internal directories.