Documentation
¶
Index ¶
- Constants
- Variables
- type Context
- func (c *Context) BackedURL() string
- func (c *Context) Debug() bool
- func (c *Context) DebugLevel() uint
- func (c *Context) GetResultsOutputPath() string
- func (c *Context) GetTags() map[string]string
- func (c *Context) IsForceDestroy() bool
- func (c *Context) IsServerless() bool
- func (c *Context) ProjectName() string
- func (c *Context) ResourceTags() pulumi.StringMap
- func (c *Context) ResourceTagsWithCustom(customTags map[string]string) pulumi.StringMap
- func (c *Context) RunID() string
- func (c *Context) SetProjectName(projectName string)
- func (c *Context) StackNameByProject(stackName string) string
- func (c *Context) TargetHostingPlace() string
- type ContextArgs
- type Provider
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 ¶
This section is empty.
Types ¶
type Context ¶ added in v0.9.6
type Context struct {
// contains filtered or unexported fields
}
func InitNoState ¶ added in v0.9.6
func InitNoState() *Context
func (*Context) DebugLevel ¶ added in v0.9.6
func (*Context) GetResultsOutputPath ¶ added in v0.9.6
func (*Context) IsForceDestroy ¶ added in v0.9.6
func (*Context) IsServerless ¶ added in v0.9.6
func (*Context) ProjectName ¶ added in v0.9.6
func (*Context) ResourceTags ¶ added in v0.9.6
func (*Context) ResourceTagsWithCustom ¶ added in v0.9.6
Get tags ready to be added to any pulumi resource in addition we cas set specific custom tags
func (*Context) SetProjectName ¶ added in v0.9.6
func (*Context) StackNameByProject ¶ added in v0.9.6
func (*Context) TargetHostingPlace ¶ added in v0.9.9
type ContextArgs ¶ added in v0.8.0
type ContextArgs struct {
ProjectName string
BackedURL string
//Optional
ResultsOutput string
Debug bool
DebugLevel uint
Tags map[string]string
// serverless here is used to set the credentials based on
// roles inherid by tasks as serverless
// see SetAWSCredentials function
// take into account that the name may change as the approach to get
// credentials from role is more general approach
Serverless bool
// This forces destroy even when lock exists
ForceDestroy bool
// integrations
GHRunnerArgs *github.GithubRunnerArgs
CirrusPWArgs *cirrus.PersistentWorkerArgs
}
Click to show internal directories.
Click to hide internal directories.