upgrade

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package upgrade manages the in-place upgrade of the instance manager

Index

Constants

View Source
const InstanceManagerPath = "/controller/manager"

InstanceManagerPath is the location of the instance manager executable

View Source
const UploadFolder = "/controller"

UploadFolder is the folder where the new version of the instance manager will be uploaded

Variables

View Source
var ErrorInvalidInstanceManagerBinary = errors.New("invalid instance manager binary")

ErrorInvalidInstanceManagerBinary is raised when upgrading to an instance manager which has not the correct hash

Functions

func FromReader

func FromReader(
	cancelFunc context.CancelFunc,
	exitedCondition concurrency.MultipleExecuted,
	typedClient client.Client,
	instance *postgres.Instance,
	r io.Reader,
) error

FromReader updates in place the binary of the instance manager, replacing itself with a new version with the new binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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