Documentation
¶
Index ¶
- func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*sdkStack.Stack, bool)
- func UpdateStateAfterRead(res *sdkStack.Stack, state *ResourceModel)
- type CapabilitiesModel
- type CapabilityConfigModel
- 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) (*sdkStack.Stack, bool)
func UpdateStateAfterRead ¶
func UpdateStateAfterRead(res *sdkStack.Stack, state *ResourceModel)
Types ¶
type CapabilitiesModel ¶ added in v1.19.0
type CapabilitiesModel struct {
DeployOnPush *CapabilityConfigModel `tfsdk:"deploy_on_push"`
PlanOnPr *CapabilityConfigModel `tfsdk:"plan_on_pr"`
DriftDetection *CapabilityConfigModel `tfsdk:"drift_detection"`
}
type CapabilityConfigModel ¶ 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"`
IacType types.String `tfsdk:"iac_type"`
NamespaceId types.String `tfsdk:"namespace_id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
DeploymentBehavior *cross_models.DeploymentBehaviorModel `tfsdk:"deployment_behavior"`
DeploymentApprovalPolicy *cross_models.DeploymentApprovalPolicyModel `tfsdk:"deployment_approval_policy"`
VcsInfo *VcsInfoModel `tfsdk:"vcs_info"`
RunTrigger *cross_models.RunTriggerModel `tfsdk:"run_trigger"`
IacConfig *cross_models.IacConfigModel `tfsdk:"iac_config"`
Policy *PolicyModel `tfsdk:"policy"`
RunnerConfig *cross_models.RunnerConfigModel `tfsdk:"runner_config"`
Capabilities *CapabilitiesModel `tfsdk:"capabilities"`
AutoSync *cross_models.AutoSyncModel `tfsdk:"auto_sync"`
}
type TtlConfigModel ¶
type TtlConfigModel struct {
Ttl *TtlDefinitionModel `tfsdk:"ttl"`
}
type TtlDefinitionModel ¶
Click to show internal directories.
Click to hide internal directories.