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 ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.