RowBuilder
Constructor
func NewRowBuilder(title string) *RowBuilder
Methods
Build
Builds the object.
func (builder *RowBuilder) Build() (RowPanel, error)
Collapsed
Whether this row should be collapsed or not.
func (builder *RowBuilder) Collapsed(collapsed bool) *RowBuilder
Datasource
Name of default datasource for the row
func (builder *RowBuilder) Datasource(datasource dashboard.DataSourceRef) *RowBuilder
GridPos
Row grid position
func (builder *RowBuilder) GridPos(gridPos dashboard.GridPos) *RowBuilder
Id
Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.
func (builder *RowBuilder) Id(id uint32) *RowBuilder
Repeat
Name of template variable to repeat for.
func (builder *RowBuilder) Repeat(repeat string) *RowBuilder
Title
Row title
func (builder *RowBuilder) Title(title string) *RowBuilder
WithPanel
List of panels in the row
func (builder *RowBuilder) WithPanel(panel cog.Builder[dashboard.Panel]) *RowBuilder
See also