Documentation
¶
Index ¶
- Constants
- Variables
- func NewContainerService(ctx *app.Context, caps port.CapAdapter, containers port.ContainerAdapter, ...) port.ContainerService
- func NewDockerKernelService(adapter port.DockerAdapter) port.DockerService
- func NewEnvService(env port.EnvAdapter) port.EnvService
- func NewMetricsService(ctx *apptypes.Context) port.MetricsService
- func NewPortsService(ports port.PortAdapter) port.PortsService
- func NewTagsService(tags port.TagAdapter) port.TagsService
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.
Click to show internal directories.
Click to hide internal directories.