Documentation ¶
Index ¶
- Constants
- func GetParameter(path, name string) string
- func GetResourceParameter(path, resourceName, paramName string) string
- func SetParameter(path, name, value string) error
- func SetResourceParameter(path, resourceName, paramName string, value interface{}) error
- type Artifact
- type Artifacts
- type CPEMap
- func (c *CPEMap) LoadFromDisk(path string) error
- func (c *CPEMap) ParseTemplate(cpeTemplate string) (*bytes.Buffer, error)
- func (c *CPEMap) ParseTemplateWithDelimiter(cpeTemplate string, startDelimiter string, endDelimiter string) (*bytes.Buffer, error)
- func (c CPEMap) WriteToDisk(rootDirectory string) error
Constants ¶
const DEFAULT_END_DELIMITER = "}}"
const DEFAULT_START_DELIMITER = "{{"
Variables ¶
This section is empty.
Functions ¶
func GetParameter ¶
GetParameter reads any parameter from the pipeline environment or another environment stored in the file system
func GetResourceParameter ¶
GetResourceParameter reads a resource parameter from the environment stored in the file system
func SetParameter ¶
SetParameter sets any parameter in the pipeline environment or another environment stored in the file system
func SetResourceParameter ¶
SetResourceParameter sets a resource parameter in the environment stored in the file system
Types ¶
type Artifacts ¶ added in v1.219.0
type Artifacts []Artifact
func (Artifacts) FindByName ¶ added in v1.219.0
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
LoadFromDisk reads the given path from disk and populates it to the CPEMap.
func (*CPEMap) ParseTemplate ¶ added in v1.233.0
ParseTemplate allows to parse a template which contains references to the CPE Utility functions make it simple to access specific parts of the CPE
func (*CPEMap) ParseTemplateWithDelimiter ¶ added in v1.288.0
func (CPEMap) WriteToDisk ¶ added in v1.147.0
WriteToDisk writes the CPEMap to a disk and uses rootDirectory as the starting point