context

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TagKeyProjectName = "projectName"
	TagKeyRunID       = "runid"
)

Variables

This section is empty.

Functions

func BackedURL

func BackedURL() string

func CreateRunID

func CreateRunID() string

It will create a runID if context has been intialized it will set it as the runID for the context otherwise it will return the value (one time value)

func GetResultsOutputPath

func GetResultsOutputPath() string

func GetTags

func GetTags() map[string]string

func Init

func Init(projectName, backedURL, resultsOutput string, tags map[string]string)

func InitBase

func InitBase(projectName, backedURL string)

func ProjectName

func ProjectName() string

func ResourceTags

func ResourceTags() pulumi.StringMap

Get tags ready to be added to any pulumi resource

func ResourceTagsWithCustom

func ResourceTagsWithCustom(customTags map[string]string) pulumi.StringMap

Get tags ready to be added to any pulumi resource in addition we cas set specific custom tags

func RunID

func RunID() string

func StackNameByProject

func StackNameByProject(stackName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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