Documentation
¶
Index ¶
- Constants
- Variables
- func BackedURL() string
- func CreateRunID() string
- func Debug() bool
- func DebugLevel() uint
- func GetResultsOutputPath() string
- func GetTags() map[string]string
- func Init(projectName, backedURL, resultsOutput string, tags map[string]string, ...)
- func InitBase(projectName, backedURL string, debug bool, debugLevel uint)
- func ProjectName() string
- func ResourceTags() pulumi.StringMap
- func ResourceTagsWithCustom(customTags map[string]string) pulumi.StringMap
- func RunID() string
- func StackNameByProject(stackName string) string
Constants ¶
View Source
const ( TagKeyProjectName = "projectName" TagKeyRunID = "runid" )
Variables ¶
View Source
var ( // mapt image to make self use. OCI image value is passed during building time // this is intended for full build process, when building mapt binary we need to ensure // OCI image already exists to make use of it OCI = "quay.io/redhat-developer/mapt:v0.0.0-unset" )
Functions ¶
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 DebugLevel ¶ added in v0.7.4
func DebugLevel() uint
func GetResultsOutputPath ¶
func GetResultsOutputPath() string
func ProjectName ¶
func ProjectName() string
func ResourceTags ¶
Get tags ready to be added to any pulumi resource
func ResourceTagsWithCustom ¶
Get tags ready to be added to any pulumi resource in addition we cas set specific custom tags
func StackNameByProject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.