Documentation ¶
Index ¶
- func DockerLogs(ctx context.Context, cli Streamer, containerName string, lastMessage string) (logs.RAW, error)
- func GetDockers(ctx context.Context, c Lister, filts ...func(container2 types.Container) bool) ([]string, error)
- func New() (*client.Client, error)
- func StreamDockerLogs(ctx context.Context, cli Streamer, containerName string, logsChan chan string) error
- type Lister
- type Streamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerLogs ¶
func GetDockers ¶
Types ¶
type Streamer ¶
type Streamer interface { ContainerLogs( ctx context.Context, container string, options types.ContainerLogsOptions, ) (io.ReadCloser, error) }
Click to show internal directories.
Click to hide internal directories.