jx: github.com/jenkins-x/jx/pkg/cmd/upgrade Index | Files

package upgrade

import "github.com/jenkins-x/jx/pkg/cmd/upgrade"

Index

Package Files

upgrade.go upgrade_addon_prow.go upgrade_addons.go upgrade_apps.go upgrade_binaries.go upgrade_boot.go upgrade_cli.go upgrade_crd.go upgrade_ingress.go

func NewCmdUpgrade Uses

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

NewCmdUpgrade creates the command

func NewCmdUpgradeAddonProw Uses

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

NewCmdUpgradeAddonProw defines the command

func NewCmdUpgradeAddons Uses

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

NewCmdUpgradeAddons defines the command

func NewCmdUpgradeApps Uses

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

NewCmdUpgradeApps defines the command

func NewCmdUpgradeBinaries Uses

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

func NewCmdUpgradeBoot Uses

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

NewCmdUpgradeBoot creates the command

func NewCmdUpgradeCLI Uses

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

NewCmdUpgradeCLI defines the command

func NewCmdUpgradeCRDs Uses

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

NewCmdUpgradeCRDs defines the command

func NewCmdUpgradeIngress Uses

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

NewCmdUpgradeIngress defines the command

type UpgradeAddonProwOptions Uses

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 Uses

func (o *UpgradeAddonProwOptions) Run() error

Run implements the command

func (*UpgradeAddonProwOptions) Upgrade Uses

func (o *UpgradeAddonProwOptions) Upgrade() error

Upgrade Prow

func (*UpgradeAddonProwOptions) UpgradeViaGitOps Uses

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

UpgradeViaGitOps

type UpgradeAddonsOptions Uses

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 Uses

func (o *UpgradeAddonsOptions) Run() error

Run implements the command

type UpgradeAppsOptions Uses

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 Uses

func (o *UpgradeAppsOptions) Run() error

Run implements the command

type UpgradeBinariesOptions Uses

type UpgradeBinariesOptions struct {
    options.CreateOptions
}

func (*UpgradeBinariesOptions) Run Uses

func (o *UpgradeBinariesOptions) Run() error

type UpgradeBootOptions Uses

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

UpgradeBootOptions options for the command

func (*UpgradeBootOptions) Run Uses

func (o *UpgradeBootOptions) Run() error

Run runs this command

type UpgradeCLIOptions Uses

type UpgradeCLIOptions struct {
    options.CreateOptions

    Version string
}

UpgradeCLIOptions the options for the create spring command

func (*UpgradeCLIOptions) Run Uses

func (o *UpgradeCLIOptions) Run() error

Run implements the command

func (*UpgradeCLIOptions) ShouldUpdate Uses

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

ShouldUpdate checks if CLI version should be updated

func (*UpgradeCLIOptions) UpgradeBinaryPlugins Uses

func (o *UpgradeCLIOptions) UpgradeBinaryPlugins() error

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

type UpgradeCRDsOptions Uses

type UpgradeCRDsOptions struct {
    UpgradeOptions
}

UpgradeCRDsOptions the options for the upgrade CRDs command

func (*UpgradeCRDsOptions) Run Uses

func (o *UpgradeCRDsOptions) Run() error

Run implements the command

type UpgradeOptions Uses

type UpgradeOptions struct {
    *opts.CommonOptions
}

UpgradeOptions are the flags for delete commands

func (*UpgradeOptions) Run Uses

func (o *UpgradeOptions) Run() error

Run implements this command

Package upgrade imports 40 packages (graph). Updated 2020-07-03. Refresh now. Tools for package owners.