common

package
v1.0.0-pre Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Acceptance tests constants
	ACC_TEST_PROJECT_ID = "2d07c991-6cd4-475e-b00b-8acc2494f73f"
)

Variables

This section is empty.

Functions

func ShouldAccTestRun added in v0.2.0

func ShouldAccTestRun(runFlag bool) bool

ShouldAccTestRun returns true of the provided flag is true or if an env variable ACC_TEST_CI has any value

func ToString

func ToString(ctx context.Context, v attr.Value) (string, error)

ToString converts attr.Value to string

Types

type Provider

type Provider interface {
	provider.Provider
	// Returns true when the provider has been configured
	IsConfigured() bool

	// Client - returns the STACKIT client
	Client() *client.Client

	// ServiceAccountID - returns the service account id
	ServiceAccountID() string
}

Jump to

Keyboard shortcuts

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