Documentation
¶
Index ¶
- Constants
- Variables
- func DefaultDynatraceconfigDir() string
- func GeModulesNames(baseDir, dir string) ([]string, error)
- func GetProductionDir(baseDir string) string
- func GetSaasDir(component string) (string, error)
- func GetServiceNames(appInterface git.AppInterface, saaDirs ...string) ([]string, error)
- func NewCmdDynatrace() *cobra.Command
- func Open(filepath string) (*hclwrite.File, error)
- func Save(filename string, file *hclwrite.File) error
- func UpdateDefaultValue(file *hclwrite.File, name string, value string) bool
- func ValidateModuleName(moduleName string) (string, error)
- func ValidateServiceName(serviceSlice []string, serviceName string) (string, error)
- type DynatraceConfig
Constants ¶
View Source
const (
ProductionDir = "terraform/redhat-aws/sd-sre/production"
)
Variables ¶
Functions ¶
func DefaultDynatraceconfigDir ¶
func DefaultDynatraceconfigDir() string
func GeModulesNames ¶
func GetProductionDir ¶
func GetSaasDir ¶
func GetServiceNames ¶
func GetServiceNames(appInterface git.AppInterface, saaDirs ...string) ([]string, error)
func NewCmdDynatrace ¶
NewCmdDynatrace implements the promote command to promote services/operators
func UpdateDefaultValue ¶
func ValidateModuleName ¶
Types ¶
type DynatraceConfig ¶
func DynatraceConfigPromotion ¶
func DynatraceConfigPromotion(dynatraceConfigCheckoutDir string) DynatraceConfig
func (DynatraceConfig) UpdateDynatraceConfig ¶
func (a DynatraceConfig) UpdateDynatraceConfig(component, promotionGitHash, branchName string) error
Click to show internal directories.
Click to hide internal directories.