piperenv

package
v1.172.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParameter

func GetParameter(path, name string) string

GetParameter reads any parameter from the pipeline environment or another environment stored in the file system

func GetResourceParameter

func GetResourceParameter(path, resourceName, paramName string) string

GetResourceParameter reads a resource parameter from the environment stored in the file system

func SetParameter

func SetParameter(path, name, value string) error

SetParameter sets any parameter in the pipeline environment or another environment stored in the file system

func SetResourceParameter

func SetResourceParameter(path, resourceName, paramName string, value interface{}) error

SetResourceParameter sets a resource parameter in the environment stored in the file system

Types

type CPEMap added in v1.147.0

type CPEMap map[string]interface{}

CPEMap represents the common pipeline environment map

func (*CPEMap) LoadFromDisk added in v1.147.0

func (c *CPEMap) LoadFromDisk(path string) error

LoadFromDisk reads the given path from disk and populates it to the CPEMap.

func (CPEMap) WriteToDisk added in v1.147.0

func (c CPEMap) WriteToDisk(rootDirectory string) error

WriteToDisk writes the CPEMap to a disk and uses rootDirectory as the starting point

Jump to

Keyboard shortcuts

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