Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlocksAPI ¶
type BlocksAPI struct {
// contains filtered or unexported fields
}
BlocksAPI is a very simple API used by Thanos Block Viewer.
func NewBlocksAPI ¶
func NewBlocksAPI(logger log.Logger, disableCORS bool, label string, flagsMap map[string]string, bkt objstore.Bucket) *BlocksAPI
NewBlocksAPI creates a simple API to be used by Thanos Block Viewer.
func (*BlocksAPI) Register ¶
func (bapi *BlocksAPI) Register(r *route.Router, tracer opentracing.Tracer, logger log.Logger, ins extpromhttp.InstrumentationMiddleware, logMiddleware *logging.HTTPServerMiddleware)
Click to show internal directories.
Click to hide internal directories.