Documentation
¶
Index ¶
- func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*sdkstackdiscoveryconfig.StackDiscoveryConfiguration, bool)
- func UpdateStateAfterRead(res *sdkstackdiscoveryconfig.StackDiscoveryConfiguration, state *ResourceModel)
- type ResourceModel
- type StackConfigModel
- type VcsPatternModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Converter ¶
func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*sdkstackdiscoveryconfig.StackDiscoveryConfiguration, bool)
func UpdateStateAfterRead ¶
func UpdateStateAfterRead(res *sdkstackdiscoveryconfig.StackDiscoveryConfiguration, state *ResourceModel)
Types ¶
type ResourceModel ¶
type ResourceModel struct {
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
NamespaceId types.String `tfsdk:"namespace_id"`
Description types.String `tfsdk:"description"`
VcsPatterns []*VcsPatternModel `tfsdk:"vcs_patterns"`
StackConfig *StackConfigModel `tfsdk:"stack_config"`
}
type StackConfigModel ¶
type StackConfigModel struct {
IacType types.String `tfsdk:"iac_type"`
DeploymentBehavior *cross_models.DeploymentBehaviorModel `tfsdk:"deployment_behavior"`
DeploymentApprovalPolicy *cross_models.DeploymentApprovalPolicyModel `tfsdk:"deployment_approval_policy"`
RunTrigger *cross_models.RunTriggerModel `tfsdk:"run_trigger"`
IacConfig *cross_models.IacConfigModel `tfsdk:"iac_config"`
RunnerConfig *cross_models.RunnerConfigModel `tfsdk:"runner_config"`
AutoSync *cross_models.AutoSyncModel `tfsdk:"auto_sync"`
}
Click to show internal directories.
Click to hide internal directories.