Documentation
¶
Index ¶
- Constants
- func AcceptanceEnabled() bool
- func CleanupBrowserPool(t testing.TB, projectID, id string)
- func CleanupExtension(t testing.TB, projectID, id string)
- func CleanupProfile(t testing.TB, projectID, id string)
- func CleanupProject(t testing.TB, id string)
- func CleanupProxy(t testing.TB, projectID, id string)
- func CleanupTelemetryDestination(t testing.TB, id string)
- func ClientFromEnv() kernelclient.Clients
- func IsNotFound(err error) bool
- func PreCheck(t testing.TB)
- func ProtoV6ProviderFactories() map[string]func() (tfprotov6.ProviderServer, error)
- func ProviderConfig() string
- func UniqueName(t testing.TB, prefix string) string
Constants ¶
const ( EnvAcceptance = "KERNEL_ACC" EnvAPIKey = "KERNEL_API_KEY" EnvBaseURL = "KERNEL_BASE_URL" EnvProjectID = "KERNEL_PROJECT_ID" // EnvAltProjectID names a second project for cross-project override tests. EnvAltProjectID = "KERNEL_ALT_PROJECT_ID" )
Variables ¶
This section is empty.
Functions ¶
func AcceptanceEnabled ¶
func AcceptanceEnabled() bool
func CleanupBrowserPool ¶
CleanupBrowserPool registers a cleanup that deletes the pool from projectID; empty means the env-configured default project.
func CleanupExtension ¶
CleanupExtension registers a cleanup that deletes the extension from projectID; empty means the env-configured default project.
func CleanupProfile ¶
CleanupProfile registers a cleanup that deletes the profile from projectID; empty means the env-configured default project.
func CleanupProject ¶
func CleanupProxy ¶
CleanupProxy registers a cleanup that deletes the proxy from projectID; empty means the env-configured default project.
func CleanupTelemetryDestination ¶ added in v0.2.0
func ClientFromEnv ¶
func ClientFromEnv() kernelclient.Clients
func IsNotFound ¶
IsNotFound reports whether err is a Kernel API 404, which acceptance checks treat as "resource gone" rather than a failure.
func ProtoV6ProviderFactories ¶
func ProtoV6ProviderFactories() map[string]func() (tfprotov6.ProviderServer, error)
func ProviderConfig ¶
func ProviderConfig() string
Types ¶
This section is empty.