Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultTmplFile ¶
func GetDefaultTmplFile() (templateFile string)
GetDefaultTmplFile checks the current working directory for *.nomad files. If only 1 is found we return the match.
func GetDefaultVarFile ¶
func GetDefaultVarFile() (varFile string)
GetDefaultVarFile checks the current working directory for levant.(yaml|yml|tf) files. The first match is returned.
Types ¶
type Flag ¶
Flag is a flag.Value implementation for parsing user variables from the command-line in the format of '-var key=value'.
type FlagStringSlice ¶
type FlagStringSlice []string
FlagStringSlice is a flag.Value implementation for parsing targets from the command line, e.g. -var-file=aa -var-file=bb
func (*FlagStringSlice) Set ¶
func (v *FlagStringSlice) Set(raw string) error
Set is used to append a variable file flag argument to a list of file flag args.
func (*FlagStringSlice) String ¶
func (v *FlagStringSlice) String() string
Click to show internal directories.
Click to hide internal directories.