2016-09-22 23:22:41 +00:00
|
|
|
// Code generated by protoc-gen-gogo.
|
|
|
|
// source: internal.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package internal is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
internal.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
2016-09-30 20:39:27 +00:00
|
|
|
Source
|
2016-12-13 11:07:24 +00:00
|
|
|
Dashboard
|
|
|
|
DashboardCell
|
2017-07-21 15:08:52 +00:00
|
|
|
Axis
|
2017-04-26 21:29:20 +00:00
|
|
|
Template
|
|
|
|
TemplateValue
|
|
|
|
TemplateQuery
|
2016-09-30 23:46:28 +00:00
|
|
|
Server
|
2016-10-06 04:26:39 +00:00
|
|
|
Layout
|
|
|
|
Cell
|
|
|
|
Query
|
2016-11-29 21:04:54 +00:00
|
|
|
Range
|
2016-11-04 00:44:28 +00:00
|
|
|
AlertRule
|
2016-11-17 23:57:46 +00:00
|
|
|
User
|
2017-10-24 17:29:46 +00:00
|
|
|
Role
|
2017-10-20 14:14:09 +00:00
|
|
|
Organization
|
2016-09-22 23:22:41 +00:00
|
|
|
*/
|
|
|
|
package internal
|
|
|
|
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
2016-09-30 20:39:27 +00:00
|
|
|
type Source struct {
|
2017-01-27 12:29:38 +00:00
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
|
|
Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,5,opt,name=Password,proto3" json:"Password,omitempty"`
|
|
|
|
URL string `protobuf:"bytes,6,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
|
|
Default bool `protobuf:"varint,7,opt,name=Default,proto3" json:"Default,omitempty"`
|
|
|
|
Telegraf string `protobuf:"bytes,8,opt,name=Telegraf,proto3" json:"Telegraf,omitempty"`
|
|
|
|
InsecureSkipVerify bool `protobuf:"varint,9,opt,name=InsecureSkipVerify,proto3" json:"InsecureSkipVerify,omitempty"`
|
2017-02-07 23:57:51 +00:00
|
|
|
MetaURL string `protobuf:"bytes,10,opt,name=MetaURL,proto3" json:"MetaURL,omitempty"`
|
2017-07-15 01:02:13 +00:00
|
|
|
SharedSecret string `protobuf:"bytes,11,opt,name=SharedSecret,proto3" json:"SharedSecret,omitempty"`
|
2017-10-25 15:51:15 +00:00
|
|
|
Organization string `protobuf:"bytes,12,opt,name=Organization,proto3" json:"Organization,omitempty"`
|
2017-11-03 18:21:21 +00:00
|
|
|
Role string `protobuf:"bytes,13,opt,name=Role,proto3" json:"Role,omitempty"`
|
2016-09-30 20:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) Reset() { *m = Source{} }
|
|
|
|
func (m *Source) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Source) ProtoMessage() {}
|
2017-02-01 21:05:06 +00:00
|
|
|
func (*Source) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{0} }
|
2016-09-30 20:39:27 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Source) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetUsername() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetURL() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.URL
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetDefault() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Default
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetTelegraf() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Telegraf
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetInsecureSkipVerify() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.InsecureSkipVerify
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetMetaURL() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.MetaURL
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetSharedSecret() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.SharedSecret
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetOrganization() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Organization
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Source) GetRole() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Role
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-13 11:07:24 +00:00
|
|
|
type Dashboard struct {
|
2017-10-25 18:00:06 +00:00
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
|
Cells []*DashboardCell `protobuf:"bytes,3,rep,name=cells" json:"cells,omitempty"`
|
|
|
|
Templates []*Template `protobuf:"bytes,4,rep,name=templates" json:"templates,omitempty"`
|
|
|
|
Organization string `protobuf:"bytes,5,opt,name=Organization,proto3" json:"Organization,omitempty"`
|
2016-12-13 11:07:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Dashboard) Reset() { *m = Dashboard{} }
|
|
|
|
func (m *Dashboard) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Dashboard) ProtoMessage() {}
|
2017-02-01 21:05:06 +00:00
|
|
|
func (*Dashboard) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{1} }
|
2016-12-13 11:07:24 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Dashboard) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Dashboard) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-13 11:07:24 +00:00
|
|
|
func (m *Dashboard) GetCells() []*DashboardCell {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cells
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-04-26 21:29:20 +00:00
|
|
|
func (m *Dashboard) GetTemplates() []*Template {
|
|
|
|
if m != nil {
|
|
|
|
return m.Templates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Dashboard) GetOrganization() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Organization
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-13 11:07:24 +00:00
|
|
|
type DashboardCell struct {
|
2017-07-21 15:08:52 +00:00
|
|
|
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
|
|
|
|
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
|
|
|
|
W int32 `protobuf:"varint,3,opt,name=w,proto3" json:"w,omitempty"`
|
|
|
|
H int32 `protobuf:"varint,4,opt,name=h,proto3" json:"h,omitempty"`
|
|
|
|
Queries []*Query `protobuf:"bytes,5,rep,name=queries" json:"queries,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
ID string `protobuf:"bytes,8,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Axes map[string]*Axis `protobuf:"bytes,9,rep,name=axes" json:"axes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
2016-12-13 11:07:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) Reset() { *m = DashboardCell{} }
|
|
|
|
func (m *DashboardCell) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*DashboardCell) ProtoMessage() {}
|
2017-02-01 21:05:06 +00:00
|
|
|
func (*DashboardCell) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{2} }
|
2016-12-13 11:07:24 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *DashboardCell) GetX() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.X
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) GetY() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Y
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) GetW() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.W
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) GetH() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.H
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-01-27 12:29:38 +00:00
|
|
|
func (m *DashboardCell) GetQueries() []*Query {
|
|
|
|
if m != nil {
|
|
|
|
return m.Queries
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *DashboardCell) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *DashboardCell) GetID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-07-21 15:08:52 +00:00
|
|
|
func (m *DashboardCell) GetAxes() map[string]*Axis {
|
2017-07-19 14:27:21 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Axes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-07-21 15:08:52 +00:00
|
|
|
type Axis struct {
|
2017-11-03 18:21:21 +00:00
|
|
|
LegacyBounds []int64 `protobuf:"varint,1,rep,packed,name=legacyBounds" json:"legacyBounds,omitempty"`
|
2017-07-26 19:45:17 +00:00
|
|
|
Bounds []string `protobuf:"bytes,2,rep,name=bounds" json:"bounds,omitempty"`
|
2017-08-02 15:12:47 +00:00
|
|
|
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
2017-08-09 20:06:34 +00:00
|
|
|
Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
|
|
|
|
Suffix string `protobuf:"bytes,5,opt,name=suffix,proto3" json:"suffix,omitempty"`
|
|
|
|
Base string `protobuf:"bytes,6,opt,name=base,proto3" json:"base,omitempty"`
|
2017-08-18 17:48:41 +00:00
|
|
|
Scale string `protobuf:"bytes,7,opt,name=scale,proto3" json:"scale,omitempty"`
|
2017-07-19 14:27:21 +00:00
|
|
|
}
|
|
|
|
|
2017-07-21 15:08:52 +00:00
|
|
|
func (m *Axis) Reset() { *m = Axis{} }
|
|
|
|
func (m *Axis) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Axis) ProtoMessage() {}
|
|
|
|
func (*Axis) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{3} }
|
2017-07-19 14:27:21 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Axis) GetLegacyBounds() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LegacyBounds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetBounds() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bounds
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetLabel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Label
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetPrefix() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Prefix
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetSuffix() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Suffix
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetBase() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Base
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Axis) GetScale() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scale
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-04-26 21:29:20 +00:00
|
|
|
type Template struct {
|
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
TempVar string `protobuf:"bytes,2,opt,name=temp_var,json=tempVar,proto3" json:"temp_var,omitempty"`
|
|
|
|
Values []*TemplateValue `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
|
|
|
|
Query *TemplateQuery `protobuf:"bytes,6,opt,name=query" json:"query,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Template) Reset() { *m = Template{} }
|
|
|
|
func (m *Template) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Template) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Template) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{4} }
|
2017-04-26 21:29:20 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Template) GetID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Template) GetTempVar() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TempVar
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-04-26 21:29:20 +00:00
|
|
|
func (m *Template) GetValues() []*TemplateValue {
|
|
|
|
if m != nil {
|
|
|
|
return m.Values
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Template) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Template) GetLabel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Label
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-04-26 21:29:20 +00:00
|
|
|
func (m *Template) GetQuery() *TemplateQuery {
|
|
|
|
if m != nil {
|
|
|
|
return m.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type TemplateValue struct {
|
|
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateValue) Reset() { *m = TemplateValue{} }
|
|
|
|
func (m *TemplateValue) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TemplateValue) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*TemplateValue) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{5} }
|
2017-04-26 21:29:20 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *TemplateValue) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateValue) GetValue() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateValue) GetSelected() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Selected
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2017-04-26 21:29:20 +00:00
|
|
|
type TemplateQuery struct {
|
|
|
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
|
|
|
Db string `protobuf:"bytes,2,opt,name=db,proto3" json:"db,omitempty"`
|
|
|
|
Rp string `protobuf:"bytes,3,opt,name=rp,proto3" json:"rp,omitempty"`
|
|
|
|
Measurement string `protobuf:"bytes,4,opt,name=measurement,proto3" json:"measurement,omitempty"`
|
|
|
|
TagKey string `protobuf:"bytes,5,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"`
|
|
|
|
FieldKey string `protobuf:"bytes,6,opt,name=field_key,json=fieldKey,proto3" json:"field_key,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) Reset() { *m = TemplateQuery{} }
|
|
|
|
func (m *TemplateQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TemplateQuery) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*TemplateQuery) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{6} }
|
2017-04-26 21:29:20 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *TemplateQuery) GetCommand() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Command
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) GetDb() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Db
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) GetRp() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Rp
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) GetMeasurement() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Measurement
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) GetTagKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TagKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *TemplateQuery) GetFieldKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldKey
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-09-30 23:46:28 +00:00
|
|
|
type Server struct {
|
2017-10-25 16:42:50 +00:00
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
|
Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
|
|
|
|
URL string `protobuf:"bytes,5,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
|
|
SrcID int64 `protobuf:"varint,6,opt,name=SrcID,proto3" json:"SrcID,omitempty"`
|
|
|
|
Active bool `protobuf:"varint,7,opt,name=Active,proto3" json:"Active,omitempty"`
|
|
|
|
Organization string `protobuf:"bytes,8,opt,name=Organization,proto3" json:"Organization,omitempty"`
|
2016-09-30 23:46:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) Reset() { *m = Server{} }
|
|
|
|
func (m *Server) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Server) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Server) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{7} }
|
2016-09-30 23:46:28 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Server) GetID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetUsername() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetURL() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.URL
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetSrcID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SrcID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetActive() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Active
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Server) GetOrganization() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Organization
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-10-06 04:26:39 +00:00
|
|
|
type Layout struct {
|
2017-10-25 16:52:56 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Application string `protobuf:"bytes,2,opt,name=Application,proto3" json:"Application,omitempty"`
|
|
|
|
Measurement string `protobuf:"bytes,3,opt,name=Measurement,proto3" json:"Measurement,omitempty"`
|
|
|
|
Cells []*Cell `protobuf:"bytes,4,rep,name=Cells" json:"Cells,omitempty"`
|
|
|
|
Autoflow bool `protobuf:"varint,5,opt,name=Autoflow,proto3" json:"Autoflow,omitempty"`
|
2017-11-03 18:21:21 +00:00
|
|
|
Organization string `protobuf:"bytes,6,opt,name=Organization,proto3" json:"Organization,omitempty"`
|
2016-10-06 04:26:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Layout) Reset() { *m = Layout{} }
|
|
|
|
func (m *Layout) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Layout) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Layout) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{8} }
|
2016-10-06 04:26:39 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Layout) GetID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Layout) GetApplication() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Application
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Layout) GetMeasurement() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Measurement
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-10-06 04:26:39 +00:00
|
|
|
func (m *Layout) GetCells() []*Cell {
|
|
|
|
if m != nil {
|
|
|
|
return m.Cells
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Layout) GetAutoflow() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Autoflow
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Layout) GetOrganization() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Organization
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-10-06 04:26:39 +00:00
|
|
|
type Cell struct {
|
2017-07-24 22:30:53 +00:00
|
|
|
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
|
|
|
|
Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
|
|
|
|
W int32 `protobuf:"varint,3,opt,name=w,proto3" json:"w,omitempty"`
|
|
|
|
H int32 `protobuf:"varint,4,opt,name=h,proto3" json:"h,omitempty"`
|
|
|
|
Queries []*Query `protobuf:"bytes,5,rep,name=queries" json:"queries,omitempty"`
|
|
|
|
I string `protobuf:"bytes,6,opt,name=i,proto3" json:"i,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
|
2017-11-03 18:21:21 +00:00
|
|
|
Yranges []int64 `protobuf:"varint,8,rep,packed,name=yranges" json:"yranges,omitempty"`
|
2017-07-24 22:30:53 +00:00
|
|
|
Ylabels []string `protobuf:"bytes,9,rep,name=ylabels" json:"ylabels,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
Axes map[string]*Axis `protobuf:"bytes,11,rep,name=axes" json:"axes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
|
2016-10-06 04:26:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) Reset() { *m = Cell{} }
|
|
|
|
func (m *Cell) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Cell) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Cell) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{9} }
|
2016-10-06 04:26:39 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Cell) GetX() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.X
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetY() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Y
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetW() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.W
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetH() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.H
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-10-06 04:26:39 +00:00
|
|
|
func (m *Cell) GetQueries() []*Query {
|
|
|
|
if m != nil {
|
|
|
|
return m.Queries
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Cell) GetI() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.I
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetYranges() []int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Yranges
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetYlabels() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Ylabels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Cell) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-07-24 22:30:53 +00:00
|
|
|
func (m *Cell) GetAxes() map[string]*Axis {
|
|
|
|
if m != nil {
|
|
|
|
return m.Axes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-10-06 04:26:39 +00:00
|
|
|
type Query struct {
|
2017-01-27 12:29:38 +00:00
|
|
|
Command string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
|
|
|
|
DB string `protobuf:"bytes,2,opt,name=DB,proto3" json:"DB,omitempty"`
|
|
|
|
RP string `protobuf:"bytes,3,opt,name=RP,proto3" json:"RP,omitempty"`
|
|
|
|
GroupBys []string `protobuf:"bytes,4,rep,name=GroupBys" json:"GroupBys,omitempty"`
|
|
|
|
Wheres []string `protobuf:"bytes,5,rep,name=Wheres" json:"Wheres,omitempty"`
|
|
|
|
Label string `protobuf:"bytes,6,opt,name=Label,proto3" json:"Label,omitempty"`
|
|
|
|
Range *Range `protobuf:"bytes,7,opt,name=Range" json:"Range,omitempty"`
|
2017-09-14 18:13:47 +00:00
|
|
|
Source string `protobuf:"bytes,8,opt,name=Source,proto3" json:"Source,omitempty"`
|
2016-10-06 04:26:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) Reset() { *m = Query{} }
|
|
|
|
func (m *Query) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Query) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Query) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{10} }
|
2016-10-06 04:26:39 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Query) GetCommand() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Command
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) GetDB() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DB
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) GetRP() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.RP
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) GetGroupBys() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.GroupBys
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) GetWheres() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Wheres
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Query) GetLabel() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Label
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-11-29 21:04:54 +00:00
|
|
|
func (m *Query) GetRange() *Range {
|
|
|
|
if m != nil {
|
|
|
|
return m.Range
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Query) GetSource() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Source
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-11-29 21:04:54 +00:00
|
|
|
type Range struct {
|
2017-01-27 12:29:38 +00:00
|
|
|
Upper int64 `protobuf:"varint,1,opt,name=Upper,proto3" json:"Upper,omitempty"`
|
|
|
|
Lower int64 `protobuf:"varint,2,opt,name=Lower,proto3" json:"Lower,omitempty"`
|
2016-11-29 21:04:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Range) Reset() { *m = Range{} }
|
|
|
|
func (m *Range) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Range) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*Range) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{11} }
|
2016-11-29 21:04:54 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *Range) GetUpper() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Upper
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Range) GetLower() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Lower
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-11-04 00:44:28 +00:00
|
|
|
type AlertRule struct {
|
2017-01-27 12:29:38 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
JSON string `protobuf:"bytes,2,opt,name=JSON,proto3" json:"JSON,omitempty"`
|
|
|
|
SrcID int64 `protobuf:"varint,3,opt,name=SrcID,proto3" json:"SrcID,omitempty"`
|
|
|
|
KapaID int64 `protobuf:"varint,4,opt,name=KapaID,proto3" json:"KapaID,omitempty"`
|
2016-11-04 00:44:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AlertRule) Reset() { *m = AlertRule{} }
|
|
|
|
func (m *AlertRule) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*AlertRule) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*AlertRule) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{12} }
|
2016-11-04 00:44:28 +00:00
|
|
|
|
2017-11-03 18:21:21 +00:00
|
|
|
func (m *AlertRule) GetID() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AlertRule) GetJSON() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.JSON
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AlertRule) GetSrcID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SrcID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *AlertRule) GetKapaID() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.KapaID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-11-17 23:57:46 +00:00
|
|
|
type User struct {
|
2017-10-31 22:27:24 +00:00
|
|
|
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
|
Provider string `protobuf:"bytes,3,opt,name=Provider,proto3" json:"Provider,omitempty"`
|
|
|
|
Scheme string `protobuf:"bytes,4,opt,name=Scheme,proto3" json:"Scheme,omitempty"`
|
|
|
|
Roles []*Role `protobuf:"bytes,5,rep,name=Roles" json:"Roles,omitempty"`
|
|
|
|
SuperAdmin bool `protobuf:"varint,6,opt,name=SuperAdmin,proto3" json:"SuperAdmin,omitempty"`
|
2016-11-17 23:57:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*User) ProtoMessage() {}
|
2017-07-19 14:27:21 +00:00
|
|
|
func (*User) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{13} }
|
2016-11-17 23:57:46 +00:00
|
|
|
|
2017-10-31 22:27:24 +00:00
|
|
|
func (m *User) GetID() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) GetProvider() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Provider
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) GetScheme() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Scheme
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-10-24 17:29:46 +00:00
|
|
|
func (m *User) GetRoles() []*Role {
|
2017-10-20 15:13:13 +00:00
|
|
|
if m != nil {
|
2017-10-24 17:29:46 +00:00
|
|
|
return m.Roles
|
2017-10-20 15:13:13 +00:00
|
|
|
}
|
2017-10-24 17:29:46 +00:00
|
|
|
return nil
|
2017-10-20 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
2017-10-31 22:27:24 +00:00
|
|
|
func (m *User) GetSuperAdmin() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.SuperAdmin
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2017-10-24 17:29:46 +00:00
|
|
|
type Role struct {
|
2017-10-30 16:28:57 +00:00
|
|
|
Organization string `protobuf:"bytes,1,opt,name=Organization,proto3" json:"Organization,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
2017-10-20 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
2017-10-24 17:29:46 +00:00
|
|
|
func (m *Role) Reset() { *m = Role{} }
|
|
|
|
func (m *Role) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Role) ProtoMessage() {}
|
|
|
|
func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{14} }
|
2017-10-20 15:13:13 +00:00
|
|
|
|
2017-10-30 16:28:57 +00:00
|
|
|
func (m *Role) GetOrganization() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Organization
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Role) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-10-20 14:14:09 +00:00
|
|
|
type Organization struct {
|
2017-11-10 19:21:55 +00:00
|
|
|
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
|
DefaultRole string `protobuf:"bytes,3,opt,name=DefaultRole,proto3" json:"DefaultRole,omitempty"`
|
|
|
|
WhitelistOnly bool `protobuf:"varint,4,opt,name=WhitelistOnly,proto3" json:"WhitelistOnly,omitempty"`
|
2017-10-20 14:14:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Organization) Reset() { *m = Organization{} }
|
|
|
|
func (m *Organization) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Organization) ProtoMessage() {}
|
2017-10-24 17:29:46 +00:00
|
|
|
func (*Organization) Descriptor() ([]byte, []int) { return fileDescriptorInternal, []int{15} }
|
2017-10-20 15:13:13 +00:00
|
|
|
|
2017-11-02 22:32:13 +00:00
|
|
|
func (m *Organization) GetID() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Organization) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Organization) GetDefaultRole() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DefaultRole
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-11-10 19:21:55 +00:00
|
|
|
func (m *Organization) GetWhitelistOnly() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.WhitelistOnly
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-09-22 23:22:41 +00:00
|
|
|
func init() {
|
2016-09-30 20:39:27 +00:00
|
|
|
proto.RegisterType((*Source)(nil), "internal.Source")
|
2016-12-13 11:07:24 +00:00
|
|
|
proto.RegisterType((*Dashboard)(nil), "internal.Dashboard")
|
|
|
|
proto.RegisterType((*DashboardCell)(nil), "internal.DashboardCell")
|
2017-07-21 15:08:52 +00:00
|
|
|
proto.RegisterType((*Axis)(nil), "internal.Axis")
|
2017-04-26 21:29:20 +00:00
|
|
|
proto.RegisterType((*Template)(nil), "internal.Template")
|
|
|
|
proto.RegisterType((*TemplateValue)(nil), "internal.TemplateValue")
|
|
|
|
proto.RegisterType((*TemplateQuery)(nil), "internal.TemplateQuery")
|
2016-09-30 23:46:28 +00:00
|
|
|
proto.RegisterType((*Server)(nil), "internal.Server")
|
2016-10-06 04:26:39 +00:00
|
|
|
proto.RegisterType((*Layout)(nil), "internal.Layout")
|
|
|
|
proto.RegisterType((*Cell)(nil), "internal.Cell")
|
|
|
|
proto.RegisterType((*Query)(nil), "internal.Query")
|
2016-11-29 21:04:54 +00:00
|
|
|
proto.RegisterType((*Range)(nil), "internal.Range")
|
2016-11-04 00:44:28 +00:00
|
|
|
proto.RegisterType((*AlertRule)(nil), "internal.AlertRule")
|
2016-11-17 23:57:46 +00:00
|
|
|
proto.RegisterType((*User)(nil), "internal.User")
|
2017-10-24 17:29:46 +00:00
|
|
|
proto.RegisterType((*Role)(nil), "internal.Role")
|
2017-10-20 14:14:09 +00:00
|
|
|
proto.RegisterType((*Organization)(nil), "internal.Organization")
|
2016-09-22 23:22:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("internal.proto", fileDescriptorInternal) }
|
|
|
|
|
|
|
|
var fileDescriptorInternal = []byte{
|
2017-11-10 19:21:55 +00:00
|
|
|
// 1166 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x5f, 0x8f, 0xdb, 0x44,
|
|
|
|
0x10, 0x97, 0xe3, 0x38, 0xb1, 0x27, 0x77, 0x05, 0xad, 0x2a, 0x6a, 0x8a, 0x84, 0x82, 0x55, 0xa4,
|
|
|
|
0x20, 0xd1, 0x03, 0xb5, 0x42, 0x42, 0x3c, 0x20, 0xe5, 0x2e, 0xa8, 0x3a, 0xfa, 0xef, 0xd8, 0xdc,
|
|
|
|
0x5d, 0x9f, 0x50, 0xb5, 0x71, 0x26, 0x89, 0x55, 0x27, 0x36, 0x6b, 0xfb, 0x2e, 0xee, 0xb7, 0x41,
|
|
|
|
0xe2, 0x89, 0x47, 0xc4, 0x3b, 0x12, 0x4f, 0xa8, 0x1f, 0x84, 0xcf, 0x81, 0x66, 0x77, 0xed, 0x38,
|
|
|
|
0x4d, 0xa8, 0xee, 0x05, 0xde, 0xf6, 0x37, 0xb3, 0x3b, 0xbb, 0x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