environment

package
v0.0.0-...-a002913 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Facade

type Facade struct {
	*common.EnvironWatcher
	*ToolsVersionUpdater
}

Facade provides access to a machine environment worker's view of the world.

func NewFacade

func NewFacade(caller base.APICaller) *Facade

NewFacade returns a new api client facade instance.

type ToolsVersionUpdater

type ToolsVersionUpdater struct {
	// contains filtered or unexported fields
}

ToolsVersionUpdater allows api calls to update available tool version.

func NewToolsVersionUpdater

func NewToolsVersionUpdater(facade base.FacadeCaller) *ToolsVersionUpdater

NewToolsVersionUpdater returns a new ToolsVersionUpdater pointer.

func (*ToolsVersionUpdater) UpdateToolsVersion

func (t *ToolsVersionUpdater) UpdateToolsVersion() error

UpdateToolsVersion calls UpdateToolsAvailable in the server with the provided version.

Jump to

Keyboard shortcuts

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