blueprint_namespace_mappings

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateStateAfterRead

func UpdateStateAfterRead(res []*sdkBlueprint.BlueprintNamespaceMapping, state *ResourceModel)

Types

type MergedEntities

type MergedEntities struct {
	EntitiesToCreate []*blueprint.BlueprintNamespaceMapping
	EntitiesToUpdate []*blueprint.BlueprintNamespaceMapping
	EntitiesToDelete []*blueprint.BlueprintNamespaceMapping
}

func Merge

func Merge(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) *MergedEntities

type NamespaceModel

type NamespaceModel struct {
	NamespaceId types.String `tfsdk:"namespace_id"`
}

func (*NamespaceModel) GetBlockIdentifier

func (e *NamespaceModel) GetBlockIdentifier() string

func (*NamespaceModel) Hash

func (e *NamespaceModel) Hash() string

type ResourceModel

type ResourceModel struct {
	ID          types.String      `tfsdk:"id"`
	BlueprintId types.String      `tfsdk:"blueprint_id"`
	Namespaces  []*NamespaceModel `tfsdk:"namespaces"`
}

Jump to

Keyboard shortcuts

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