Documentation
¶
Index ¶
- func NewListCommand(cfgFactory config.Factory) *cobra.Command
- func NewPhaseCommand(cfgFactory config.Factory) *cobra.Command
- func NewRenderCommand(cfgFactory config.Factory) *cobra.Command
- func NewRunCommand(cfgFactory config.Factory) *cobra.Command
- func NewStatusCommand(cfgFactory config.Factory) *cobra.Command
- func NewTreeCommand(cfgFactory config.Factory) *cobra.Command
- func NewValidateCommand(cfgFactory config.Factory) *cobra.Command
- func RenderArgs(opts *phase.RenderCommand) cobra.PositionalArgs
- type ErrRenderTooManyArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListCommand ¶
func NewListCommand(cfgFactory config.Factory) *cobra.Command
NewListCommand creates a command which prints available phases
func NewPhaseCommand ¶
func NewPhaseCommand(cfgFactory config.Factory) *cobra.Command
NewPhaseCommand creates a command for interacting with phases
func NewRenderCommand ¶
func NewRenderCommand(cfgFactory config.Factory) *cobra.Command
NewRenderCommand create a new command for document rendering
func NewRunCommand ¶
func NewRunCommand(cfgFactory config.Factory) *cobra.Command
NewRunCommand creates a command to run specific phase
func NewStatusCommand ¶
func NewStatusCommand(cfgFactory config.Factory) *cobra.Command
NewStatusCommand creates a command to find status of specific phase
func NewTreeCommand ¶
func NewTreeCommand(cfgFactory config.Factory) *cobra.Command
NewTreeCommand creates a command to get summarized tree view of the kustomize entrypoints of a phase
func NewValidateCommand ¶
func NewValidateCommand(cfgFactory config.Factory) *cobra.Command
NewValidateCommand creates a command to assert that a phase is valid is to actually run the phase.
func RenderArgs ¶
func RenderArgs(opts *phase.RenderCommand) cobra.PositionalArgs
RenderArgs returns an error if there are not exactly n args.
Types ¶
type ErrRenderTooManyArgs ¶
type ErrRenderTooManyArgs struct {
Count int
}
ErrRenderTooManyArgs returned when more than 1 argument is provided as argument to render command