common

package
v0.0.0-...-a7271ac Latest Latest
Warning

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

Go to latest
Published: May 4, 2014 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Life

func Life(caller base.Caller, facadeName, tag string) (params.Life, error)

Life requests the life cycle of the given entity from the given server-side API facade via the given caller.

Types

type EnvironWatcher

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

EnvironWatcher provides common client side api functions to call into the apiserver.common.EnvironWatcher.

func NewEnvironWatcher

func NewEnvironWatcher(façadeName string, caller base.Caller) *EnvironWatcher

NewEnvironWatcher creates a EnvironWatcher on the specified façade, and uses this name when calling through the caller.

func (*EnvironWatcher) EnvironConfig

func (e *EnvironWatcher) EnvironConfig() (*config.Config, error)

EnvironConfig returns the current environment configuration.

func (*EnvironWatcher) WatchForEnvironConfigChanges

func (e *EnvironWatcher) WatchForEnvironConfigChanges() (watcher.NotifyWatcher, error)

WatchForEnvironConfigChanges return a NotifyWatcher waiting for the environment configuration to change.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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