stack

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Converter

func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*stack.Stack, bool)

func UpdateStateAfterRead

func UpdateStateAfterRead(res *sdkStack.Stack, state *ResourceModel)

Types

type AutoSyncModel added in v1.5.0

type AutoSyncModel struct {
	DeployWhenDriftDetected types.Bool `tfsdk:"deploy_when_drift_detected"`
}

type DeploymentApprovalPolicyModel added in v1.5.0

type DeploymentApprovalPolicyModel struct {
	Rules []*cross_models.DeploymentApprovalPolicyRuleModel `tfsdk:"rules"`
}

type DeploymentBehaviorModel

type DeploymentBehaviorModel struct {
	DeployOnPush    types.Bool `tfsdk:"deploy_on_push"`
	WaitForApproval types.Bool `tfsdk:"wait_for_approval"`
}

type IacConfigModel

type IacConfigModel struct {
	TerraformVersion   types.String `tfsdk:"terraform_version"`
	TerragruntVersion  types.String `tfsdk:"terragrunt_version"`
	OpentofuVersion    types.String `tfsdk:"opentofu_version"`
	IsTerragruntRunAll types.Bool   `tfsdk:"is_terragrunt_run_all"`
	VarFiles           types.List   `tfsdk:"var_files"`
}

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       *DeploymentBehaviorModel       `tfsdk:"deployment_behavior"`
	DeploymentApprovalPolicy *DeploymentApprovalPolicyModel `tfsdk:"deployment_approval_policy"`
	VcsInfo                  *VcsInfoModel                  `tfsdk:"vcs_info"`
	RunTrigger               *RunTriggerModel               `tfsdk:"run_trigger"`
	IacConfig                *IacConfigModel                `tfsdk:"iac_config"`
	Policy                   *PolicyModel                   `tfsdk:"policy"`
	RunnerConfig             *RunnerConfigModel             `tfsdk:"runner_config"`
	AutoSync                 *AutoSyncModel                 `tfsdk:"auto_sync"`
}

type RunTriggerModel

type RunTriggerModel struct {
	Patterns        types.List `tfsdk:"patterns"`
	ExcludePatterns types.List `tfsdk:"exclude_patterns"`
}

type RunnerConfigModel added in v1.5.0

type RunnerConfigModel struct {
	Mode   types.String `tfsdk:"mode"`
	Groups types.List   `tfsdk:"groups"`
}

type TtlConfigModel

type TtlConfigModel struct {
	Ttl *TtlDefinitionModel `tfsdk:"ttl"`
}

type TtlDefinitionModel

type TtlDefinitionModel struct {
	Type  types.String `tfsdk:"type"`
	Value types.Int64  `tfsdk:"value"`
}

type VcsInfoModel

type VcsInfoModel struct {
	ProviderId types.String `tfsdk:"provider_id"`
	RepoName   types.String `tfsdk:"repo_name"`
	Path       types.String `tfsdk:"path"`
	Branch     types.String `tfsdk:"branch"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL