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
Types ¶
This section is empty.
      
      Source Files
      ¶
    
- tools.go
 
      
      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.