Documentation
¶
Index ¶
Constants ¶
View Source
const ( CIErrorMessageKey = "CI_ERROR_MESSAGE" CIErrorCodeKey = "CI_ERROR_CODE" CIMetadataFileEnv = "CI_ERROR_METADATA" DroneOutputFileEnv = "DRONE_OUTPUT" )
Variables ¶
This section is empty.
Functions ¶
func DeleteSecret ¶
DeleteSecret removes a secret by setting it to an empty value in the DRONE_OUTPUT file
func SetError ¶
SetError sets the error message and error code, writing them to the CI_ERROR_METADATA file
func UpdateSecret ¶
UpdateSecret updates an existing secret with a new value in the DRONE_OUTPUT file
func WriteEnvToFile ¶
WriteEnvToFile writes a key-value pair to the specified file, determined by an environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.