Documentation ¶
Index ¶
- func DumpReconCache(reconCachePath string, source string, cacheData map[string]interface{}) error
- func GrepObject(next http.Handler) http.Handler
- func ListDevices(driveRoot string) (map[string][]string, error)
- func Metrics(metricsScope tally.Scope) func(http.Handler) http.Handler
- func NewDebugResponses(debugHeader bool) func(http.Handler) http.Handler
- func OptionsHandler(serverType string, writer http.ResponseWriter, request *http.Request)
- func ReconHandler(driveRoot string, reconCachePath string, mountCheck bool, ...)
- func Recover(w http.ResponseWriter, r *http.Request, msg string)
- func RecoverHandler(next http.Handler) http.Handler
- func RingHandler(w http.ResponseWriter, req *http.Request)
- func ServerTracer(tracer opentracing.Tracer) func(http.Handler) http.Handler
- func ValidateRequest(next http.Handler) http.Handler
- type QuarantineDetailEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpReconCache ¶
func GrepObject ¶
GrepObject is an http middleware that searches objects line-by-line on the object server, similar to grep(1).
func NewDebugResponses ¶ added in v0.0.2
func OptionsHandler ¶
func OptionsHandler(serverType string, writer http.ResponseWriter, request *http.Request)
func ReconHandler ¶
func RingHandler ¶ added in v1.3.0
func RingHandler(w http.ResponseWriter, req *http.Request)
func ServerTracer ¶ added in v1.4.0
ServerTracer is a Middleware that tries to join with an OpenTracing trace found in the HTTP request headers and starts a new Span. If no trace could be found in the HTTP request headers, the Span will be a trace root.
Types ¶
type QuarantineDetailEntry ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.