Documentation ¶
Index ¶
- Constants
- func AssembleBackdropConfig(m plugin.Manager, name string, overrides *core.Backdrop) (*core.Backdrop, error)
- func FindBuildConfig(m plugin.Manager, name string, overrides *core.BuildInfo) (*core.BuildInfo, error)
- func MergeBackdrop(target, source *core.Backdrop)
- func MergeBuildInfo(target, source *core.BuildInfo)
- func NewGRPCServer(impl Configuration) configuration.PluginServer
- func ValidateBackdrop(b *core.Backdrop) error
- func ValidateBuildInfo(b *core.BuildInfo) error
- type Configuration
- type InvalidError
- type NotFoundError
Constants ¶
View Source
const Type pluginType = "configuration"
Variables ¶
This section is empty.
Functions ¶
func AssembleBackdropConfig ¶
func FindBuildConfig ¶
func MergeBackdrop ¶
func MergeBuildInfo ¶
func NewGRPCServer ¶
func NewGRPCServer(impl Configuration) configuration.PluginServer
func ValidateBackdrop ¶
func ValidateBuildInfo ¶
Types ¶
type Configuration ¶
type Configuration interface { dodo.Plugin ListBackdrops() ([]*core.Backdrop, error) GetBackdrop(string) (*core.Backdrop, error) }
func NewGRPCClient ¶
func NewGRPCClient(conn grpc.ClientConnInterface) Configuration
type InvalidError ¶
func (InvalidError) Error ¶
func (e InvalidError) Error() string
type NotFoundError ¶
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.