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 ¶
NewListCommand creates a command which prints available phases
func NewPhaseCommand ¶
NewPhaseCommand creates a command for interacting with phases
func NewRenderCommand ¶
NewRenderCommand create a new command for document rendering
func NewRunCommand ¶
NewRunCommand creates a command to run specific phase
func NewStatusCommand ¶
NewStatusCommand creates a command to find status of specific phase
func NewTreeCommand ¶
NewTreeCommand creates a command to get summarized tree view of the kustomize entrypoints of a phase
func NewValidateCommand ¶
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
func (*ErrRenderTooManyArgs) Error ¶
func (e *ErrRenderTooManyArgs) Error() string