Versions in this module Expand all Collapse all v0 v0.1.0 Feb 11, 2022 Changes in this version + const DefaultEC2AssumeRolePolicyDocument + const DefaultEKSAssumeRolePolicyDocument + const DefaultNamePrefix + const DefaultRegion + const PunchTopologyTagName + const TemplateNoValue + var DefaultTopologyHandlerManager = TopologyHandlerManager + func GetOrElse(valueMap map[string]string, key string, defaultValue string) string + type AbleToPrintUsageExample interface + PrintUsageExample func(topology Topology, deploymentOutput DeploymentOutput) + type CommandEnvironment struct + func CreateCommandEnvironment(valueMap map[string]string) CommandEnvironment + func (t *CommandEnvironment) Get(key string) string + func (t *CommandEnvironment) GetBoolOrElse(key string, defaultValue bool) bool + func (t *CommandEnvironment) GetOrElse(key string, defaultValue string) string + func (t *CommandEnvironment) GetValueMap() map[string]string + func (t *CommandEnvironment) Set(key string, value string) + func (t *CommandEnvironment) ToYamlString() string + type DefaultDeploymentContext struct + func (d DefaultDeploymentContext) AddStepOutput(name string, output map[string]interface{}) + func (d DefaultDeploymentContext) GetStepOutput(name string) map[string]interface{} + type Deployment interface + AddStep func(name string, description string, run DeploymentStepFunc) + GetContext func() DeploymentContext + GetOutput func() DeploymentOutput + RunSteps func(topology Topology) error + type DeploymentContext interface + AddStepOutput func(name string, output map[string]interface{}) + GetStepOutput func(name string) map[string]interface{} + func NewDefaultDeploymentContext() DeploymentContext + type DeploymentImpl struct + func NewDeployment() DeploymentImpl + func (d *DeploymentImpl) AddStep(name string, description string, run DeploymentStepFunc) + func (d *DeploymentImpl) GetContext() DeploymentContext + func (d *DeploymentImpl) GetOutput() DeploymentOutput + func (d *DeploymentImpl) RunSteps(topology Topology) error + type DeploymentOutput interface + Output func() map[string]DeploymentStepOutput + Steps func() []string + type DeploymentOutputImpl struct + func (t *DeploymentOutputImpl) Output() map[string]DeploymentStepOutput + func (t *DeploymentOutputImpl) Steps() []string + type DeploymentStep interface + Description func() string + Name func() string + Run func(context DeploymentContext, topology Topology) (DeploymentStepOutput, error) + type DeploymentStepFunc func(context DeploymentContext, topology Topology) (DeploymentStepOutput, error) + type DeploymentStepOutput map[string]interface + func NewDeploymentStepOutput() DeploymentStepOutput + type TemplateData interface + Env func() map[string]string + Values func() map[string]interface{} + type TemplateDataImpl struct + func CopyTemplateData(from TemplateData) TemplateDataImpl + func CreateTemplateData(env map[string]string, values map[string]string) TemplateDataImpl + func (t *TemplateDataImpl) AddEnv(key string, value string) + func (t *TemplateDataImpl) AddEnvs(values map[string]string) + func (t *TemplateDataImpl) AddValue(key string, value interface{}) + func (t *TemplateDataImpl) AddValueWithNestedKey(key string, value interface{}) + func (t *TemplateDataImpl) AddValues(values map[string]interface{}) + func (t *TemplateDataImpl) Env() map[string]string + func (t *TemplateDataImpl) GetStringValueOrDefault(key string, defaultValue string) string + func (t *TemplateDataImpl) NamePrefix() string + func (t *TemplateDataImpl) Values() map[string]interface{} + type TemplateDataWithRegion struct + func (t *TemplateDataWithRegion) DefaultS3BucketName() string + func (t *TemplateDataWithRegion) DefaultVpcId() string + func (t *TemplateDataWithRegion) Region() string + type Topology interface + GetKind func() string + ToString func() string + type TopologyHandler interface + Generate func() (Topology, error) + Install func(topology Topology) (DeploymentOutput, error) + Parse func(yamlContent []byte) (Topology, error) + Resolve func(topology Topology, data TemplateData) (Topology, error) + Uninstall func(topology Topology) (DeploymentOutput, error) + type TopologyHandlerManager struct + func (t TopologyHandlerManager) AddHandler(kind string, handler TopologyHandler) + func (t TopologyHandlerManager) GetHandler(kind string) TopologyHandler + type TopologyMetadata struct + CommandEnvironment map[string]string + Name string + Notes map[string]string