monitor

package
v0.0.0-...-733d78f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 13 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, opts Opts) ([]*domain.ServiceStatus, error)

type Opts

type Opts struct {
	Concurrent int
}

Jump to

Keyboard shortcuts

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