server

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestServer

type RestServer struct {
	Config *config.Config
	Store  *kvstore.KvStore
	Server *negroni.Negroni
	State  *types.ScaleIOFramework
	Index  int

	sync.Mutex
}

RestServer representation for a REST API server

func NewRestServer

func NewRestServer(cfg *config.Config, store *kvstore.KvStore) *RestServer

NewRestServer generates a new REST API server

func (*RestServer) MonitorForState

func (s *RestServer) MonitorForState() error

MonitorForState monitors for changes in state

Jump to

Keyboard shortcuts

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