upgrade_kyma

package
v0.0.0-...-fb2c256 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// the time after which the operation is marked as expired
	CheckStatusTimeout = 3 * time.Hour
)
View Source
const DryRunPrefix = "dry_run-"

Variables

This section is empty.

Functions

This section is empty.

Types

type InitialisationStep

type InitialisationStep struct {
	// contains filtered or unexported fields
}

func (*InitialisationStep) Name

func (s *InitialisationStep) Name() string

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(storage storage.Operations, pub event.Publisher, logger logrus.FieldLogger) *Manager

func (*Manager) AddStep

func (m *Manager) AddStep(weight int, step Step)

func (*Manager) Execute

func (m *Manager) Execute(operationID string) (time.Duration, error)

func (*Manager) InitStep

func (m *Manager) InitStep(step Step)

type OverridesFromSecretsAndConfigStep

type OverridesFromSecretsAndConfigStep struct {
	// contains filtered or unexported fields
}

func (*OverridesFromSecretsAndConfigStep) Name

func (*OverridesFromSecretsAndConfigStep) Run

type Step

type Step interface {
	Name() string
	Run(operation internal.UpgradeKymaOperation, logger logrus.FieldLogger) (internal.UpgradeKymaOperation, time.Duration, error)
}

type TimeSchedule

type TimeSchedule struct {
	Retry              time.Duration
	StatusCheck        time.Duration
	UpgradeKymaTimeout time.Duration
}

type UpgradeKymaStep

type UpgradeKymaStep struct {
	// contains filtered or unexported fields
}

func NewUpgradeKymaStep

func NewUpgradeKymaStep(os storage.Operations, runtimeStorage storage.RuntimeStates, cli provisioner.Client, timeSchedule *TimeSchedule) *UpgradeKymaStep

func (*UpgradeKymaStep) Name

func (s *UpgradeKymaStep) Name() string

Jump to

Keyboard shortcuts

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