pipeline

package
v0.0.0-...-fa857ea Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAllResourcesRunning

func CheckAllResourcesRunning(name string, resourceStatus map[string]string) (bool, error)

func Pipeline

func Pipeline(ctx context.Context) *cobra.Command

Pipeline pipeline management commands

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command has all the pipeline subcommands

func NewCommand

func NewCommand() (*Command, error)

NewCommand creates a namespace command to

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
}

Jump to

Keyboard shortcuts

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