Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrHTTPClientRequired = errors.New("http client required")
)
Functions ¶
Types ¶
type ConfigurationItemsFunc ¶
type ConfigurationItemsFunc func(scopeTo string) (config.ConfigurationSet, error)
ConfigurationItemsFunc is a function type that gets configuration items. The scopeTo will indicate if there is additional scope that is needed
type Plugin ¶
type Plugin interface { // Name returns the name of the plugin Name() string }
Plugin is an interface that can be implemented for returned usage information
type PluginCreationInput ¶
type PluginCreationInput struct { Logger *zap.SugaredLogger IsInteractice bool ItemSelector SelectItemFunc ScopedTo *string HTTPClient khttp.Client }
PluginCreationInput is the input to plugin Init
type PluginPreReqs ¶
PluginPreReqs is an interface that providers have implement to indicate that they have pre-requisites that they can check for
type SelectItemFunc ¶
SelectItemFunc is a function that is used abstract the method for selecting an item from the a list of possible values. Providers shouldn't directly ask the user for input and instead should use this.
Click to show internal directories.
Click to hide internal directories.