Documentation
¶
Index ¶
- Variables
- func CopyFile(src, dst string) error
- func DeployServicesGoal(app *App) error
- func FetchServicesGoal(app *App) error
- func FindFiles(dir string, globs ...string) ([]string, error)
- func Must(err error)
- func NewDeployCommand(app *App) *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func RenderTemplatesGoal(app *App) error
- type App
- type Goal
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GoalMapping = map[string]Goal{ "fetch": FetchServicesGoal, "render": RenderTemplatesGoal, "deploy": DeployServicesGoal, } GoalAliases = map[string][]string{ "all": {"fetch", "render", "deploy"}, } GoalOrder = []string{ "fetch", "render", "deploy", } )
View Source
var ( BuildVersion = "unknown" BuildDate = "unknown" BuildHash = "unknown" BuildEnvironment = "unknown" )
Functions ¶
func DeployServicesGoal ¶
func FetchServicesGoal ¶
func NewDeployCommand ¶
func NewRootCommand ¶
func NewVersionCommand ¶
func RenderTemplatesGoal ¶
Types ¶
type App ¶
type App struct { KubectlBuilder func(kubeconfig *string) (kubernetes.API, error) Kubectl kubernetes.API Goals []string Config settings.ProjectConfig SkipFetch bool SkipDeploy bool Target string }
func (*App) PrepareConfig ¶
Click to show internal directories.
Click to hide internal directories.