namespace

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 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) (*namespace.Namespace, bool)

func UpdateStateAfterRead

func UpdateStateAfterRead(res *sdkNamespace.Namespace, state *ResourceModel)

Types

type DeploymentApprovalPolicyModel

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

type ExternalCredentialsModel

type ExternalCredentialsModel struct {
	Type                  types.String `tfsdk:"type"`
	ExternalCredentialsId types.String `tfsdk:"external_credentials_id"`
	AwsProfileName        types.String `tfsdk:"aws_profile_name"`
}

type IacConfigModel

type IacConfigModel struct {
	TerraformVersion  types.String `tfsdk:"terraform_version"`
	TerragruntVersion types.String `tfsdk:"terragrunt_version"`
	OpentofuVersion   types.String `tfsdk:"opentofu_version"`
}

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"`
}

type RunnerConfigModel

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

Jump to

Keyboard shortcuts

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