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.
Click to show internal directories.
Click to hide internal directories.