discovery

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoveryAndReport added in v0.1.4

func DiscoveryAndReport(dd DockDiscoverer, ctx *Context)

Types

type Context added in v0.1.4

type Context struct {
	StopChan chan bool
	ErrChan  chan error
	MetaChan chan string
}

type DockDiscoverer

type DockDiscoverer interface {
	Init() error

	Discover() error

	Report() error
}

func NewDockDiscoverer added in v0.1.8

func NewDockDiscoverer(dockType string) DockDiscoverer

NewDockDiscoverer method creates a new DockDiscoverer.

type DockRegister added in v0.1.8

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

func NewDockRegister added in v0.1.8

func NewDockRegister() *DockRegister

func (*DockRegister) Register added in v0.1.8

func (dr *DockRegister) Register(in interface{}) error

func (*DockRegister) Unregister added in v0.1.8

func (dr *DockRegister) Unregister(in interface{}) error

Jump to

Keyboard shortcuts

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