Documentation
¶
Index ¶
- func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*template.Template, bool)
- func UpdateStateAfterRead(res *sdkTemplate.Template, state *ResourceModel)
- type IacConfigModel
- type PolicyModel
- type ResourceModel
- type TtlConfigModel
- type TtlDefinitionModel
- type VcsInfoModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Converter ¶
func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*template.Template, bool)
func UpdateStateAfterRead ¶
func UpdateStateAfterRead(res *sdkTemplate.Template, state *ResourceModel)
Types ¶
type IacConfigModel ¶ added in v1.19.0
type PolicyModel ¶
type PolicyModel struct {
TtlConfig *TtlConfigModel `tfsdk:"ttl_config"`
}
type ResourceModel ¶
type ResourceModel struct {
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
IacType types.String `tfsdk:"iac_type"`
Description types.String `tfsdk:"description"`
VcsInfo *VcsInfoModel `tfsdk:"vcs_info"`
Policy *PolicyModel `tfsdk:"policy"`
SkipStateRefreshOnDestroy types.Bool `tfsdk:"skip_state_refresh_on_destroy"`
IacConfig *IacConfigModel `tfsdk:"iac_config"`
RunnerConfig *cross_models.RunnerConfigModel `tfsdk:"runner_config"`
}
type TtlConfigModel ¶
type TtlConfigModel struct {
MaxTtl *TtlDefinitionModel `tfsdk:"max_ttl"`
DefaultTtl *TtlDefinitionModel `tfsdk:"default_ttl"`
}
type TtlDefinitionModel ¶
Click to show internal directories.
Click to hide internal directories.