Versions in this module Expand all Collapse all v0 v0.7.1 Mar 9, 2018 v0.7.0 Feb 21, 2018 Changes in this version + func FormatJsonResponse(w http.ResponseWriter, object interface{}) + func Logger(inner http.Handler, name string) http.Handler + func Run(context *clusterd.Context, c *Config) error + func ServeRoutes(context *clusterd.Context, c *Config) + func WatchMonConfig(context *clusterd.Context, c *Config) + type CephExporter struct + func NewCephExporter(h *Handler) *CephExporter + func (c *CephExporter) Collect(ch chan<- prometheus.Metric) + func (c *CephExporter) Describe(ch chan<- *prometheus.Desc) + type Config struct + func NewConfig(context *clusterd.Context, port int, clusterInfo *mon.ClusterInfo, ...) *Config + type Handler struct + func (h *Handler) CreateFileSystem(w http.ResponseWriter, r *http.Request) + func (h *Handler) CreateImage(w http.ResponseWriter, r *http.Request) + func (h *Handler) CreateObjectStore(w http.ResponseWriter, r *http.Request) + func (h *Handler) CreatePool(w http.ResponseWriter, r *http.Request) + func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request) + func (h *Handler) DeleteBucket(w http.ResponseWriter, r *http.Request) + func (h *Handler) DeleteImage(w http.ResponseWriter, r *http.Request) + func (h *Handler) DeletePool(w http.ResponseWriter, r *http.Request) + func (h *Handler) DeleteUser(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetBucket(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetClientAccessInfo(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetFileSystems(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetImages(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetNodes(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetObjectStoreConnectionInfo(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetObjectStores(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetPools(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetRoutes() []Route + func (h *Handler) GetStatusDetails(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetUser(w http.ResponseWriter, r *http.Request) + func (h *Handler) ListBuckets(w http.ResponseWriter, r *http.Request) + func (h *Handler) ListUsers(w http.ResponseWriter, r *http.Request) + func (h *Handler) RegisterMetrics(retryMs int) error + func (h *Handler) RemoveFileSystem(w http.ResponseWriter, r *http.Request) + func (h *Handler) RemoveObjectStore(w http.ResponseWriter, r *http.Request) + func (h *Handler) SetLogLevel(w http.ResponseWriter, r *http.Request) + func (h *Handler) Shutdown() + func (h *Handler) UpdateUser(w http.ResponseWriter, r *http.Request) + type Route struct + HandlerFunc http.HandlerFunc + Method string + Name string + Pattern string