Documentation
¶
Index ¶
- func GetEndpointByName(ctx context.Context, options GetEndpointByNameOptions, ...) (*scalr.Endpoint, error)
- func GetEnvironmentByName(ctx context.Context, options GetEnvironmentByNameOptions, ...) (*scalr.Environment, error)
- func GetRandomInteger() int
- func GetWebhookByName(ctx context.Context, options GetWebhookByNameOptions, ...) (*scalr.WebhookIntegration, error)
- func InterfaceArrToTagRelationArr(arr []interface{}) []*scalr.TagRelation
- func Provider() *schema.Provider
- func ValidateIDsDefinitions(d []interface{}) error
- type Config
- type ConfigHost
- type GetEndpointByNameOptions
- type GetEnvironmentByNameOptions
- type GetWebhookByNameOptions
- type Scope
- type Subject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEndpointByName ¶
func GetEndpointByName(ctx context.Context, options GetEndpointByNameOptions, scalrClient *scalr.Client) (*scalr.Endpoint, error)
func GetEnvironmentByName ¶
func GetEnvironmentByName(ctx context.Context, options GetEnvironmentByNameOptions, scalrClient *scalr.Client) (*scalr.Environment, error)
func GetRandomInteger ¶
func GetRandomInteger() int
func GetWebhookByName ¶
func GetWebhookByName(ctx context.Context, options GetWebhookByNameOptions, scalrClient *scalr.Client) (*scalr.WebhookIntegration, error)
func InterfaceArrToTagRelationArr ¶
func InterfaceArrToTagRelationArr(arr []interface{}) []*scalr.TagRelation
func ValidateIDsDefinitions ¶
func ValidateIDsDefinitions(d []interface{}) error
Types ¶
type Config ¶
type Config struct { Hosts map[string]*ConfigHost `hcl:"host"` Credentials map[string]map[string]interface{} `hcl:"credentials"` }
Config is the structure of the configuration for the Terraform CLI.
type ConfigHost ¶
type ConfigHost struct {
Services map[string]interface{} `hcl:"services"`
}
ConfigHost is the structure of the "host" nested block within the CLI configuration, which can be used to override the default service host discovery behavior for a particular hostname.
type GetWebhookByNameOptions ¶
Source Files
¶
- client_mock.go
- config_unix.go
- data_source_scalr_access_policy.go
- data_source_scalr_agent_pool.go
- data_source_scalr_current_account.go
- data_source_scalr_current_run.go
- data_source_scalr_endpoint.go
- data_source_scalr_environment.go
- data_source_scalr_environments.go
- data_source_scalr_event_bridge_integration.go
- data_source_scalr_iam_team.go
- data_source_scalr_iam_user.go
- data_source_scalr_module_version.go
- data_source_scalr_policy_group.go
- data_source_scalr_provider_configuration.go
- data_source_scalr_provider_configurations.go
- data_source_scalr_role.go
- data_source_scalr_service_account.go
- data_source_scalr_tag.go
- data_source_scalr_variable.go
- data_source_scalr_variables.go
- data_source_scalr_vcs_provider.go
- data_source_scalr_webhook.go
- data_source_scalr_workspace.go
- data_source_scalr_workspace_ids.go
- data_source_scalr_workspaces.go
- helpers.go
- provider.go
- resource_scalr_access_policy.go
- resource_scalr_account_allowed_ips.go
- resource_scalr_agent_pool.go
- resource_scalr_agent_pool_token.go
- resource_scalr_endpoint.go
- resource_scalr_endpoint_migrate.go
- resource_scalr_environment.go
- resource_scalr_event_bridge_integration.go
- resource_scalr_iam_team.go
- resource_scalr_module.go
- resource_scalr_policy_group.go
- resource_scalr_policy_group_linkage.go
- resource_scalr_provider_configuration.go
- resource_scalr_provider_configuration_default.go
- resource_scalr_role.go
- resource_scalr_role_migrate.go
- resource_scalr_run_schedule_rule.go
- resource_scalr_run_triggers.go
- resource_scalr_service_account.go
- resource_scalr_service_account_token.go
- resource_scalr_slack_integration.go
- resource_scalr_tag.go
- resource_scalr_variable.go
- resource_scalr_variable_migrate.go
- resource_scalr_vcs_provider.go
- resource_scalr_vcs_provider_migrate.go
- resource_scalr_webhook.go
- resource_scalr_webhook_migrate.go
- resource_scalr_workspace.go
- resource_scalr_workspace_migrate.go
- resource_scalr_workspace_run_schedule.go
- testing.go
- workspace_helpers.go
Click to show internal directories.
Click to hide internal directories.