Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "sharedflow", Short: "Generate a shared flow bundle from a template", Long: Usage(), RunE: func(cmd *cobra.Command, args []string) error { if strings.TrimSpace(string(cFlags.OutputFile)) == "" && dryRun.IsUnset() { return errors.New("required flag(s) \"output\" not set") } createModelFunc := func(input string) (v1.Model, error) { return v1.NewSharedFlowBundleModel(input) } return render.GenerateBundle(createModelFunc, cFlags, bool(validate), dryRun.Value) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.