Documentation ¶
Index ¶
- func RestBackupCreate(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
- func RestBackupFileList(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
- func RestBackupRestore(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
- func RestBackupStatus(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
- func RestRestoreStatus(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestBackupCreate ¶
func RestBackupCreate(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
func RestBackupFileList ¶
func RestBackupFileList(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
RestBackupFileList implements a rest call that will return a list of the current backup files. The return value is a JSON struct of type JsonizableFileInfo.
func RestBackupRestore ¶
func RestBackupRestore(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
func RestBackupStatus ¶
func RestBackupStatus(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
func RestRestoreStatus ¶
func RestRestoreStatus(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)
Types ¶
type ServiceConfig ¶
type ServiceConfig struct {
// contains filtered or unexported fields
}
ServiceConfig is the ui/rest handler for control center
func NewServiceConfig ¶
func NewServiceConfig(bindPort string, agentPort string, stats bool, hostaliases []string, muxTLS bool, muxPort int, aGroup string) *ServiceConfig
NewServiceConfig creates a new ServiceConfig
func (*ServiceConfig) Serve ¶
func (sc *ServiceConfig) Serve(shutdown <-chan (interface{}))
Serve handles control center web UI requests and virtual host requests for zenoss web based services. The UI server actually listens on port 7878, the uihandler defined here just reverse proxies to it. Virtual host routing to zenoss web based services is done by the vhosthandler function.
func (*ServiceConfig) ServeUI ¶
func (sc *ServiceConfig) ServeUI()
ServeUI is a blocking call that runs the UI hander on port :7878
Click to show internal directories.
Click to hide internal directories.