discovery

package
v0.0.0-...-38a8f93 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDiscoveryBackend

func CreateDiscoveryBackend(node common.Node, config *configuration.Configuration, overlay overlay.Overlay,
	client external.Kagetaka, resourcesMap *resources.Mapping, maxResources resources.Resources) backend.Discovery

CreateDiscoveryBackend is used to obtain a discovery backend based on the configurations.

func RegisterDiscoveryBackend

func RegisterDiscoveryBackend(discBackendName string, factory BackendFactory)

RegisterDiscoveryBackend can be used to register a discovery backend in order to be available.

Types

type BackendFactory

type BackendFactory func(node common.Node, config *configuration.Configuration, overlay overlay.Overlay,
	client external.Kagetaka, resourcesMap *resources.Mapping, maxResources resources.Resources) (backend.Discovery, error)

DiscoveryBackendFactory represents a method that creates a new discovery backend.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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