register

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists added in v0.9.0

func Exists(name string) bool

Exists checks if a provider is regstered

func GetProvider

func GetProvider(name string, cfg InitConfig) (providers.Provider, error)

GetProvider gets the provider specified by the given name

func List added in v0.9.0

func List() []string

List gets the list of all provider names

Types

type InitConfig

type InitConfig struct {
	ConfigPath      string
	NodeName        string
	OperatingSystem string
	InternalIP      string
	DaemonPort      int32
	ResourceManager *manager.ResourceManager
}

InitConfig is the config passed to initialize a registered provider.

Jump to

Keyboard shortcuts

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