template_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 []*sdkTemplate.TemplateNamespaceMapping, state *ResourceModel)

Types

type MergedEntities

type MergedEntities struct {
	EntitiesToCreate []*template.TemplateNamespaceMapping
	EntitiesToUpdate []*template.TemplateNamespaceMapping
	EntitiesToDelete []*template.TemplateNamespaceMapping
}

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"`
	TemplateId types.String      `tfsdk:"template_id"`
	Namespaces []*NamespaceModel `tfsdk:"namespaces"`
}

Jump to

Keyboard shortcuts

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