Documentation ¶
Overview ¶
Package null contains components that do [almost] nothing, primarily aimed to ease experimentation and testing with Waypoint. For example, the null config sourcer can be used to learn about dynamic configuration without the complexity of configuring a real remote system such as Vault. This helps learn the Waypoint side of things before diving into a more real-world system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []sdk.Option{ sdk.WithComponents(&ConfigSourcer{}), }
Options are the SDK options to use for instantiation for this plugin.
Functions ¶
This section is empty.
Types ¶
type ConfigSourcer ¶
type ConfigSourcer struct {
// contains filtered or unexported fields
}
ConfigSourcer implements component.ConfigSourcer
func (*ConfigSourcer) Config ¶
func (cs *ConfigSourcer) Config() (interface{}, error)
Config implements component.Configurable
func (*ConfigSourcer) Documentation ¶
func (cs *ConfigSourcer) Documentation() (*docs.Documentation, error)
func (*ConfigSourcer) ReadFunc ¶
func (cs *ConfigSourcer) ReadFunc() interface{}
ReadFunc implements component.ConfigSourcer
func (*ConfigSourcer) StopFunc ¶
func (cs *ConfigSourcer) StopFunc() interface{}
StopFunc implements component.ConfigSourcer
Click to show internal directories.
Click to hide internal directories.