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