phase

package
v0.0.0-...-b8e83fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (*ErrRenderTooManyArgs) Error

func (e *ErrRenderTooManyArgs) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL