containerization

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	Client        *client.Client
	ContainerName string
}

func NewDocker

func NewDocker(conf *config.Docker) (*Docker, error)

func (*Docker) GetLogs

func (d *Docker) GetLogs() (io.ReadCloser, error)

func (*Docker) ReConnect

func (d *Docker) ReConnect() io.ReadCloser

type DockerAPI

type DockerAPI interface {
	GetLogs() (io.ReadCloser, error)
	ReConnect() io.ReadCloser
}

Jump to

Keyboard shortcuts

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