Documentation ¶
Index ¶
- Constants
- Variables
- func CompleteFail(err string)
- func CompleteSucceed()
- func Execute()
- func GetConfig(environment string) (*config.Config, error)
- func GetConfigWithoutEnvironment() (*config.Config, error)
- func Run(name string, f func(*config.Config, log.Logger, interface{}) error, ...) error
- func RunBranch(name string, f func(*config.Config, log.Logger, interface{}) error, ...) error
- type ApplyFlags
- type DestroyFlags
- type PlanFlags
- type PrepFlags
Constants ¶
View Source
const WARNING_MSG string = `` /* 149-byte string literal not displayed */
Variables ¶
View Source
var Config *config.Config
View Source
var Log = log.Log{}
View Source
var RootCmd = &cobra.Command{
Use: "colonize",
Short: "A terraform tool to manage environment driven templating",
Long: `
Colonize is a configurable, albeit opinionated way to organize and manage your
terraform templates. It revolves around the idea of environments, and allows
you to organize templates, and template data around that common organizational
structure.
Once it's been configured, it allows for hierarical templates and variables,
and the ability to organize them in a defined manageable way.`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func CompleteFail ¶
func CompleteFail(err string)
func CompleteSucceed ¶
func CompleteSucceed()
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetConfigWithoutEnvironment ¶
This is available for all the subcommands
Types ¶
type ApplyFlags ¶
type DestroyFlags ¶
Click to show internal directories.
Click to hide internal directories.