systemblueprints

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyExclusions

func ApplyExclusions(
	all []api.Blueprint,
	excludeDeep []string,
	excludeSchema []string,
	skipSystemBlueprints bool,
	skipSystemBlueprintProperties bool,
) (iterList, dataList []api.Blueprint)

ApplyExclusions filters blueprints for iteration and output. When skipSystemBlueprints is true and skipSystemBlueprintProperties is false, known system blueprint schemas are replaced in dataList by minimal custom property patches.

func CustomPatch

func CustomPatch(bp api.Blueprint) api.Blueprint

CustomPatch returns a minimal blueprint containing only custom schema additions for known system blueprints.

func CustomPatchEqual

func CustomPatchEqual(patch, current api.Blueprint) bool

CustomPatchEqual compares a minimal custom system blueprint patch with a full current blueprint by checking only fields present in the patch.

func IsCustomPatch

func IsCustomPatch(bp api.Blueprint) bool

IsCustomPatch returns true when a blueprint is a minimal patch for a known system blueprint rather than a full blueprint schema.

func IsKnown

func IsKnown(identifier string) bool

IsKnown returns true for system blueprints whose Port-managed fields are known well enough to preserve only custom schema additions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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