Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolFeatureValue ¶ added in v0.4.0
type BoolFeatureValue bool
Boolean feature value
func (BoolFeatureValue) String ¶ added in v0.4.0
func (b BoolFeatureValue) String() string
type FeatureSource ¶
type FeatureSource interface { // Name returns a friendly name for this source of node feature. Name() string // Discover returns discovered features for this node. Discover() (Features, error) }
FeatureSource represents a source of a discovered node feature.
type Features ¶ added in v0.4.0
type Features map[string]FeatureValue
type MockFeatureSource ¶ added in v0.4.0
MockFeatureSource is an autogenerated mock type for the FeatureSource type
func (*MockFeatureSource) Discover ¶ added in v0.4.0
func (_m *MockFeatureSource) Discover() (Features, error)
Discover provides a mock function with given fields:
func (*MockFeatureSource) Name ¶ added in v0.4.0
func (_m *MockFeatureSource) Name() string
Name provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.