Documentation
¶
Index ¶
- func CreateClient(config *Config, diags diag.Diagnostics) (*steampipe.APIClient, diag.Diagnostics)
- func FormatJson(body interface{}) string
- func JSONStringToInterface(dataString string) (interface{}, error)
- func Provider() *schema.Provider
- func TestArrayEqual(t *testing.T, resourceName, key, values string) resource.TestCheckFunc
- func TestJSONFieldEqual(t *testing.T, resourceName, key, value string) resource.TestCheckFunc
- type Config
- type SteampipeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func CreateClient(config *Config, diags diag.Diagnostics) (*steampipe.APIClient, diag.Diagnostics)
precedence of credentials: 1. token set in config 2. ENV vars {STEAMPIPE_CLOUD_TOKEN}
func FormatJson ¶ added in v0.4.0
func FormatJson(body interface{}) string
apply standard formatting to a json string by unmarshalling into a map then marshalling back to JSON
func JSONStringToInterface ¶ added in v0.4.0
func TestArrayEqual ¶ added in v0.10.0
func TestArrayEqual(t *testing.T, resourceName, key, values string) resource.TestCheckFunc
func TestJSONFieldEqual ¶ added in v0.9.0
func TestJSONFieldEqual(t *testing.T, resourceName, key, value string) resource.TestCheckFunc
Types ¶
type SteampipeClient ¶
Source Files
¶
- data_source_steampipecloud_organization.go
- data_source_steampipecloud_process.go
- data_source_steampipecloud_user.go
- provider.go
- resource_steampipecloud_connection.go
- resource_steampipecloud_organization.go
- resource_steampipecloud_organization_member.go
- resource_steampipecloud_organization_workspace_member.go
- resource_steampipecloud_user_preferences.go
- resource_steampipecloud_workspace.go
- resource_steampipecloud_workspace_aggregator.go
- resource_steampipecloud_workspace_connection.go
- resource_steampipecloud_workspace_mod.go
- resource_steampipecloud_workspace_mod_variable.go
- resource_steampipecloud_workspace_pipeline.go
- resource_steampipecloud_workspace_snapshot.go
- utils.go
Click to show internal directories.
Click to hide internal directories.