configuration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Type pluginType = "configuration"

Variables

This section is empty.

Functions

func AssembleBackdropConfig added in v0.2.0

func AssembleBackdropConfig(m plugin.Manager, name string, overrides *api.Backdrop) (*api.Backdrop, error)

func FindBuildConfig added in v0.2.0

func FindBuildConfig(m plugin.Manager, name string, overrides *api.BuildInfo) (*api.BuildInfo, error)

func MergeBackdrop added in v0.2.0

func MergeBackdrop(target *api.Backdrop, source *api.Backdrop)

func MergeBuildInfo added in v0.2.0

func MergeBuildInfo(target *api.BuildInfo, source *api.BuildInfo)

func ValidateBackdrop added in v0.3.0

func ValidateBackdrop(b *api.Backdrop) error

func ValidateBuildInfo added in v0.3.0

func ValidateBuildInfo(b *api.BuildInfo) error

Types

type Configuration

type Configuration interface {
	dodo.Plugin

	ListBackdrops() ([]*api.Backdrop, error)
	GetBackdrop(string) (*api.Backdrop, error)
}

type ErrConfigNotFound added in v0.3.0

type ErrConfigNotFound struct {
	Name   string
	Reason error
}

func (ErrConfigNotFound) Error added in v0.3.0

func (e ErrConfigNotFound) Error() string

type ErrInvalidConfig added in v0.3.0

type ErrInvalidConfig struct {
	Name    string
	Message string
}

func (ErrInvalidConfig) Error added in v0.3.0

func (e ErrInvalidConfig) Error() string

Jump to

Keyboard shortcuts

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