speccore

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlueprintSpec

type BlueprintSpec interface {
	// ResourceSchema provides a convenient way to get the
	// schema for a resource without having to first get
	// the blueprint spec.
	ResourceSchema(resourceName string) *schema.Resource
	// Schema retrieves the schema for a loaded
	// blueprint.
	Schema() *schema.Blueprint
}

BlueprintSpec provides an interface for a service that holds a parsed blueprint schema and direct access to resource schemas. This interface is provided to decouple containers and loaders to make every component of the blueprint mechanism composable.

func BlueprintSpecFromSchema added in v0.42.0

func BlueprintSpecFromSchema(bp *schema.Blueprint) BlueprintSpec

BlueprintSpecFromSchema creates a BlueprintSpec from a parsed blueprint schema.

Jump to

Keyboard shortcuts

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