container

package
v0.0.0-...-3c51dfe Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainers

func GetContainers() ([]types.Container, error)

func GetScrapeURIs

func GetScrapeURIs() (map[string]Container, error)

func WatchChanges

func WatchChanges(ctx context.Context, interval int) chan Change

Types

type Change

type Change struct {
	Action string
	C      Container
}

type Container

type Container struct {
	Name      string
	ID        string
	IPAddress string
	URI       string
}

Jump to

Keyboard shortcuts

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