web

package
v0.0.0-...-88aa921 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2015 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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