common

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Acceptance tests constants
	ACC_TEST_PROJECT_ID = "a4d42390-a3fb-40a5-bbab-ecc3988f8091"

	// errors
	ERR_UNEXPECTED_EOF = "unexpected EOF"
)

Variables

This section is empty.

Functions

func GetAcceptanceTestsProjectID added in v1.8.0

func GetAcceptanceTestsProjectID() string

GetAcceptanceTestsProjectID returns the project ID for acceptance test can be overridden by setting ACC_TEST_PROJECT_ID

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

This section is empty.

Jump to

Keyboard shortcuts

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