Documentation ¶
Overview ¶
Package runner implements local and ci profile runners
Index ¶
Constants ¶
View Source
const ( // AgentAPIKey pulumi config paramater name AgentAPIKey = commonconfig.DDAgentConfigNamespace + ":" + commonconfig.DDAgentAPIKeyParamName // AgentAPPKey pulumi config paramater name AgentAPPKey = commonconfig.DDAgentConfigNamespace + ":" + commonconfig.DDAgentAPPKeyParamName // AgentPipelineID pulumi config parameter name AgentPipelineID = commonconfig.DDAgentConfigNamespace + ":" + commonconfig.DDAgentPipelineID // InfraEnvironmentVariables pulumi config paramater name InfraEnvironmentVariables = commonconfig.DDInfraConfigNamespace + ":" + commonconfig.DDInfraEnvironment // InfraExtraResourcesTags pulumi config paramater name InfraExtraResourcesTags = commonconfig.DDInfraConfigNamespace + ":" + commonconfig.DDInfraExtraResourcesTags // AWSKeyPairName pulumi config paramater name AWSKeyPairName = commonconfig.DDInfraConfigNamespace + ":" + infraaws.DDInfraDefaultKeyPairParamName // AWSPublicKeyPath pulumi config paramater name AWSPublicKeyPath = commonconfig.DDInfraConfigNamespace + ":" + infraaws.DDinfraDefaultPublicKeyPath // AWSPrivateKeyPath pulumi config paramater name AWSPrivateKeyPath = commonconfig.DDInfraConfigNamespace + ":" + infraaws.DDInfraDefaultPrivateKeyPath )
Variables ¶
This section is empty.
Functions ¶
func SetConfigMapFromParameter ¶
func SetConfigMapFromParameter(store parameters.Store, cm ConfigMap, paramName parameters.StoreKey, configMapKey string) error
SetConfigMapFromParameter set config map from a parameter store
func SetConfigMapFromSecret ¶
func SetConfigMapFromSecret(secretStore parameters.Store, cm ConfigMap, paramName parameters.StoreKey, configMapKey string) error
SetConfigMapFromSecret set config map from a secret store
Types ¶
type CloudProvider ¶
type CloudProvider string
CloudProvider alias to string
const ( // AWS cloud provider AWS CloudProvider = "aws" // Azure cloud provider Azure CloudProvider = "az" // GCP cloud provider GCP CloudProvider = "gcp" // EnvPrefix prefix for e2e environment variables EnvPrefix = "E2E_" )
type ConfigMap ¶
ConfigMap type alias to auto.ConfigMap
func BuildStackParameters ¶
BuildStackParameters creates a config map from a profile, a scenario config map and env/cli configuration parameters
type Profile ¶
type Profile interface { // EnvironmentName returns the environment names for cloud providers EnvironmentNames() string // ProjectName used by Pulumi ProjectName() string // GetWorkspacePath returns the directory for local Pulumi workspace. // Since one Workspace supports one single program and we have one program per stack, // the path should be unique for each stack. GetWorkspacePath(stackName string) string // ParamStore() returns the normal parameter store ParamStore() parameters.Store // SecretStore returns the secure parameter store SecretStore() parameters.Store // NamePrefix returns a prefix to name objects NamePrefix() string // AllowDevMode returns if DevMode is allowed AllowDevMode() bool }
Profile interface defines functions required by a profile
func GetProfile ¶
func GetProfile() Profile
GetProfile return a profile initialising it at first call
func NewLocalProfile ¶
NewLocalProfile creates a new local profile
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package parameters implements parameters for profiles
|
Package parameters implements parameters for profiles |
Click to show internal directories.
Click to hide internal directories.