docker

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Config     config.Config
	LogAdapter *log.Adapter
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg config.Config, lg *log.Adapter) (*Adapter, error)

func (*Adapter) Close

func (a *Adapter) Close(ctx context.Context)

func (*Adapter) GetAliveContainers

func (a *Adapter) GetAliveContainers(ctx context.Context) ([]string, error)

func (*Adapter) Run

func (a *Adapter) Run(ctx context.Context)

type ContainerInfo

type ContainerInfo struct {
	ID   string
	Name string
}

Jump to

Keyboard shortcuts

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