service

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: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricIDContainerStatus = "vertex_container_status"
	MetricIDContainersCount = "vertex_containers_count"
)

Variables

View Source
var (
	ErrContainerAlreadyRunning = errors.New("the container is already running")
	ErrContainerNotRunning     = errors.New("the container is not running")
)

Functions

func NewContainerService

func NewContainerService(ctx *app.Context,
	caps port.CapAdapter,
	containers port.ContainerAdapter,
	vars port.EnvAdapter,
	ports port.PortAdapter,
	volumes port.VolumeAdapter,
	tags port.TagAdapter,
	sysctls port.SysctlAdapter,
	runner port.RunnerAdapter,
	services port.TemplateAdapter,
	logs port.LogsAdapter,
) port.ContainerService

func NewDockerKernelService

func NewDockerKernelService(adapter port.DockerAdapter) port.DockerService

func NewEnvService

func NewEnvService(env port.EnvAdapter) port.EnvService

func NewMetricsService

func NewMetricsService(ctx *apptypes.Context) port.MetricsService

func NewPortsService

func NewPortsService(ports port.PortAdapter) port.PortsService

func NewTagsService

func NewTagsService(tags port.TagAdapter) port.TagsService

Types

This section is empty.

Jump to

Keyboard shortcuts

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