null

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL