Documentation ¶
Overview ¶
Package update provides connection to a remote update server for upgrading cells binary
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyUpdate ¶
func ApplyUpdate(ctx context.Context, p *update.Package, conf common.ConfigValues, dryRun bool) error
ApplyUpdate uses the info of an update.Package to download the binary and replace the current running binary. A restart is necessary afterward. The dryRun option will download the binary and just put it in the /tmp folder
func LoadUpdates ¶
LoadUpdates will post a Json query to the update server to detect if there are any updates available
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package grpc is in charge of detecting updates and applying them
|
Package grpc is in charge of detecting updates and applying them |
Package lang provides update-related i18n strings
|
Package lang provides update-related i18n strings |
Package rest provides a REST gateway to the update service
|
Package rest provides a REST gateway to the update service |
Click to show internal directories.
Click to hide internal directories.