constants

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CIJobName indicates job name.
	CIJobName = "ci.job.name"

	// CIJobURL indicates job URL.
	CIJobURL = "ci.job.url"

	// CIPipelineID indicates pipeline ID.
	CIPipelineID = "ci.pipeline.id"

	// CIPipelineName indicates pipeline name.
	CIPipelineName = "ci.pipeline.name"

	// CIPipelineNumber indicates pipeline number.
	CIPipelineNumber = "ci.pipeline.number"

	// CIPipelineURL indicates pipeline URL.
	CIPipelineURL = "ci.pipeline.url"

	// CIProviderName indicates provider name.
	CIProviderName = "ci.provider.name"

	// CIStageName indicates stage name.
	CIStageName = "ci.stage.name"

	// CIWorkspacePath records an absolute path to the directory where the project has been checked out.
	CIWorkspacePath = "ci.workspace_path"
)
View Source
const (
	// GitBranch indicates the current git branch.
	GitBranch = "git.branch"

	// GitCommitAuthorDate indicates git commit author date related to the build.
	GitCommitAuthorDate = "git.commit.author.date"

	// GitCommitAuthorEmail indicates git commit author email related to the build.
	GitCommitAuthorEmail = "git.commit.author.email"

	// GitCommitAuthorName indicates git commit author name related to the build.
	GitCommitAuthorName = "git.commit.author.name"

	// GitCommitCommitterDate indicates git commit committer date related to the build.
	GitCommitCommitterDate = "git.commit.committer.date"

	// GitCommitCommitterEmail indicates git commit committer email related to the build.
	GitCommitCommitterEmail = "git.commit.committer.email"

	// GitCommitCommitterName indicates git commit committer name related to the build.
	GitCommitCommitterName = "git.commit.committer.name"

	// GitCommitMessage indicates git commit message related to the build.
	GitCommitMessage = "git.commit.message"

	// GitCommitSHA indicates git commit SHA1 hash related to the build.
	GitCommitSHA = "git.commit.sha"

	// GitRepositoryURL indicates git repository URL related to the build.
	GitRepositoryURL = "git.repository_url"

	// GitTag indicates the current git tag.
	GitTag = "git.tag"
)
View Source
const (
	Unknown = "unknown"

	// OSPlatform indicates name of the operating system.
	OSPlatform = "os.platform"

	// OSVersion indicates version of the operating system.
	OSVersion = "os.version"

	// OSArchitecture indicates git repository URL related to the build.
	OSArchitecture = "os.architecture"
)
View Source
const (
	// RuntimeName indicates name of the runtime Compiler.
	RuntimeName = "runtime.name"

	// RuntimeVersion indicates the Go tree's version string
	RuntimeVersion = "runtime.version"
)
View Source
const (
	// SpanKind defines the Span kind.
	SpanKind = "span.kind"

	// Origin tag
	Origin = "_dd.origin"

	// CIAppTestOrigin defines the CIApp test origin value
	CIAppTestOrigin = "ciapp-test"
)
View Source
const (
	// TestName is a tag with specifies the test name.
	TestName = "test.name"

	// TestSuite indicates the test suite name.
	TestSuite = "test.suite"

	// TestFramework indicates the test framework name.
	TestFramework = "test.framework"

	// TestStatus indicates the test execution status.
	TestStatus = "test.status"

	// TestType indicates the type of the test (test, benchmark).
	TestType = "test.type"

	// TestSkipReason indicates the skip reason of the test.
	TestSkipReason = "test.skip_reason"

	// TestSourceFile indicates the source file where the test is located.
	TestSourceFile = "test.source.file"

	// TestSourceStartLine indicates the line of the source file where the test starts.
	TestSourceStartLine = "test.source.start"

	// TestSourceEndLine indicates the line of the source file where the test ends.
	TestSourceEndLine = "test.source.end"
)
View Source
const (
	// TestStatusPass marks test execution as passed.
	TestStatusPass = "pass"

	// TestStatusFail marks test execution as failed.
	TestStatusFail = "fail"

	// TestStatusSkip marks test execution as skipped.
	TestStatusSkip = "skip"
)

Define valid test status types.

View Source
const (
	// TestTypeTest defines test type as test.
	TestTypeTest = "test"

	// TestTypeBenchmark defines test type as benchmark.
	TestTypeBenchmark = "benchmark"
)

Define valid test types.

View Source
const (
	// SpanTypeTest marks a span as a test execution.
	SpanTypeTest = "test"
)

Variables

This section is empty.

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