Documentation
¶
Index ¶
- Constants
- Variables
- func DetermineCommand(command string) string
- func Green(str string) string
- func HandleParseFlags(flags map[string]string, err error) (map[string]string, error)
- func Orange(str string) string
- func ParseFlags(cliFlags []*Flag) (map[string]string, error)
- func PrintMap(m map[string]string)
- func PrintRelease(rel *release.Release)
- func Run() error
- func RunBlueGreenDeploy() error
- func RunMicroserviceDeploy() error
- func RunStandardChartDeploy() error
- type Flag
Constants ¶
View Source
const ( CHART_DIR = "chart-dir" APP_NAME = "app-name" APP_VERSION = "app-version" TARGET_ENV = "target-env" DEFAULT_COLOUR = "blue" RELEASE_UPGRADE_TIMEOUT = 900 ROLLBACK_VERSION_POOL = 50 ROLLBACK_TIMEOUT = 900 )
Variables ¶
View Source
var Command = &list{
UNKNOWN: "unknown",
BLUEGREEN: "bluegreen",
STANDARD_CHART: "standard-chart",
MICROSERVICE: "microservice",
}
Functions ¶
func DetermineCommand ¶
func HandleParseFlags ¶
func PrintRelease ¶
func RunBlueGreenDeploy ¶
func RunBlueGreenDeploy() error
func RunMicroserviceDeploy ¶
func RunMicroserviceDeploy() error
func RunStandardChartDeploy ¶
func RunStandardChartDeploy() error
Types ¶
Click to show internal directories.
Click to hide internal directories.