Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command has all the pipeline subcommands
func (*Command) ExecuteDeployPipeline ¶
func (pc *Command) ExecuteDeployPipeline(ctx context.Context, opts *DeployOptions) error
ExecuteDeployPipeline executes deploy pipeline given a set of options
func (*Command) ExecuteDestroyPipeline ¶
func (pc *Command) ExecuteDestroyPipeline(ctx context.Context, opts *DestroyOptions) error
ExecuteDestroyPipeline executes destroy pipeline given a set of options
type DeployOptions ¶
type DeployOptions struct { Branch string Repository string Name string Namespace string File string Variables []string Labels []string Timeout time.Duration Wait bool SkipIfExists bool ReuseParams bool }
DeployOptions represents options for deploy pipeline command
type DeployerInterface ¶
type DeployerInterface interface {
ExecuteDeployPipeline(ctx context.Context, opts *DeployOptions) error
}
type DestroyOptions ¶
type DestroyOptions struct { Name string Namespace string Wait bool DestroyVolumes bool Timeout time.Duration }
DestroyOptions options to destroy pipeline command
type Interface ¶
type Interface interface { DeployerInterface }
Click to show internal directories.
Click to hide internal directories.