monitor

package
v0.0.0-...-b21754d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filler

type Filler interface {
	Fill(service *domain.ServiceStatus, container *datastruct.Container)
}

type Monitor

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

func NewMonitor

func NewMonitor(docker *client.Client, urlResolver Filler, networkName string, currentContainerID string) *Monitor

func (*Monitor) KillContainer

func (m *Monitor) KillContainer(ctx context.Context, containerID string) error

func (*Monitor) Show

func (m *Monitor) Show(ctx context.Context) ([]*domain.ServiceStatus, error)

Jump to

Keyboard shortcuts

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