Documentation
¶
Index ¶
- func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*namespace.Namespace, bool)
- func UpdateStateAfterRead(res *sdkNamespace.Namespace, state *ResourceModel)
- type CapabilitiesModel
- type CapabilityConfigModel
- type DeploymentApprovalPolicyModel
- type ExternalCredentialsModel
- type IacConfigModel
- type ResourceModel
- type RunnerConfigModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Converter ¶
func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*namespace.Namespace, bool)
func UpdateStateAfterRead ¶
func UpdateStateAfterRead(res *sdkNamespace.Namespace, 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 DeploymentApprovalPolicyModel ¶
type DeploymentApprovalPolicyModel struct {
Rules []*cross_models.DeploymentApprovalPolicyRuleModel `tfsdk:"rules"`
OverrideBehavior types.String `tfsdk:"override_behavior"`
}
type IacConfigModel ¶
type ResourceModel ¶
type ResourceModel struct {
ID types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
ExternalCredentials []*ExternalCredentialsModel `tfsdk:"external_credentials"`
IacConfig *IacConfigModel `tfsdk:"iac_config"`
RunnerConfig *RunnerConfigModel `tfsdk:"runner_config"`
DeploymentApprovalPolicy *DeploymentApprovalPolicyModel `tfsdk:"deployment_approval_policy"`
Capabilities *CapabilitiesModel `tfsdk:"capabilities"`
}
Click to show internal directories.
Click to hide internal directories.