Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BladeArgumentDetails ¶
type BladeArgumentDetails struct { Value string Help string // contains filtered or unexported fields }
func (*BladeArgumentDetails) AttachFlag ¶
func (a *BladeArgumentDetails) AttachFlag(cobraCommand *cobra.Command)
AttachFlag allows you to pass in a Cobra command if you'd like to attach an override flag in relation to this argument.
func (*BladeArgumentDetails) FlagValue ¶
func (a *BladeArgumentDetails) FlagValue() string
FlagValue returns the applied flag which either came from a command-line override or from the Recipe itself.
func (*BladeArgumentDetails) Name ¶
func (a *BladeArgumentDetails) Name() string
Name returns the argument name or what string is in the {{}} construct.
type BladeRecipeArguments ¶
type BladeRecipeArguments map[string]*BladeArgumentDetails
type BladeRecipeHelp ¶
type BladeRecipeOverrides ¶
type BladeRecipeResilience ¶
type BladeRecipeYaml ¶
type BladeRecipeYaml struct { Args BladeRecipeArguments Name string Filename string Hosts []string HostLookup string Exec []string Help *BladeRecipeHelp Overrides *BladeRecipeOverrides Resilience *BladeRecipeResilience }
func LoadRecipeYaml ¶
func LoadRecipeYaml(path string) (*BladeRecipeYaml, error)
Click to show internal directories.
Click to hide internal directories.