system_blueprint

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeRelations

func MergeRelations(existing map[string]cli.Relation, state map[string]blueprint.RelationModel) map[string]cli.Relation

func NewResource

func NewResource() resource.Resource

func UpdateCalculationPropertiesToState

func UpdateCalculationPropertiesToState(ctx context.Context, b *cli.Blueprint, state map[string]blueprint.CalculationPropertyModel) error

func UpdateMirrorPropertiesToState

func UpdateMirrorPropertiesToState(b *cli.Blueprint, state map[string]blueprint.MirrorPropertyModel) error

func UpdateRelationsToState

func UpdateRelationsToState(b *cli.Blueprint, state map[string]blueprint.RelationModel) error

Types

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func (*Resource) Configure

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Metadata

func (*Resource) Read

func (*Resource) Schema

func (*Resource) Update

type SystemBlueprintModel added in v2.2.0

type SystemBlueprintModel struct {
	ID                    types.String                                  `tfsdk:"id"`
	Identifier            types.String                                  `tfsdk:"identifier"`
	Properties            *blueprint.PropertiesModel                    `tfsdk:"properties"`
	Relations             map[string]blueprint.RelationModel            `tfsdk:"relations"`
	MirrorProperties      map[string]blueprint.MirrorPropertyModel      `tfsdk:"mirror_properties"`
	CalculationProperties map[string]blueprint.CalculationPropertyModel `tfsdk:"calculation_properties"`
}

Jump to

Keyboard shortcuts

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