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_cluster.go upgrade_crd.go upgrade_extensions.go upgrade_extensions_repository.go upgrade_ingress.go upgrade_platform.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 NewCmdUpgradeCluster Uses

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

NewCmdUpgradeCluster defines the command

func NewCmdUpgradeExtensions Uses

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

func NewCmdUpgradeExtensionsRepository Uses

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

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a Kubernetes cluster.

func NewCmdUpgradeIngress Uses

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

NewCmdUpgradeIngress defines the command

func NewCmdUpgradePlatform Uses

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

NewCmdUpgradePlatform defines the command

type UpgradeAddonProwOptions Uses

type UpgradeAddonProwOptions struct {
    UpgradeAddonsOptions

    Tekton      bool
    ExternalDNS bool
    // 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 {
    create.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
}

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 {
    create.CreateOptions
}

func (*UpgradeBinariesOptions) Run Uses

func (o *UpgradeBinariesOptions) Run() error

type UpgradeBootOptions Uses

type UpgradeBootOptions struct {
    *opts.CommonOptions
    Dir 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 {
    create.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

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 UpgradeClusterOptions Uses

type UpgradeClusterOptions struct {
    UpgradeOptions

    Version     string
    ClusterName string
}

UpgradeClusterOptions the options for the create spring command

func (*UpgradeClusterOptions) Run Uses

func (o *UpgradeClusterOptions) Run() error

Run implements the command

type UpgradeExtensionsOptions Uses

type UpgradeExtensionsOptions struct {
    create.CreateOptions
    Filter                   string
    ExtensionsRepositoryFile string
}

func (*UpgradeExtensionsOptions) Contains Uses

func (o *UpgradeExtensionsOptions) Contains(whens []jenkinsv1.ExtensionWhen, when jenkinsv1.ExtensionWhen) bool

func (*UpgradeExtensionsOptions) GetInstalledExtensions Uses

func (o *UpgradeExtensionsOptions) GetInstalledExtensions(extensions typev1.ExtensionInterface) (installedExtensions map[string]jenkinsv1.Extension, err error)

func (*UpgradeExtensionsOptions) Run Uses

func (o *UpgradeExtensionsOptions) Run() error

func (*UpgradeExtensionsOptions) UpsertExtension Uses

func (o *UpgradeExtensionsOptions) UpsertExtension(extension *jenkinsv1.ExtensionSpec, exts typev1.ExtensionInterface, installedExtensions map[string]jenkinsv1.Extension, extensionConfig jenkinsv1.ExtensionConfig, lookup map[string]jenkinsv1.ExtensionSpec, depth int, initialIndent int) (needsUpstalling []jenkinsv1.ExtensionExecution, err error)

type UpgradeExtensionsRepositoryFlags Uses

type UpgradeExtensionsRepositoryFlags struct {
}

type UpgradeExtensionsRepositoryOptions Uses

type UpgradeExtensionsRepositoryOptions struct {
    UpgradeExtensionsOptions
    Flags      initcmd.InitFlags
    InputFile  string
    OutputFile string
}

CreateExtensionsRepositoryOptions the flags for running create cluster

func (*UpgradeExtensionsRepositoryOptions) FixChildren Uses

func (o *UpgradeExtensionsRepositoryOptions) FixChildren(extension jenkinsv1.ExtensionSpec, lookupByName map[string]jenkinsv1.ExtensionSpec, lookupByUUID map[string]jenkinsv1.ExtensionSpec, resolveErrors *[]string) (children []string, err error)

func (*UpgradeExtensionsRepositoryOptions) LoadAsStringFromURL Uses

func (o *UpgradeExtensionsRepositoryOptions) LoadAsStringFromURL(url string) (result string, err error)

func (*UpgradeExtensionsRepositoryOptions) Run Uses

func (o *UpgradeExtensionsRepositoryOptions) Run() error

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

type UpgradePlatformOptions Uses

type UpgradePlatformOptions struct {
    create.InstallOptions

    Version       string
    ReleaseName   string
    Chart         string
    Namespace     string
    Set           string
    AlwaysUpgrade bool
    UpdateSecrets bool

    InstallFlags create.InstallFlags
}

UpgradePlatformOptions the options for the create spring command

func (*UpgradePlatformOptions) Run Uses

func (o *UpgradePlatformOptions) Run() error

Run implements the command

Package upgrade imports 57 packages (graph) and is imported by 2 packages. Updated 2019-10-17. Refresh now. Tools for package owners.