upgrade

package
v0.0.0-...-be29cce Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JAEGER_OP = "jaeger-operator"
	JAEGER_CR = "syndesis-jaeger"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Upgrader

type Upgrader interface {
	// Upgrade run all the steps performing a syndesis upgrade
	Upgrade() (err error)

	// In case the Upgrade failed, it is possible to perform a rollback
	// Bringing syndesis to the state it was before the upgrade started
	Rollback() (err error)

	// Because we consider the first install run after upgrade part of the upgrade
	// We need a way to signal this pkg when that step went wrong
	InstallFailed() (count int)
}

Interface to be used top perform upgrades

func Build

func Build(ctx context.Context, log logr.Logger, syndesis *synapi.Syndesis, clientTools *clienttools.ClientTools) (Upgrader, error)

build the upgrade struct

Jump to

Keyboard shortcuts

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