Documentation ¶
Index ¶
- Constants
- func CreateClient(config *Config, diags diag.Diagnostics) (*pipes.APIClient, diag.Diagnostics)
- func FormatIntegrationJSONString(body string) (string, map[string]interface{})
- func FormatJson(body interface{}) string
- func IntegrationJSONStringsEqual(k, old, new string, d *schema.ResourceData) bool
- 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 PipesClient
Constants ¶
View Source
const PipesTenantHandle = "turbot-pipes"
View Source
const PipesTenantId = "t_00000000000000000000"
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func CreateClient(config *Config, diags diag.Diagnostics) (*pipes.APIClient, diag.Diagnostics)
precedence of credentials: 1. token set in config 2. ENV vars {PIPES_TOKEN}
func FormatIntegrationJSONString ¶ added in v0.14.0
apply standard formatting to a json string by unmarshalling into a map then marshalling back to JSON
func FormatJson ¶
func FormatJson(body interface{}) string
apply standard formatting to a json string by unmarshalling into a map then marshalling back to JSON
func IntegrationJSONStringsEqual ¶ added in v0.14.0
func IntegrationJSONStringsEqual(k, old, new string, d *schema.ResourceData) bool
config is a json string apply standard formatting to old and new data then compare
func JSONStringToInterface ¶
func TestArrayEqual ¶
func TestArrayEqual(t *testing.T, resourceName, key, values string) resource.TestCheckFunc
func TestJSONFieldEqual ¶
func TestJSONFieldEqual(t *testing.T, resourceName, key, value string) resource.TestCheckFunc
Types ¶
type PipesClient ¶
Source Files ¶
- data_source_pipes_organization.go
- data_source_pipes_process.go
- data_source_pipes_tenant.go
- data_source_pipes_user.go
- provider.go
- resource_pipes_connection.go
- resource_pipes_organization.go
- resource_pipes_organization_connection.go
- resource_pipes_organization_connection_folder.go
- resource_pipes_organization_connection_folder_permission.go
- resource_pipes_organization_connection_permission.go
- resource_pipes_organization_integration.go
- resource_pipes_organization_member.go
- resource_pipes_organization_workspace_member.go
- resource_pipes_tenant_connection.go
- resource_pipes_tenant_connection_folder.go
- resource_pipes_tenant_connection_folder_permission.go
- resource_pipes_tenant_connection_permission.go
- resource_pipes_tenant_integration.go
- resource_pipes_tenant_member.go
- resource_pipes_user_integration.go
- resource_pipes_user_preferences.go
- resource_pipes_workspace.go
- resource_pipes_workspace_aggregator.go
- resource_pipes_workspace_connection.go
- resource_pipes_workspace_connection_folder.go
- resource_pipes_workspace_datatank.go
- resource_pipes_workspace_datatank_table.go
- resource_pipes_workspace_mod.go
- resource_pipes_workspace_mod_variable.go
- resource_pipes_workspace_pipeline.go
- resource_pipes_workspace_schema.go
- resource_pipes_workspace_snapshot.go
- utils.go
Click to show internal directories.
Click to hide internal directories.