Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Discoverers = map[string]Initializer{}
Functions ¶
func Register ¶
func Register(name string, initFn Initializer)
Types ¶
type Discoverer ¶
type Discoverer interface { // Discover the target Discover(ctx context.Context, t *target.Target) (*invv1alpha1.DiscoveryInfo, error) // GetProvider gets the provider name GetProvider() string }
Discoverer discovers the target and returns discoveryInfo such as chassis type, SW version, SerialNumber, etc
type Initializer ¶
type Initializer func() Discoverer
Click to show internal directories.
Click to hide internal directories.