pkg

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerProvider

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

func NewLocalDockerProvider

func NewLocalDockerProvider() *DockerProvider

func (*DockerProvider) GetSources

func (dp *DockerProvider) GetSources() []Source

func (*DockerProvider) Name

func (dp *DockerProvider) Name() string

func (*DockerProvider) Refresh

func (dp *DockerProvider) Refresh(ctx context.Context)

type DockerSource

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

func (*DockerSource) Name

func (ds *DockerSource) Name() string

func (*DockerSource) Tail

func (ds *DockerSource) Tail(ctx context.Context, follow bool, tail string) (io.ReadCloser, io.ReadCloser)

type Provider

type Provider interface {
	Name() string
	ListSources() []Source
}

type Source

type Source interface {
	Name() string
	Tail(ctx context.Context, follow bool, tail string) (io.ReadCloser, io.ReadCloser)
}

Jump to

Keyboard shortcuts

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