upgrade

package
v2.1.47 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReturnUserNameIfPicked

func ReturnUserNameIfPicked(organisation string, username string) string

ReturnUserNameIfPicked checks to see if PickOrganisation returned "" this will happen if you picked the username as organization which is valid in this scenario and allows code further down to select the appropriate API to call (user or org based)

Types

type UpgradeIngressOptions

type UpgradeIngressOptions struct {
	*opts.CommonOptions

	SkipCertManager     bool
	Cluster             bool
	Force               bool
	Namespaces          []string
	Version             string
	TargetNamespaces    []string
	Services            []string
	SkipResourcesUpdate bool
	WaitForCerts        bool
	ConfigNamespace     string

	IngressConfig kube.IngressConfig
}

UpgradeIngressOptions the options for the create spring command

func (*UpgradeIngressOptions) AnnotateExposedServicesWithCertManager

func (o *UpgradeIngressOptions) AnnotateExposedServicesWithCertManager(svcs ...string) ([]*v1.Service, error)

AnnotateExposedServicesWithCertManager annotates exposed services with cert manager

func (*UpgradeIngressOptions) CleanServiceAnnotations

func (o *UpgradeIngressOptions) CleanServiceAnnotations(svcs ...string) error

CleanServiceAnnotations cleans service annotations

func (*UpgradeIngressOptions) Run

func (o *UpgradeIngressOptions) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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