Documentation
¶
Index ¶
Constants ¶
View Source
const ( OrganizationScope = "organization" NamespaceScope = "namespace" TemplateScope = "template" BlueprintScope = "blueprint" StackScope = "stack" TfTVar = "tfVar" EnvVar = "envVar" RequireApproval = "requireApproval" AutoApprove = "autoApprove" RequireTwoApprovals = "requireTwoApprovals" GcpServiceAccount = "gcpServiceAccount" AzureServicePrincipal = "azureServicePrincipal" AwsAssumeRole = "awsAssumeRole" Terraform = "terraform" Terragrunt = "terragrunt" Opentofu = "opentofu" Allow = "allow" Deny = "deny" Extended = "extended" Managed = "managed" SelfHosted = "selfHosted" Hours = "hours" Days = "days" Ne = "ne" Gt = "gt" Gte = "gte" Lt = "lt" Lte = "lte" In = "in" StartsWith = "startsWith" Contains = "contains" StackTargetType = "stack" NamespaceTargetType = "namespace" Warning = "warning" SoftMandatory = "softMandatory" HardMandatory = "hardMandatory" BySeverity = "bySeverity" NamespaceRoleViewer = "viewer" NamespaceRoleAdmin = "admin" SlackProtocol = "slack" TeamsProtocol = "teams" WeeklyReportType = "weeklyReport" SeverityLow = "low" SeverityMedium = "medium" SeverityHigh = "high" SeverityCritical = "critical" RoleViewer = "viewer" RoleAdmin = "admin" )
View Source
const ( ErrorCodeNotFound = "not_found" ErrorCodeAlreadyExist = "already_exist" )
Error codes
Variables ¶
View Source
var ( VariableScopeTypes = []string{OrganizationScope, NamespaceScope, TemplateScope, BlueprintScope, StackScope} VariableTypes = []string{TfTVar, EnvVar} DeploymentApprovalPolicyRuleTypes = []string{RequireApproval, AutoApprove, RequireTwoApprovals} ExternalCredentialTypes = []string{AwsAssumeRole, GcpServiceAccount, AzureServicePrincipal} IacTypes = []string{Terraform, Terragrunt, Opentofu} OverrideBehaviorTypes = []string{Allow, Deny, Extended} RunnerConfigModeTypes = []string{Managed, SelfHosted} TtlTypes = []string{Hours, Days} VariableConditionOperatorTypes = []string{Ne, Gt, Gte, Lt, Lte, In, StartsWith, Contains} PolicyMappingTargetTypes = []string{StackTargetType, NamespaceTargetType} EnforcementLevelTypes = []string{Warning, SoftMandatory, HardMandatory} GroupEnforcementLevelTypes = []string{Warning, SoftMandatory, HardMandatory, BySeverity} NamespaceRoleTypes = []string{NamespaceRoleViewer, NamespaceRoleAdmin} EventSubscriptionScopeTypes = []string{OrganizationScope, NamespaceScope} EventSubscriptionProtocolTypes = []string{SlackProtocol, TeamsProtocol} ReportTypes = []string{WeeklyReportType} SeverityTypes = []string{SeverityLow, SeverityMedium, SeverityHigh, SeverityCritical} )
Functions ¶
This section is empty.
Types ¶
type EmptyResponse ¶
type EmptyResponse struct{}
Click to show internal directories.
Click to hide internal directories.