harness

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CIErrorMessageKey = "CI_ERROR_MESSAGE"
	CIErrorCodeKey    = "CI_ERROR_CODE"
	CIMetadataFileEnv = "CI_ERROR_METADATA"
)

Variables

This section is empty.

Functions

func SetError

func SetError(message, code string) error

SetError sets the error message and error code and writes them to the CI_ERROR_METADATA file

func WriteEnvToMetadataFile added in v1.0.2

func WriteEnvToMetadataFile(key, value string) error

WriteEnvToMetadataFile writes a key-value pair to the CI_ERROR_METADATA file

Types

This section is empty.

Jump to

Keyboard shortcuts

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