docker

package
v0.0.0-...-ceaf58e Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client wraps the Docker client with our business logic

func NewClient

func NewClient(defaultTags []string) (*Client, error)

NewClient creates a new Docker client

func (*Client) Close

func (c *Client) Close() error

Close closes the Docker client

func (*Client) GetEnabledContainers

func (c *Client) GetEnabledContainers(ctx context.Context) ([]*apptypes.ContainerService, error)

GetEnabledContainers returns all running containers with docktail.service.enable=true

func (*Client) WatchEvents

func (c *Client) WatchEvents(ctx context.Context) (<-chan events.Message, <-chan error)

WatchEvents streams Docker container events

Jump to

Keyboard shortcuts

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