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 configx.Values, dryRun bool, pgChan chan float64, doneChan chan bool, errorChan chan 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
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
service
Package service is a GRPC service in charge of detecting updates and applying them
|
Package service is a GRPC service in charge of detecting updates and applying them |
Package lang provides update-related i18n strings
|
Package lang provides update-related i18n strings |
service
Package service provides a REST gateway to the update service
|
Package service provides a REST gateway to the update service |
Click to show internal directories.
Click to hide internal directories.