upgrade

package
v2.0.400-0...-14731b4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUpgrade

func NewCmdUpgrade(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgrade creates the command

func NewCmdUpgradeAddonProw

func NewCmdUpgradeAddonProw(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeAddonProw defines the command

func NewCmdUpgradeAddons

func NewCmdUpgradeAddons(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeAddons defines the command

func NewCmdUpgradeApps

func NewCmdUpgradeApps(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeApps defines the command

func NewCmdUpgradeBinaries

func NewCmdUpgradeBinaries(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdUpgradeBoot

func NewCmdUpgradeBoot(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeBoot creates the command

func NewCmdUpgradeCLI

func NewCmdUpgradeCLI(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeCLI defines the command

func NewCmdUpgradeCRDs

func NewCmdUpgradeCRDs(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeCRDs defines the command

func NewCmdUpgradeIngress

func NewCmdUpgradeIngress(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdUpgradeIngress defines the command

Types

type UpgradeAddonProwOptions

type UpgradeAddonProwOptions struct {
	UpgradeAddonsOptions

	Tekton      bool
	ExternalDNS bool

	// Used for testing
	CloneDir string
	// contains filtered or unexported fields
}

UpgradeAddonProwOptions the options for the create spring command

func (*UpgradeAddonProwOptions) Run

func (o *UpgradeAddonProwOptions) Run() error

Run implements the command

func (*UpgradeAddonProwOptions) Upgrade

func (o *UpgradeAddonProwOptions) Upgrade() error

Upgrade Prow

func (*UpgradeAddonProwOptions) UpgradeViaGitOps

func (o *UpgradeAddonProwOptions) UpgradeViaGitOps(devEnv *jenkinsv1.Environment) error

UpgradeViaGitOps

type UpgradeAddonsOptions

type UpgradeAddonsOptions struct {
	options.CreateOptions

	Namespace   string
	Set         string
	VersionsDir string

	InstallFlags create.InstallFlags
}

UpgradeAddonsOptions the options for the create spring command

func (*UpgradeAddonsOptions) Run

func (o *UpgradeAddonsOptions) Run() error

Run implements the command

type UpgradeAppsOptions

type UpgradeAppsOptions struct {
	add.AddOptions

	GitOps bool
	DevEnv *jenkinsv1.Environment

	Repo        string
	Alias       string
	Username    string
	Password    string
	ReleaseName string

	HelmUpdate bool
	AskAll     bool
	AutoMerge  bool

	Version string
	All     bool

	Namespace string
	Set       []string

	// Used for testing
	CloneDir string
}

UpgradeAppsOptions the options for the create spring command

func (*UpgradeAppsOptions) Run

func (o *UpgradeAppsOptions) Run() error

Run implements the command

type UpgradeBinariesOptions

type UpgradeBinariesOptions struct {
	options.CreateOptions
}

func (*UpgradeBinariesOptions) Run

func (o *UpgradeBinariesOptions) Run() error

type UpgradeBootOptions

type UpgradeBootOptions struct {
	*opts.CommonOptions
	Dir                     string
	UpgradeVersionStreamRef string
	LatestRelease           bool
	Labels                  []string
}

UpgradeBootOptions options for the command

func (*UpgradeBootOptions) Run

func (o *UpgradeBootOptions) Run() error

Run runs this command

type UpgradeCLIOptions

type UpgradeCLIOptions struct {
	options.CreateOptions

	Version string
}

UpgradeCLIOptions the options for the create spring command

func (*UpgradeCLIOptions) Run

func (o *UpgradeCLIOptions) Run() error

Run implements the command

func (*UpgradeCLIOptions) ShouldUpdate

func (o *UpgradeCLIOptions) ShouldUpdate(newVersion semver.Version) (bool, error)

ShouldUpdate checks if CLI version should be updated

func (*UpgradeCLIOptions) UpgradeBinaryPlugins

func (o *UpgradeCLIOptions) UpgradeBinaryPlugins() error

UpgradeBinaryPlugins eagerly installs/upgrades any binary plugins which have Plugin CRDs defined in the current development namespace

type UpgradeCRDsOptions

type UpgradeCRDsOptions struct {
	UpgradeOptions
}

UpgradeCRDsOptions the options for the upgrade CRDs command

func (*UpgradeCRDsOptions) Run

func (o *UpgradeCRDsOptions) Run() error

Run implements the command

type UpgradeOptions

type UpgradeOptions struct {
	*opts.CommonOptions
}

UpgradeOptions are the flags for delete commands

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run() error

Run implements this command

Jump to

Keyboard shortcuts

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