updater

package
Version: v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, GooglePatentsFile, ISC, MIT, MPL-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package updater handles requests to update the agent.

Requests are assumed to be two-phase where the phases consist of a 'download' followed by an 'update'. Either of these steps may fail. The agent is responsible for, on download, correctly downloading the referenced file and validating it against the provided checksum. However, the actual 'update' component is handled by signaling a watching process via exit code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAgentUpdateHandlers

func AddAgentUpdateHandlers(cs wsclient.ClientServer, cfg *config.Config, saver statemanager.Saver, taskEngine engine.TaskEngine)

AddAgentUpdateHandlers adds the needed update handlers to perform agent updates

Types

This section is empty.

Directories

Path Synopsis
os
Package os provides interfaces around the 'os', 'io', and 'ioutil' functions so that may be mocked out appropriately
Package os provides interfaces around the 'os', 'io', and 'ioutil' functions so that may be mocked out appropriately

Jump to

Keyboard shortcuts

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