Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProviderFactory ¶
func ProviderFactory(options plugin_v1.ProviderOptions) (plugin_v1.Provider, error)
ProviderFactory constructs a EnvironmentProvider. No configuration or credentials are required.
Types ¶
type EnvironmentProvider ¶
type EnvironmentProvider struct {
Name string
}
EnvironmentProvider provides data values from the process environment.
func (*EnvironmentProvider) GetName ¶
func (p *EnvironmentProvider) GetName() string
GetName returns the name of the provider
func (*EnvironmentProvider) GetValue ¶
func (p *EnvironmentProvider) GetValue(id string) (result []byte, err error)
GetValue obtains a value by ID. Any environment is a recognized ID.
func (*EnvironmentProvider) GetValues ¶ added in v1.7.1
func (p *EnvironmentProvider) GetValues(ids ...string) (map[string]plugin_v1.ProviderResponse, error)
GetValues takes in variable ids and returns their resolved values. This method is needed to the Provider interface
Click to show internal directories.
Click to hide internal directories.