Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileOptions ¶
FileOptions walks the specified ast.File for options structs used when creating metrics and returns instances that are recreated from the source.
Types ¶
type Cell ¶
type Cell struct {
// contains filtered or unexported fields
}
type Cells ¶
type Cells []Cell
func NewCells ¶
NewCells transforms metrics options to cells that can be used for doc generation.
type Column ¶
A Column represents a column of data in the reference table.
type Field ¶
type Field uint8
A Field represents data that is included in the reference table for metrics.
type Table ¶
A Table maintains the cells and columns used to generate the restructured text formatted reference documentation.
func NewPrometheusTable ¶
NewPrometheusTable creates a table that can be used to document Prometheus metrics maintained by Fabric.
func NewStatsdTable ¶
NewStatsdTable creates a table that can be used to document StatsD metrics maintained by Fabric.