Documentation
¶
Index ¶
- Constants
- func DataGetFailure(dataName string, id interface{}, err error) diag.Diagnostics
- func GetAgentProjectAssignmentId(agentId string, projectId string) string
- func GetUserTeamAssignmentId(userId string, teamId string) string
- func NewGreaterThanValidator(greaterThan int) schema.SchemaValidateDiagFunc
- func NewIntInValidator(allowedValues []int) schema.SchemaValidateDiagFunc
- func NewOpenTofuVersionValidator() schema.SchemaValidateDiagFunc
- func NewRegexValidator(r string) schema.SchemaValidateDiagFunc
- func NewRoleValidator(supportedBuiltInRoles []string) schema.SchemaValidateDiagFunc
- func NewStringInValidator(allowedValues []string) schema.SchemaValidateDiagFunc
- func Provider(version string) plugin.ProviderFunc
- func ResourceGetFailure(ctx context.Context, resourceName string, d *schema.ResourceData, err error) diag.Diagnostics
- func ValidateConfigurationPropertySchema(val interface{}, key string) (warns []string, errs []error)
- func ValidateCronExpression(i interface{}, path cty.Path) diag.Diagnostics
- func ValidateNotEmptyString(i interface{}, path cty.Path) diag.Diagnostics
- func ValidateRetries(i interface{}, path cty.Path) diag.Diagnostics
- func ValidateTtl(i interface{}, path cty.Path) diag.Diagnostics
- type ActiveEnvironmentError
- type AgentProjectAssignment
- type CloudType
- type ConfigurationVariableParams
- type CustomResourceDataField
- type ResourceDataSliceStructValueWriter
- type SubEnvironment
- type TFSource
- type TemplateType
- type UserTeamAssignment
Constants ¶
View Source
const AWS = "aws"
View Source
const AZURE = "azure"
View Source
const GOOGLE = "google"
View Source
const PROJECT_DESTROY_TOTAL_WAIT_TIME = time.Minute * 10
View Source
const PROJECT_DESTROY_WAIT_INTERVAL = time.Second * 10
Variables ¶
This section is empty.
Functions ¶
func DataGetFailure ¶ added in v0.2.32
func DataGetFailure(dataName string, id interface{}, err error) diag.Diagnostics
func GetAgentProjectAssignmentId ¶ added in v1.0.0
func GetUserTeamAssignmentId ¶ added in v1.0.5
func NewGreaterThanValidator ¶ added in v1.0.6
func NewGreaterThanValidator(greaterThan int) schema.SchemaValidateDiagFunc
func NewIntInValidator ¶ added in v1.14.16
func NewIntInValidator(allowedValues []int) schema.SchemaValidateDiagFunc
func NewOpenTofuVersionValidator ¶ added in v1.16.11
func NewOpenTofuVersionValidator() schema.SchemaValidateDiagFunc
func NewRegexValidator ¶ added in v0.2.32
func NewRegexValidator(r string) schema.SchemaValidateDiagFunc
func NewRoleValidator ¶ added in v1.18.2
func NewRoleValidator(supportedBuiltInRoles []string) schema.SchemaValidateDiagFunc
func NewStringInValidator ¶ added in v0.2.32
func NewStringInValidator(allowedValues []string) schema.SchemaValidateDiagFunc
func Provider ¶
func Provider(version string) plugin.ProviderFunc
func ResourceGetFailure ¶ added in v0.2.32
func ResourceGetFailure(ctx context.Context, resourceName string, d *schema.ResourceData, err error) diag.Diagnostics
func ValidateConfigurationPropertySchema ¶ added in v0.0.23
func ValidateCronExpression ¶ added in v0.2.29
func ValidateCronExpression(i interface{}, path cty.Path) diag.Diagnostics
func ValidateNotEmptyString ¶ added in v0.2.32
func ValidateNotEmptyString(i interface{}, path cty.Path) diag.Diagnostics
func ValidateRetries ¶ added in v1.0.7
func ValidateRetries(i interface{}, path cty.Path) diag.Diagnostics
func ValidateTtl ¶ added in v1.3.11
func ValidateTtl(i interface{}, path cty.Path) diag.Diagnostics
Types ¶
type ActiveEnvironmentError ¶ added in v1.3.5
type ActiveEnvironmentError struct {
// contains filtered or unexported fields
}
func (*ActiveEnvironmentError) Error ¶ added in v1.3.5
func (e *ActiveEnvironmentError) Error() string
type AgentProjectAssignment ¶ added in v1.0.0
type AgentProjectAssignment struct { AgentId string `json:"agent_id"` ProjectId string `json:"project_id"` }
func (*AgentProjectAssignment) GetId ¶ added in v1.0.0
func (a *AgentProjectAssignment) GetId() string
type CloudType ¶ added in v1.0.6
type CloudType string
const ( AWS_TYPE CloudType = "aws" AWS_COST_TYPE CloudType = "aws_cost" AWS_OIDC_TYPE CloudType = "aws_oidc" AZURE_TYPE CloudType = "azure" AZURE_COST_TYPE CloudType = "azure_cost" AZURE_OIDC_TYPE CloudType = "azure_oidc" GCP_TYPE CloudType = "gcp" GCP_OIDC_TYPE CloudType = "gcp_oidc" GCP_COST_TYPE CloudType = "google_cost" VAULT_OIDC_TYPE CloudType = "vault_oidc" KUBECONFIG_TYPE CloudType = "kubeconfig" AWS_EKS_TYPE CloudType = "aws_eks" AZURE_AKS_TYPE CloudType = "azure_aks" GCP_GKE_TYPE CloudType = "gcp_gke" )
type ConfigurationVariableParams ¶ added in v0.0.4
type CustomResourceDataField ¶ added in v1.0.5
type CustomResourceDataField interface { ReadResourceData(fieldName string, d *schema.ResourceData) error WriteResourceData(fieldName string, d *schema.ResourceData) error }
type ResourceDataSliceStructValueWriter ¶ added in v1.0.7
type SubEnvironment ¶ added in v1.3.4
type TemplateType ¶ added in v1.0.7
type TemplateType string
const ( CustomFlow TemplateType = "custom-flow" ApprovalPolicy TemplateType = "approval-policy" )
type UserTeamAssignment ¶ added in v1.0.5
func GetUserTeamAssignmentFromId ¶ added in v1.0.5
func GetUserTeamAssignmentFromId(id string) (*UserTeamAssignment, error)
func (*UserTeamAssignment) GetId ¶ added in v1.0.5
func (a *UserTeamAssignment) GetId() string
Source Files
¶
- configuration_template.go
- credentials.go
- data_agent_values.go
- data_agents.go
- data_api_key.go
- data_cloud_credentials.go
- data_configuration_variable.go
- data_credentials.go
- data_custom_flow.go
- data_custom_role.go
- data_custom_roles.go
- data_environment.go
- data_git_token.go
- data_gpg_key.go
- data_ip_ranges.go
- data_kubernetes_credentials.go
- data_module.go
- data_module_testing_project.go
- data_notification.go
- data_notifications.go
- data_oidc_credentials.go
- data_organization.go
- data_project.go
- data_project_cloud_credentials.go
- data_project_policy.go
- data_projects.go
- data_provider.go
- data_source_code_variables.go
- data_sshkey.go
- data_team.go
- data_teams.go
- data_template.go
- data_templates.go
- data_user.go
- data_workflow_triggers.go
- errors.go
- provider.go
- resource_agent_project_assignment.go
- resource_api_key.go
- resource_approval_policy.go
- resource_approval_policy_assignment.go
- resource_aws_credentials.go
- resource_aws_eks_credentials.go
- resource_aws_oidc_credentials.go
- resource_azure_aks_credentials.go
- resource_azure_credentials.go
- resource_azure_oidc_credentials.go
- resource_cloud_credentials_project_assignment.go
- resource_configuration_variable.go
- resource_cost_credentials.go
- resource_cost_credentials_project_assignment.go
- resource_custom_flow.go
- resource_custom_flow_assignment.go
- resource_custom_role.go
- resource_drift_detection.go
- resource_environment.go
- resource_environment_discovery_configuration.go
- resource_environment_import.go
- resource_environment_scheduling.go
- resource_environment_state_access.go
- resource_gcp_credentials.go
- resource_gcp_gke_credentials.go
- resource_gcp_oidc_credentials.go
- resource_git_token.go
- resource_gpg_key.go
- resource_kubeconfig_credentials.go
- resource_module.go
- resource_notification.go
- resource_notification_project_assignment.go
- resource_organization_policy.go
- resource_project.go
- resource_project_budget.go
- resource_project_policy.go
- resource_provider.go
- resource_sshkey.go
- resource_team.go
- resource_team_environment_assignment.go
- resource_team_organization_assignment.go
- resource_team_project_assignment.go
- resource_template.go
- resource_template_project_assignment.go
- resource_user_environment_assignment.go
- resource_user_organization_assignment.go
- resource_user_project_assignment.go
- resource_user_team_assignment.go
- resource_variable_set.go
- resource_variable_set_assignment.go
- resource_vault_oidc_credentials.go
- resource_workflow_trigger.go
- resource_workflow_triggers.go
- test_helpers.go
- utils.go
- validators.go
Click to show internal directories.
Click to hide internal directories.