constants

package
v1.40.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ArtifactDirectory is a directory containing artifacts for the project and shouldn't be committed to source.
	ArtifactDirectory = ".artifacts"

	// PermissionUserReadWriteExecute is the permissions for the artifact directory.
	PermissionUserReadWriteExecute = 0o0700

	// CacheDirectory is where the cache for the project is placed, ie artifacts that don't need to be rebuilt often.
	CacheDirectory = ".cache"
)
View Source
const (
	// S3CLIVersionPath is the S3 fully qualified key location to upload the cli-versions.json file.
	S3CLIVersionPath = "cli-version.json"

	// AWSDefaultS3Region is the default region for S3 buckets, at this time a single configured value for us-east-1.
	AWSDefaultS3Region = "us-east-1"

	// Download URL base for replacement in other generation of the cli-version file.
	DownloadURLFString = "https://dsv.secretsvaultcloud.com/downloads/cli/%s/%s"
)

Publishing constants

View Source
const (
	// E2EDirectoryTestPath is the relative path to the e2e tests.
	E2EDirectoryTestPath = "./tests/e2e/..."

	// IntegrationDirectoryTestPath is the relative path to the integration tests.
	IntegrationDirectoryTestPath = "./cicd-integration/..."
)

Testing Constants

Variables

View Source
var TargetCLIVersionArtifact = filepath.Join(ArtifactDirectory, "cli-version.json")

TargetCLIVersionArtifact is the path to the cli-version.json file.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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