null

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

README

Null

The Null plugin is used for testing and experimentation with the different plugin components.

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{}, &Builder{}, &Platform{}, &Releaser{}),
}

Options are the SDK options to use for instantiation for this plugin.

Functions

This section is empty.

Types

type Builder added in v0.11.0

type Builder struct {
	// contains filtered or unexported fields
}

func (*Builder) BuildFunc added in v0.11.0

func (b *Builder) BuildFunc() interface{}

BuildFunc implements component.Builder

func (*Builder) BuildODRFunc added in v0.11.0

func (b *Builder) BuildODRFunc() interface{}

BuildODRFunc implements component.BuilderODR

type BuilderConfig added in v0.11.0

type BuilderConfig struct{}

type Config added in v0.11.0

type Config struct{}

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

type Null added in v0.11.0

type Null struct{}

type Platform added in v0.11.0

type Platform struct {
	// contains filtered or unexported fields
}

func (*Platform) AuthFunc added in v0.11.0

func (p *Platform) AuthFunc() interface{}

AuthFunc implements component.Authenticator

func (*Platform) Config added in v0.11.0

func (p *Platform) Config() (interface{}, error)

Config implements Configurable

func (*Platform) ConfigSet added in v0.11.0

func (p *Platform) ConfigSet(interface{}) error

ConfigSet is called after a configuration has been decoded we can use this to validate the config

func (*Platform) DefaultReleaserFunc added in v0.11.0

func (p *Platform) DefaultReleaserFunc() interface{}

DefaultReleaserFunc implements component.PlatformReleaser

func (*Platform) DeployFunc added in v0.11.0

func (p *Platform) DeployFunc() interface{}

DeployFunc implements component.Platform

func (*Platform) DestroyFunc added in v0.11.0

func (p *Platform) DestroyFunc() interface{}

DestroyFunc implements component.Destroyer

func (*Platform) StatusFunc added in v0.11.0

func (p *Platform) StatusFunc() interface{}

func (*Platform) ValidateAuthFunc added in v0.11.0

func (p *Platform) ValidateAuthFunc() interface{}

ValidateAuthFunc implements component.Authenticator

type Releaser added in v0.11.0

type Releaser struct {
	// contains filtered or unexported fields
}

func (*Releaser) Config added in v0.11.0

func (r *Releaser) Config() (interface{}, error)

Config implements Configurable

func (*Releaser) DestroyFunc added in v0.11.0

func (r *Releaser) DestroyFunc() interface{}

DestroyFunc implements component.Destroyer

func (*Releaser) ReleaseFunc added in v0.11.0

func (r *Releaser) ReleaseFunc() interface{}

ReleaseFunc implements component.ReleaseManager

func (*Releaser) StatusFunc added in v0.11.0

func (r *Releaser) StatusFunc() interface{}

StatusFunc implements component.Status

type ReleaserConfig added in v0.11.0

type ReleaserConfig struct{}

Jump to

Keyboard shortcuts

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