producers

package
v0.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogsReaderIdleTimeout = 20 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	// contains filtered or unexported fields
}

func New

func New(dockerClient docker.CommonAPIClient) *Docker

func (*Docker) ContainerCp

func (d *Docker) ContainerCp(containerID string, path string) types.StreamProducer

func (*Docker) ContainerExec

func (d *Docker) ContainerExec(containerID string, opts dockertypes.ExecConfig) types.StreamsProducer

func (*Docker) ContainerInspect

func (d *Docker) ContainerInspect(container string) types.StructuredProducer

func (*Docker) ContainerLogs

func (d *Docker) ContainerLogs(container string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer

func (*Docker) ContainerLs

func (*Docker) ContainerRun

func (*Docker) ImageLs

func (*Docker) Info

func (d *Docker) Info(ctx context.Context) (interface{}, error)

func (*Docker) NodeLs

func (*Docker) ServiceLogs

func (d *Docker) ServiceLogs(serviceID string, basename string, opts *dockertypes.ContainerLogsOptions) types.StreamsProducer

func (*Docker) ServiceLs

func (*Docker) TaskLogs

func (*Docker) TaskLs

func (*Docker) Version

func (d *Docker) Version(ctx context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL