dashboard

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardGraph

type DashboardGraph struct {
	ID           int64  `json:"id" gorm:"column:id"`
	Title        string `json:"title" gorm:"column:title"`
	Hosts        string `json:"hosts" gorm:"column:hosts"`
	Counters     string `json:"counters" gorm:"column:counters"`
	ScreenId     int64  `json:"screen_id" gorm:"column:screen_id"`
	TimeSpan     int64  `json:"timespan" gorm:"column:timespan"`
	GraphType    string `json:"graph_type" gorm:"column:graph_type"`
	Method       string `json:"method" gorm:"column:method"`
	Position     int64  `json:"position" gorm:"column:position"`
	FalconTags   string `json:"falcon_tags" gorm:"column:falcon_tags"`
	Creator      string `json:"creator" gorm:"column:creator"`
	TimeRange    string `json:"time_range" gorm:"column:time_range"`
	YScale       string `json:"y_scale" gorm:"column:y_scale"`
	SortBy       string `json:"sort_by" gorm:"column:sort_by"`
	SampleMethod string `json:"sample_method" gorm:"column:sample_method"`
}

func (DashboardGraph) TableName

func (this DashboardGraph) TableName() string

type DashboardScreen

type DashboardScreen struct {
	ID      int64  `json:"id" gorm:"column:id"`
	PID     int64  `json:"pid" gorm:"column:pid"`
	Name    string `json:"name" gorm:"column:name"`
	Creator string `json:"creator" gorm:"column:creator"`
}

func (DashboardScreen) Exist

func (mine DashboardScreen) Exist() bool

func (DashboardScreen) ExistName

func (mine DashboardScreen) ExistName() bool

func (DashboardScreen) Graphs

func (this DashboardScreen) Graphs() []DashboardGraph

func (DashboardScreen) TableName

func (this DashboardScreen) TableName() string

type DashboardTmpGraph

type DashboardTmpGraph struct {
	ID        int64  `json:"id" gorm:"column:id"`
	Endpoints string `json:"endpoints" gorm:"column:endpoints"`
	Counters  string `json:"counters" gorm:"column:counters"`
	CK        string `json:"ck" gorm:"column:ck"`
}

func (DashboardTmpGraph) TableName

func (this DashboardTmpGraph) TableName() string

Jump to

Keyboard shortcuts

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