web

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(addr string, metas <-chan []docker.Meta)

func StartHandler

func StartHandler(updates <-chan []docker.Meta) *handler

Types

type Item

type Item struct {
	Name              string
	Address           string
	Labels            []string
	HasJob            bool
	IsExported        bool
	IsInTargetNetwork bool
	HasTCPPorts       bool // at least 1 TCP port
	HasExplicitPort   bool // explicit or single port
}

type View

type View struct {
	Total    int
	WithJob  int
	OKs      int
	Errors   int
	Warnings int
	Items    []Item
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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