docker

package
v0.0.0-...-d52619c Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: LGPL-2.1 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerFactory

func DockerFactory(cfg map[string]interface{}) (api.Filter, error)

Types

type Containers

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

func NewContainers

func NewContainers() *Containers

func (*Containers) Add

func (c *Containers) Add(container *types.ContainerJSON) bool

func (*Containers) ByListen

func (c *Containers) ByListen(listen string) *types.ContainerJSON

func (*Containers) Remove

func (c *Containers) Remove(id string) bool

type DockerProvider

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

func New

func New(client *client.Client) *DockerProvider

func (*DockerProvider) Filter

func (dp *DockerProvider) Filter(ctx context.Context, ts time.Time, data *fastjson.Value, meta map[string]interface{}) error

func (*DockerProvider) Start

func (dp *DockerProvider) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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