params

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultContextVars

func DefaultContextVars(config *core.Config) map[string]*bpcore.ScalarValue

DefaultContextVars produces default context variables for the current version of the deploy engine.

Types

type Provider

type Provider interface {
	// GetDefaultParams returns the default set of parameters
	// containing context for the current version of the deploy engine.
	GetDefaultParams() core.BlueprintParams
	// CreateFromRequestConfig creates a set of parameters
	// that merges the provided configuration derived from a request to
	// the deploy engine with the default parameters containing context
	// for the current version of the deploy engine.
	CreateFromRequestConfig(
		reqConfig *types.BlueprintOperationConfig,
	) core.BlueprintParams
}

Provider is an interface for a service that produces `core.BlueprintParams` to be passed into the blueprint loader for validation, change staging, and deployment. This merges deploy engine context with caller-provided configuration.

func NewDefaultProvider

func NewDefaultProvider(defaultContext map[string]*core.ScalarValue) Provider

NewDefaultProvider creates a new instance of the default params provider. This will include the provided default context values in the context variables that can be accessed through the `params.ContextVariable("key")` method in each set of blueprint parameters produced by the provider.

Jump to

Keyboard shortcuts

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