harness

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PluginErrorMessageKey = "PLUGIN_ERROR_MESSAGE"
)

Variables

This section is empty.

Functions

func DeleteSecret

func DeleteSecret(name string) error

DeleteSecret removes a secret from the output

func SetError

func SetError(message string) error

SetError sets the error message and writes it to the DRONE_OUTPUT file

func SetSecret

func SetSecret(name, value string) error

SetSecret sets a new secret by adding it to the output

func UpdateSecret

func UpdateSecret(name, value string) error

UpdateSecret updates an existing secret with a new value

func WriteEnvToFile

func WriteEnvToFile(key, value string) error

WriteEnvToFile writes a key-value pair to the DRONE_OUTPUT file

Types

This section is empty.

Jump to

Keyboard shortcuts

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