widget

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApmMetric

type ApmMetric struct {
	Duration  int64      `json:"duration"`
	EntityIds []int      `json:"entity_ids"`
	Metrics   MetricList `json:"metrics"`
	Facet     string     `json:"facet,omitempty"`
	OrderBy   string     `json:"order_by,omitempty"`
}

func (ApmMetric) Equals

func (m ApmMetric) Equals(other *ApmMetric) bool

type Data

type Data struct {
	*ApmMetric
	Nrql string `json:"nrql,omitempty"`
}

func (Data) Equals

func (d Data) Equals(other Data) bool

type DataList

type DataList [1]Data

func (DataList) Equals

func (list DataList) Equals(other DataList) bool

type Layout

type Layout struct {
	Width  int `json:"width"`
	Height int `json:"height"`
	Row    int `json:"row"`
	Column int `json:"column"`
}

func (Layout) Equals

func (l Layout) Equals(other Layout) bool

type Metric

type Metric struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

func (Metric) Equals

func (m Metric) Equals(other Metric) bool

type MetricList

type MetricList []Metric

func (MetricList) Equals

func (list MetricList) Equals(other MetricList) bool

type Presentation

type Presentation struct {
	Title string `json:"title"`
	Notes string `json:"notes,omitempty"`
}

func (Presentation) Equals

func (p Presentation) Equals(other Presentation) bool

type Widget

type Widget struct {
	Visualization string       `json:"visualization"`
	Data          DataList     `json:"data"`
	Layout        Layout       `json:"layout"`
	Presentation  Presentation `json:"presentation"`
}

func (Widget) Equals

func (w Widget) Equals(other Widget) bool

type WidgetList

type WidgetList []Widget

func (WidgetList) Equals

func (list WidgetList) Equals(other WidgetList) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL