configuration

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const Type pluginType = "configuration"

Variables

This section is empty.

Functions

func AssembleBackdropConfig

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

func FindBuildConfig

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

func MergeBackdrop

func MergeBackdrop(target, source *api.Backdrop)

func MergeBuildInfo

func MergeBuildInfo(target, source *api.BuildInfo)

func ValidateBackdrop

func ValidateBackdrop(b *api.Backdrop) error

func ValidateBuildInfo

func ValidateBuildInfo(b *api.BuildInfo) error

Types

type Configuration

type Configuration interface {
	dodo.Plugin

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

type InvalidError

type InvalidError struct {
	Name    string
	Message string
}

func (InvalidError) Error

func (e InvalidError) Error() string

type NotFoundError

type NotFoundError struct {
	Name   string
	Reason error
}

func (NotFoundError) Error

func (e NotFoundError) Error() string

Jump to

Keyboard shortcuts

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