Help us shape the future of Go! Take the 2026 Go Developer Survey

core

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = ","

Separator used for concatenation of TF-internal resource ID

Variables

This section is empty.

Functions

func DiagsToError

func DiagsToError(diags diag.Diagnostics) error

DiagsToError Converts TF diagnostics' errors into an error with a human-readable description. If there are no errors, the output is nil

func LogAndAddError

func LogAndAddError(ctx context.Context, diags *diag.Diagnostics, summary, detail string)

LogAndAddError Logs the error and adds it to the diags

Types

type ProviderData

type ProviderData struct {
	RoundTripper                  http.RoundTripper
	ServiceAccountEmail           string
	Region                        string
	DnsCustomEndpoint             string
	PostgreSQLCustomEndpoint      string
	PostgresFlexCustomEndpoint    string
	LogMeCustomEndpoint           string
	RabbitMQCustomEndpoint        string
	MariaDBCustomEndpoint         string
	OpenSearchCustomEndpoint      string
	RedisCustomEndpoint           string
	ArgusCustomEndpoint           string
	SKECustomEndpoint             string
	ResourceManagerCustomEndpoint string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL