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.StreamProducer
- func (d *Docker) LogsName(containerName string) types.StreamProducer
- 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
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.
Click to show internal directories.
Click to hide internal directories.