adapter

package
v0.0.0-...-5d951de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoggerNotFound = errors.NotFoundf("logger")
)

Functions

func NewCapDBAdapter

func NewCapDBAdapter(db storage.DB) port.CapAdapter

func NewContainerDBAdapter

func NewContainerDBAdapter(db storage.DB) port.ContainerAdapter

func NewDockerCliAdapter

func NewDockerCliAdapter() port.DockerAdapter

func NewEnvDBAdapter

func NewEnvDBAdapter(db storage.DB) port.EnvAdapter

func NewLogsFSAdapter

func NewLogsFSAdapter(params *LogsFSAdapterParams) port.LogsAdapter

func NewPortDBAdapter

func NewPortDBAdapter(db storage.DB) port.PortAdapter

func NewRunnerDockerAdapter

func NewRunnerDockerAdapter() port.RunnerAdapter

func NewSysctlDBAdapter

func NewSysctlDBAdapter(db storage.DB) port.SysctlAdapter

func NewTagDBAdapter

func NewTagDBAdapter(db storage.DB) port.TagAdapter

func NewTemplateFSAdapter

func NewTemplateFSAdapter(params *TemplateFSAdapterParams) port.TemplateAdapter

func NewVolumeDBAdapter

func NewVolumeDBAdapter(db storage.DB) port.VolumeAdapter

Types

type ContainerLogger

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

func (*ContainerLogger) Close

func (l *ContainerLogger) Close() error

func (*ContainerLogger) Open

func (l *ContainerLogger) Open() error

type LogsFSAdapterParams

type LogsFSAdapterParams struct {
	ContainersPath string
}

type TemplateFSAdapterParams

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

Jump to

Keyboard shortcuts

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