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
Click to show internal directories.
Click to hide internal directories.