Documentation ¶
Index ¶
- Variables
- func MarshalAlertRule(r *ScopedAlert) ([]byte, error)
- func MarshalBuild(b chronograf.BuildInfo) ([]byte, error)
- func MarshalConfig(c *chronograf.Config) ([]byte, error)
- func MarshalConfigPB(c *Config) ([]byte, error)
- func MarshalDashboard(d chronograf.Dashboard) ([]byte, error)
- func MarshalLayout(l chronograf.Layout) ([]byte, error)
- func MarshalMapping(m *chronograf.Mapping) ([]byte, error)
- func MarshalMappingPB(m *Mapping) ([]byte, error)
- func MarshalOrganization(o *chronograf.Organization) ([]byte, error)
- func MarshalOrganizationConfig(c *chronograf.OrganizationConfig) ([]byte, error)
- func MarshalOrganizationConfigPB(c *OrganizationConfig) ([]byte, error)
- func MarshalOrganizationPB(o *Organization) ([]byte, error)
- func MarshalRole(r *chronograf.Role) ([]byte, error)
- func MarshalRolePB(r *Role) ([]byte, error)
- func MarshalServer(s chronograf.Server) ([]byte, error)
- func MarshalSource(s chronograf.Source) ([]byte, error)
- func MarshalUser(u *chronograf.User) ([]byte, error)
- func MarshalUserPB(u *User) ([]byte, error)
- func UnmarshalAlertRule(data []byte, r *ScopedAlert) error
- func UnmarshalBuild(data []byte, b *chronograf.BuildInfo) error
- func UnmarshalConfig(data []byte, c *chronograf.Config) error
- func UnmarshalConfigPB(data []byte, c *Config) error
- func UnmarshalDashboard(data []byte, d *chronograf.Dashboard) error
- func UnmarshalLayout(data []byte, l *chronograf.Layout) error
- func UnmarshalMapping(data []byte, m *chronograf.Mapping) error
- func UnmarshalMappingPB(data []byte, m *Mapping) error
- func UnmarshalOrganization(data []byte, o *chronograf.Organization) error
- func UnmarshalOrganizationConfig(data []byte, c *chronograf.OrganizationConfig) error
- func UnmarshalOrganizationConfigPB(data []byte, c *OrganizationConfig) error
- func UnmarshalOrganizationPB(data []byte, o *Organization) error
- func UnmarshalRole(data []byte, r *chronograf.Role) error
- func UnmarshalRolePB(data []byte, r *Role) error
- func UnmarshalServer(data []byte, s *chronograf.Server) error
- func UnmarshalSource(data []byte, s *chronograf.Source) error
- func UnmarshalUser(data []byte, u *chronograf.User) error
- func UnmarshalUserPB(data []byte, u *User) error
- type AlertRule
- func (*AlertRule) Descriptor() ([]byte, []int)deprecated
- func (x *AlertRule) GetID() string
- func (x *AlertRule) GetJSON() string
- func (x *AlertRule) GetKapaID() int64
- func (x *AlertRule) GetSrcID() int64
- func (*AlertRule) ProtoMessage()
- func (x *AlertRule) ProtoReflect() protoreflect.Message
- func (x *AlertRule) Reset()
- func (x *AlertRule) String() string
- type AuthConfig
- type Axis
- func (*Axis) Descriptor() ([]byte, []int)deprecated
- func (x *Axis) GetBase() string
- func (x *Axis) GetBounds() []string
- func (x *Axis) GetLabel() string
- func (x *Axis) GetLegacyBounds() []int64
- func (x *Axis) GetPrefix() string
- func (x *Axis) GetScale() string
- func (x *Axis) GetSuffix() string
- func (*Axis) ProtoMessage()
- func (x *Axis) ProtoReflect() protoreflect.Message
- func (x *Axis) Reset()
- func (x *Axis) String() string
- type BuildInfo
- type Cell
- func (*Cell) Descriptor() ([]byte, []int)deprecated
- func (x *Cell) GetAxes() map[string]*Axis
- func (x *Cell) GetH() int32
- func (x *Cell) GetI() string
- func (x *Cell) GetName() string
- func (x *Cell) GetQueries() []*Query
- func (x *Cell) GetType() string
- func (x *Cell) GetW() int32
- func (x *Cell) GetX() int32
- func (x *Cell) GetY() int32
- func (x *Cell) GetYlabels() []string
- func (x *Cell) GetYranges() []int64
- func (*Cell) ProtoMessage()
- func (x *Cell) ProtoReflect() protoreflect.Message
- func (x *Cell) Reset()
- func (x *Cell) String() string
- type Color
- func (*Color) Descriptor() ([]byte, []int)deprecated
- func (x *Color) GetHex() string
- func (x *Color) GetID() string
- func (x *Color) GetName() string
- func (x *Color) GetType() string
- func (x *Color) GetValue() string
- func (*Color) ProtoMessage()
- func (x *Color) ProtoReflect() protoreflect.Message
- func (x *Color) Reset()
- func (x *Color) String() string
- type ColumnEncoding
- func (*ColumnEncoding) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnEncoding) GetName() string
- func (x *ColumnEncoding) GetType() string
- func (x *ColumnEncoding) GetValue() string
- func (*ColumnEncoding) ProtoMessage()
- func (x *ColumnEncoding) ProtoReflect() protoreflect.Message
- func (x *ColumnEncoding) Reset()
- func (x *ColumnEncoding) String() string
- type Config
- type Dashboard
- func (*Dashboard) Descriptor() ([]byte, []int)deprecated
- func (x *Dashboard) GetCells() []*DashboardCell
- func (x *Dashboard) GetID() int64
- func (x *Dashboard) GetName() string
- func (x *Dashboard) GetOrganization() string
- func (x *Dashboard) GetTemplates() []*Template
- func (*Dashboard) ProtoMessage()
- func (x *Dashboard) ProtoReflect() protoreflect.Message
- func (x *Dashboard) Reset()
- func (x *Dashboard) String() string
- type DashboardCell
- func (*DashboardCell) Descriptor() ([]byte, []int)deprecated
- func (x *DashboardCell) GetAxes() map[string]*Axis
- func (x *DashboardCell) GetColors() []*Color
- func (x *DashboardCell) GetDecimalPlaces() *DecimalPlaces
- func (x *DashboardCell) GetFieldOptions() []*RenamableField
- func (x *DashboardCell) GetH() int32
- func (x *DashboardCell) GetID() string
- func (x *DashboardCell) GetLegend() *Legend
- func (x *DashboardCell) GetName() string
- func (x *DashboardCell) GetNote() string
- func (x *DashboardCell) GetNoteVisibility() string
- func (x *DashboardCell) GetQueries() []*Query
- func (x *DashboardCell) GetTableOptions() *TableOptions
- func (x *DashboardCell) GetTimeFormat() string
- func (x *DashboardCell) GetType() string
- func (x *DashboardCell) GetW() int32
- func (x *DashboardCell) GetX() int32
- func (x *DashboardCell) GetY() int32
- func (*DashboardCell) ProtoMessage()
- func (x *DashboardCell) ProtoReflect() protoreflect.Message
- func (x *DashboardCell) Reset()
- func (x *DashboardCell) String() string
- type DecimalPlaces
- func (*DecimalPlaces) Descriptor() ([]byte, []int)deprecated
- func (x *DecimalPlaces) GetDigits() int32
- func (x *DecimalPlaces) GetIsEnforced() bool
- func (*DecimalPlaces) ProtoMessage()
- func (x *DecimalPlaces) ProtoReflect() protoreflect.Message
- func (x *DecimalPlaces) Reset()
- func (x *DecimalPlaces) String() string
- type Layout
- func (*Layout) Descriptor() ([]byte, []int)deprecated
- func (x *Layout) GetApplication() string
- func (x *Layout) GetAutoflow() bool
- func (x *Layout) GetCells() []*Cell
- func (x *Layout) GetID() string
- func (x *Layout) GetMeasurement() string
- func (*Layout) ProtoMessage()
- func (x *Layout) ProtoReflect() protoreflect.Message
- func (x *Layout) Reset()
- func (x *Layout) String() string
- type Legend
- type LogViewerColumn
- func (*LogViewerColumn) Descriptor() ([]byte, []int)deprecated
- func (x *LogViewerColumn) GetEncodings() []*ColumnEncoding
- func (x *LogViewerColumn) GetName() string
- func (x *LogViewerColumn) GetPosition() int32
- func (*LogViewerColumn) ProtoMessage()
- func (x *LogViewerColumn) ProtoReflect() protoreflect.Message
- func (x *LogViewerColumn) Reset()
- func (x *LogViewerColumn) String() string
- type LogViewerConfig
- type Mapping
- func (*Mapping) Descriptor() ([]byte, []int)deprecated
- func (x *Mapping) GetID() string
- func (x *Mapping) GetOrganization() string
- func (x *Mapping) GetProvider() string
- func (x *Mapping) GetProviderOrganization() string
- func (x *Mapping) GetScheme() string
- func (*Mapping) ProtoMessage()
- func (x *Mapping) ProtoReflect() protoreflect.Message
- func (x *Mapping) Reset()
- func (x *Mapping) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetDefaultRole() string
- func (x *Organization) GetID() string
- func (x *Organization) GetName() string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type OrganizationConfig
- func (*OrganizationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationConfig) GetLogViewer() *LogViewerConfig
- func (x *OrganizationConfig) GetOrganizationID() string
- func (*OrganizationConfig) ProtoMessage()
- func (x *OrganizationConfig) ProtoReflect() protoreflect.Message
- func (x *OrganizationConfig) Reset()
- func (x *OrganizationConfig) String() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetCommand() string
- func (x *Query) GetDB() string
- func (x *Query) GetGroupBys() []string
- func (x *Query) GetLabel() string
- func (x *Query) GetRP() string
- func (x *Query) GetRange() *Range
- func (x *Query) GetShifts() []*TimeShift
- func (x *Query) GetSource() string
- func (x *Query) GetType() string
- func (x *Query) GetWheres() []string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type Range
- type RenamableField
- func (*RenamableField) Descriptor() ([]byte, []int)deprecated
- func (x *RenamableField) GetDisplayName() string
- func (x *RenamableField) GetInternalName() string
- func (x *RenamableField) GetVisible() bool
- func (*RenamableField) ProtoMessage()
- func (x *RenamableField) ProtoReflect() protoreflect.Message
- func (x *RenamableField) Reset()
- func (x *RenamableField) String() string
- type Role
- type ScopedAlert
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetActive() bool
- func (x *Server) GetID() int64
- func (x *Server) GetInsecureSkipVerify() bool
- func (x *Server) GetMetadataJSON() string
- func (x *Server) GetName() string
- func (x *Server) GetOrganization() string
- func (x *Server) GetPassword() string
- func (x *Server) GetSrcID() int64
- func (x *Server) GetType() string
- func (x *Server) GetURL() string
- func (x *Server) GetUsername() string
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetDefault() bool
- func (x *Source) GetDefaultRP() string
- func (x *Source) GetID() int64
- func (x *Source) GetInsecureSkipVerify() bool
- func (x *Source) GetMetaURL() string
- func (x *Source) GetName() string
- func (x *Source) GetOrganization() string
- func (x *Source) GetPassword() string
- func (x *Source) GetRole() string
- func (x *Source) GetSharedSecret() string
- func (x *Source) GetTelegraf() string
- func (x *Source) GetType() string
- func (x *Source) GetURL() string
- func (x *Source) GetUsername() string
- func (x *Source) GetVersion() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type TableOptions
- func (*TableOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TableOptions) GetFixFirstColumn() bool
- func (x *TableOptions) GetSortBy() *RenamableField
- func (x *TableOptions) GetVerticalTimeAxis() bool
- func (x *TableOptions) GetWrapping() string
- func (*TableOptions) ProtoMessage()
- func (x *TableOptions) ProtoReflect() protoreflect.Message
- func (x *TableOptions) Reset()
- func (x *TableOptions) String() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetID() string
- func (x *Template) GetLabel() string
- func (x *Template) GetQuery() *TemplateQuery
- func (x *Template) GetSourceID() string
- func (x *Template) GetTempVar() string
- func (x *Template) GetType() string
- func (x *Template) GetValues() []*TemplateValue
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TemplateQuery
- func (*TemplateQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateQuery) GetCommand() string
- func (x *TemplateQuery) GetDb() string
- func (x *TemplateQuery) GetFieldKey() string
- func (x *TemplateQuery) GetFlux() string
- func (x *TemplateQuery) GetMeasurement() string
- func (x *TemplateQuery) GetRp() string
- func (x *TemplateQuery) GetTagKey() string
- func (*TemplateQuery) ProtoMessage()
- func (x *TemplateQuery) ProtoReflect() protoreflect.Message
- func (x *TemplateQuery) Reset()
- func (x *TemplateQuery) String() string
- type TemplateValue
- func (*TemplateValue) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateValue) GetKey() string
- func (x *TemplateValue) GetSelected() bool
- func (x *TemplateValue) GetType() string
- func (x *TemplateValue) GetValue() string
- func (*TemplateValue) ProtoMessage()
- func (x *TemplateValue) ProtoReflect() protoreflect.Message
- func (x *TemplateValue) Reset()
- func (x *TemplateValue) String() string
- type TimeShift
- func (*TimeShift) Descriptor() ([]byte, []int)deprecated
- func (x *TimeShift) GetLabel() string
- func (x *TimeShift) GetQuantity() string
- func (x *TimeShift) GetUnit() string
- func (*TimeShift) ProtoMessage()
- func (x *TimeShift) ProtoReflect() protoreflect.Message
- func (x *TimeShift) Reset()
- func (x *TimeShift) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetID() uint64
- func (x *User) GetName() string
- func (x *User) GetProvider() string
- func (x *User) GetRoles() []*Role
- func (x *User) GetScheme() string
- func (x *User) GetSuperAdmin() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var File_internal_proto protoreflect.FileDescriptor
Functions ¶
func MarshalAlertRule ¶
func MarshalAlertRule(r *ScopedAlert) ([]byte, error)
MarshalAlertRule encodes an alert rule to binary protobuf format.
func MarshalBuild ¶
func MarshalBuild(b chronograf.BuildInfo) ([]byte, error)
MarshalBuild encodes a build to binary protobuf format.
func MarshalConfig ¶
func MarshalConfig(c *chronograf.Config) ([]byte, error)
MarshalConfig encodes a config to binary protobuf format.
func MarshalConfigPB ¶
MarshalConfigPB encodes a config to binary protobuf format.
func MarshalDashboard ¶
func MarshalDashboard(d chronograf.Dashboard) ([]byte, error)
MarshalDashboard encodes a dashboard to binary protobuf format.
func MarshalLayout ¶
func MarshalLayout(l chronograf.Layout) ([]byte, error)
MarshalLayout encodes a layout to binary protobuf format.
func MarshalMapping ¶
func MarshalMapping(m *chronograf.Mapping) ([]byte, error)
MarshalMapping encodes a mapping to binary protobuf format.
func MarshalMappingPB ¶
MarshalMappingPB encodes a mapping to binary protobuf format.
func MarshalOrganization ¶
func MarshalOrganization(o *chronograf.Organization) ([]byte, error)
MarshalOrganization encodes a organization to binary protobuf format.
func MarshalOrganizationConfig ¶
func MarshalOrganizationConfig(c *chronograf.OrganizationConfig) ([]byte, error)
MarshalOrganizationConfig encodes a config to binary protobuf format.
func MarshalOrganizationConfigPB ¶
func MarshalOrganizationConfigPB(c *OrganizationConfig) ([]byte, error)
MarshalOrganizationConfigPB encodes a config to binary protobuf format.
func MarshalOrganizationPB ¶
func MarshalOrganizationPB(o *Organization) ([]byte, error)
MarshalOrganizationPB encodes a organization to binary protobuf format.
func MarshalRole ¶
func MarshalRole(r *chronograf.Role) ([]byte, error)
MarshalRole encodes a role to binary protobuf format.
func MarshalRolePB ¶
MarshalRolePB encodes a role to binary protobuf format.
func MarshalServer ¶
func MarshalServer(s chronograf.Server) ([]byte, error)
MarshalServer encodes a server to binary protobuf format.
func MarshalSource ¶
func MarshalSource(s chronograf.Source) ([]byte, error)
MarshalSource encodes a source to binary protobuf format.
func MarshalUser ¶
func MarshalUser(u *chronograf.User) ([]byte, error)
MarshalUser encodes a user to binary protobuf format. We are ignoring the password for now.
func MarshalUserPB ¶
MarshalUserPB encodes a user to binary protobuf format. We are ignoring the password for now.
func UnmarshalAlertRule ¶
func UnmarshalAlertRule(data []byte, r *ScopedAlert) error
UnmarshalAlertRule decodes an alert rule from binary protobuf data.
func UnmarshalBuild ¶
func UnmarshalBuild(data []byte, b *chronograf.BuildInfo) error
UnmarshalBuild decodes a build from binary protobuf data.
func UnmarshalConfig ¶
func UnmarshalConfig(data []byte, c *chronograf.Config) error
UnmarshalConfig decodes a config from binary protobuf data.
func UnmarshalConfigPB ¶
UnmarshalConfigPB decodes a config from binary protobuf data.
func UnmarshalDashboard ¶
func UnmarshalDashboard(data []byte, d *chronograf.Dashboard) error
UnmarshalDashboard decodes a layout from binary protobuf data.
func UnmarshalLayout ¶
func UnmarshalLayout(data []byte, l *chronograf.Layout) error
UnmarshalLayout decodes a layout from binary protobuf data.
func UnmarshalMapping ¶
func UnmarshalMapping(data []byte, m *chronograf.Mapping) error
UnmarshalMapping decodes a mapping from binary protobuf data.
func UnmarshalMappingPB ¶
UnmarshalMappingPB decodes a mapping from binary protobuf data.
func UnmarshalOrganization ¶
func UnmarshalOrganization(data []byte, o *chronograf.Organization) error
UnmarshalOrganization decodes a organization from binary protobuf data.
func UnmarshalOrganizationConfig ¶
func UnmarshalOrganizationConfig(data []byte, c *chronograf.OrganizationConfig) error
UnmarshalOrganizationConfig decodes a config from binary protobuf data.
func UnmarshalOrganizationConfigPB ¶
func UnmarshalOrganizationConfigPB(data []byte, c *OrganizationConfig) error
UnmarshalOrganizationConfigPB decodes a config from binary protobuf data.
func UnmarshalOrganizationPB ¶
func UnmarshalOrganizationPB(data []byte, o *Organization) error
UnmarshalOrganizationPB decodes a organization from binary protobuf data.
func UnmarshalRole ¶
func UnmarshalRole(data []byte, r *chronograf.Role) error
UnmarshalRole decodes a role from binary protobuf data.
func UnmarshalRolePB ¶
UnmarshalRolePB decodes a role from binary protobuf data.
func UnmarshalServer ¶
func UnmarshalServer(data []byte, s *chronograf.Server) error
UnmarshalServer decodes a server from binary protobuf data.
func UnmarshalSource ¶
func UnmarshalSource(data []byte, s *chronograf.Source) error
UnmarshalSource decodes a source from binary protobuf data.
func UnmarshalUser ¶
func UnmarshalUser(data []byte, u *chronograf.User) error
UnmarshalUser decodes a user from binary protobuf data. We are ignoring the password for now.
func UnmarshalUserPB ¶
UnmarshalUserPB decodes a user from binary protobuf data. We are ignoring the password for now.
Types ¶
type AlertRule ¶
type AlertRule struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of this alert rule JSON string `protobuf:"bytes,2,opt,name=JSON,proto3" json:"JSON,omitempty"` // JSON byte representation of the alert SrcID int64 `protobuf:"varint,3,opt,name=SrcID,proto3" json:"SrcID,omitempty"` // SrcID is the id of the source this alert is associated with KapaID int64 `protobuf:"varint,4,opt,name=KapaID,proto3" json:"KapaID,omitempty"` // KapaID is the id of the kapacitor this alert is associated with // contains filtered or unexported fields }
func (*AlertRule) Descriptor
deprecated
func (*AlertRule) ProtoMessage ¶
func (*AlertRule) ProtoMessage()
func (*AlertRule) ProtoReflect ¶ added in v1.9.2
func (x *AlertRule) ProtoReflect() protoreflect.Message
type AuthConfig ¶
type AuthConfig struct { SuperAdminNewUsers bool `protobuf:"varint,1,opt,name=SuperAdminNewUsers,proto3" json:"SuperAdminNewUsers,omitempty"` // SuperAdminNewUsers configuration option that specifies which users will auto become super admin // contains filtered or unexported fields }
func (*AuthConfig) Descriptor
deprecated
func (*AuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.
func (*AuthConfig) GetSuperAdminNewUsers ¶
func (x *AuthConfig) GetSuperAdminNewUsers() bool
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) ProtoReflect ¶ added in v1.9.2
func (x *AuthConfig) ProtoReflect() protoreflect.Message
func (*AuthConfig) Reset ¶
func (x *AuthConfig) Reset()
func (*AuthConfig) String ¶
func (x *AuthConfig) String() string
type Axis ¶
type Axis struct { LegacyBounds []int64 `protobuf:"varint,1,rep,packed,name=legacyBounds,proto3" json:"legacyBounds,omitempty"` // legacyBounds are an ordered 2-tuple consisting of lower and upper axis extents, respectively Bounds []string `protobuf:"bytes,2,rep,name=bounds,proto3" json:"bounds,omitempty"` // bounds are an arbitrary list of client-defined bounds. Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // label is a description of this axis Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"` // specifies the prefix for axis values Suffix string `protobuf:"bytes,5,opt,name=suffix,proto3" json:"suffix,omitempty"` // specifies the suffix for axis values Base string `protobuf:"bytes,6,opt,name=base,proto3" json:"base,omitempty"` // defines the base for axis values Scale string `protobuf:"bytes,7,opt,name=scale,proto3" json:"scale,omitempty"` // represents the magnitude of the numbers on this axis // contains filtered or unexported fields }
func (*Axis) Descriptor
deprecated
func (*Axis) GetLegacyBounds ¶
func (*Axis) ProtoMessage ¶
func (*Axis) ProtoMessage()
func (*Axis) ProtoReflect ¶ added in v1.9.2
func (x *Axis) ProtoReflect() protoreflect.Message
type BuildInfo ¶
type BuildInfo struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` // Version is a descriptive git SHA identifier Commit string `protobuf:"bytes,2,opt,name=Commit,proto3" json:"Commit,omitempty"` // Commit is an abbreviated SHA // contains filtered or unexported fields }
func (*BuildInfo) Descriptor
deprecated
func (*BuildInfo) GetVersion ¶
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶ added in v1.9.2
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type Cell ¶
type Cell struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // X-coordinate of Cell in the Layout Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // Y-coordinate of Cell in the Layout W int32 `protobuf:"varint,3,opt,name=w,proto3" json:"w,omitempty"` // Width of Cell in the Layout H int32 `protobuf:"varint,4,opt,name=h,proto3" json:"h,omitempty"` // Height of Cell in the Layout Queries []*Query `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` // Time-series data queries for Cell. I string `protobuf:"bytes,6,opt,name=i,proto3" json:"i,omitempty"` // Unique identifier for the cell Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // User-facing name for this cell Yranges []int64 `protobuf:"varint,8,rep,packed,name=yranges,proto3" json:"yranges,omitempty"` // Limits of the y-axes Ylabels []string `protobuf:"bytes,9,rep,name=ylabels,proto3" json:"ylabels,omitempty"` // Labels of the y-axes Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` // Cell visualization type Axes map[string]*Axis `` // Axes represent the graphical viewport for a cell's visualizations /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Cell) Descriptor
deprecated
func (*Cell) GetQueries ¶
func (*Cell) GetYlabels ¶
func (*Cell) GetYranges ¶
func (*Cell) ProtoMessage ¶
func (*Cell) ProtoMessage()
func (*Cell) ProtoReflect ¶ added in v1.9.2
func (x *Cell) ProtoReflect() protoreflect.Message
type Color ¶
type Color struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique id of the cell color Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` // Type is how the color is used. Accepted (min,max,threshold) Hex string `protobuf:"bytes,3,opt,name=Hex,proto3" json:"Hex,omitempty"` // Hex is the hex number of the color Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the user-facing name of the hex color Value string `protobuf:"bytes,5,opt,name=Value,proto3" json:"Value,omitempty"` // Value is the data value mapped to this color // contains filtered or unexported fields }
func (*Color) Descriptor
deprecated
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) ProtoReflect ¶ added in v1.9.2
func (x *Color) ProtoReflect() protoreflect.Message
type ColumnEncoding ¶
type ColumnEncoding struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // Type is the purpose of the encoding, for example: severity color Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` // Value is what the encoding corresponds to Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the optional encoding name // contains filtered or unexported fields }
func (*ColumnEncoding) Descriptor
deprecated
func (*ColumnEncoding) Descriptor() ([]byte, []int)
Deprecated: Use ColumnEncoding.ProtoReflect.Descriptor instead.
func (*ColumnEncoding) GetName ¶
func (x *ColumnEncoding) GetName() string
func (*ColumnEncoding) GetType ¶
func (x *ColumnEncoding) GetType() string
func (*ColumnEncoding) GetValue ¶
func (x *ColumnEncoding) GetValue() string
func (*ColumnEncoding) ProtoMessage ¶
func (*ColumnEncoding) ProtoMessage()
func (*ColumnEncoding) ProtoReflect ¶ added in v1.9.2
func (x *ColumnEncoding) ProtoReflect() protoreflect.Message
func (*ColumnEncoding) Reset ¶
func (x *ColumnEncoding) Reset()
func (*ColumnEncoding) String ¶
func (x *ColumnEncoding) String() string
type Config ¶
type Config struct { Auth *AuthConfig `protobuf:"bytes,1,opt,name=Auth,proto3" json:"Auth,omitempty"` // Auth is the configuration for options that auth related // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetAuth ¶
func (x *Config) GetAuth() *AuthConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v1.9.2
func (x *Config) ProtoReflect() protoreflect.Message
type Dashboard ¶
type Dashboard struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of the dashboard Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the user-defined name of the dashboard Cells []*DashboardCell `protobuf:"bytes,3,rep,name=cells,proto3" json:"cells,omitempty"` // a representation of all visual data required for rendering the dashboard Templates []*Template `protobuf:"bytes,4,rep,name=templates,proto3" json:"templates,omitempty"` // Templates replace template variables within InfluxQL Organization string `protobuf:"bytes,5,opt,name=Organization,proto3" json:"Organization,omitempty"` // Organization is the organization ID that resource belongs to // contains filtered or unexported fields }
func (*Dashboard) Descriptor
deprecated
func (*Dashboard) GetCells ¶
func (x *Dashboard) GetCells() []*DashboardCell
func (*Dashboard) GetOrganization ¶
func (*Dashboard) GetTemplates ¶
func (*Dashboard) ProtoMessage ¶
func (*Dashboard) ProtoMessage()
func (*Dashboard) ProtoReflect ¶ added in v1.9.2
func (x *Dashboard) ProtoReflect() protoreflect.Message
type DashboardCell ¶
type DashboardCell struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // X-coordinate of Cell in the Dashboard Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // Y-coordinate of Cell in the Dashboard W int32 `protobuf:"varint,3,opt,name=w,proto3" json:"w,omitempty"` // Width of Cell in the Dashboard H int32 `protobuf:"varint,4,opt,name=h,proto3" json:"h,omitempty"` // Height of Cell in the Dashboard Queries []*Query `protobuf:"bytes,5,rep,name=queries,proto3" json:"queries,omitempty"` // Time-series data queries for Dashboard Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // User-facing name for this Dashboard Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // Dashboard visualization type ID string `protobuf:"bytes,8,opt,name=ID,proto3" json:"ID,omitempty"` // id is the unique id of the dashboard. MIGRATED FIELD added in 1.2.0-beta6 Axes map[string]*Axis `` // Axes represent the graphical viewport for a cell's visualizations /* 149-byte string literal not displayed */ Colors []*Color `protobuf:"bytes,10,rep,name=colors,proto3" json:"colors,omitempty"` // Colors represent encoding data values to color Legend *Legend `protobuf:"bytes,11,opt,name=legend,proto3" json:"legend,omitempty"` // Legend is summary information for a cell TableOptions *TableOptions `protobuf:"bytes,12,opt,name=tableOptions,proto3" json:"tableOptions,omitempty"` // TableOptions for visualization of cell with type 'table' FieldOptions []*RenamableField `protobuf:"bytes,13,rep,name=fieldOptions,proto3" json:"fieldOptions,omitempty"` // Options for each of the fields returned in a cell TimeFormat string `protobuf:"bytes,14,opt,name=timeFormat,proto3" json:"timeFormat,omitempty"` // format for time DecimalPlaces *DecimalPlaces `protobuf:"bytes,15,opt,name=decimalPlaces,proto3" json:"decimalPlaces,omitempty"` // Represents how precise the values of this field should be Note string `protobuf:"bytes,16,opt,name=note,proto3" json:"note,omitempty"` // arbitrary string for note-taking/making NoteVisibility string `protobuf:"bytes,17,opt,name=noteVisibility,proto3" json:"noteVisibility,omitempty"` // config option for showing note // contains filtered or unexported fields }
func (*DashboardCell) Descriptor
deprecated
func (*DashboardCell) Descriptor() ([]byte, []int)
Deprecated: Use DashboardCell.ProtoReflect.Descriptor instead.
func (*DashboardCell) GetAxes ¶
func (x *DashboardCell) GetAxes() map[string]*Axis
func (*DashboardCell) GetColors ¶
func (x *DashboardCell) GetColors() []*Color
func (*DashboardCell) GetDecimalPlaces ¶
func (x *DashboardCell) GetDecimalPlaces() *DecimalPlaces
func (*DashboardCell) GetFieldOptions ¶
func (x *DashboardCell) GetFieldOptions() []*RenamableField
func (*DashboardCell) GetH ¶
func (x *DashboardCell) GetH() int32
func (*DashboardCell) GetID ¶
func (x *DashboardCell) GetID() string
func (*DashboardCell) GetLegend ¶
func (x *DashboardCell) GetLegend() *Legend
func (*DashboardCell) GetName ¶
func (x *DashboardCell) GetName() string
func (*DashboardCell) GetNote ¶
func (x *DashboardCell) GetNote() string
func (*DashboardCell) GetNoteVisibility ¶
func (x *DashboardCell) GetNoteVisibility() string
func (*DashboardCell) GetQueries ¶
func (x *DashboardCell) GetQueries() []*Query
func (*DashboardCell) GetTableOptions ¶
func (x *DashboardCell) GetTableOptions() *TableOptions
func (*DashboardCell) GetTimeFormat ¶
func (x *DashboardCell) GetTimeFormat() string
func (*DashboardCell) GetType ¶
func (x *DashboardCell) GetType() string
func (*DashboardCell) GetW ¶
func (x *DashboardCell) GetW() int32
func (*DashboardCell) GetX ¶
func (x *DashboardCell) GetX() int32
func (*DashboardCell) GetY ¶
func (x *DashboardCell) GetY() int32
func (*DashboardCell) ProtoMessage ¶
func (*DashboardCell) ProtoMessage()
func (*DashboardCell) ProtoReflect ¶ added in v1.9.2
func (x *DashboardCell) ProtoReflect() protoreflect.Message
func (*DashboardCell) Reset ¶
func (x *DashboardCell) Reset()
func (*DashboardCell) String ¶
func (x *DashboardCell) String() string
type DecimalPlaces ¶
type DecimalPlaces struct { IsEnforced bool `protobuf:"varint,1,opt,name=isEnforced,proto3" json:"isEnforced,omitempty"` // whether decimal places should be enforced Digits int32 `protobuf:"varint,2,opt,name=digits,proto3" json:"digits,omitempty"` // the number of digits to display after decical point // contains filtered or unexported fields }
func (*DecimalPlaces) Descriptor
deprecated
func (*DecimalPlaces) Descriptor() ([]byte, []int)
Deprecated: Use DecimalPlaces.ProtoReflect.Descriptor instead.
func (*DecimalPlaces) GetDigits ¶
func (x *DecimalPlaces) GetDigits() int32
func (*DecimalPlaces) GetIsEnforced ¶
func (x *DecimalPlaces) GetIsEnforced() bool
func (*DecimalPlaces) ProtoMessage ¶
func (*DecimalPlaces) ProtoMessage()
func (*DecimalPlaces) ProtoReflect ¶ added in v1.9.2
func (x *DecimalPlaces) ProtoReflect() protoreflect.Message
func (*DecimalPlaces) Reset ¶
func (x *DecimalPlaces) Reset()
func (*DecimalPlaces) String ¶
func (x *DecimalPlaces) String() string
type Layout ¶
type Layout struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of the layout. Application string `protobuf:"bytes,2,opt,name=Application,proto3" json:"Application,omitempty"` // Application is the user facing name of this Layout. Measurement string `protobuf:"bytes,3,opt,name=Measurement,proto3" json:"Measurement,omitempty"` // Measurement is the descriptive name of the time series data. Cells []*Cell `protobuf:"bytes,4,rep,name=Cells,proto3" json:"Cells,omitempty"` // Cells are the individual visualization elements. Autoflow bool `protobuf:"varint,5,opt,name=Autoflow,proto3" json:"Autoflow,omitempty"` // Autoflow indicates whether the frontend should layout the cells automatically. // contains filtered or unexported fields }
func (*Layout) Descriptor
deprecated
func (*Layout) GetApplication ¶
func (*Layout) GetAutoflow ¶
func (*Layout) GetMeasurement ¶
func (*Layout) ProtoMessage ¶
func (*Layout) ProtoMessage()
func (*Layout) ProtoReflect ¶ added in v1.9.2
func (x *Layout) ProtoReflect() protoreflect.Message
type Legend ¶
type Legend struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` // Type is how the legend is used Orientation string `protobuf:"bytes,2,opt,name=Orientation,proto3" json:"Orientation,omitempty"` // Orientation is the location of the legend on the cell // contains filtered or unexported fields }
func (*Legend) Descriptor
deprecated
func (*Legend) GetOrientation ¶
func (*Legend) ProtoMessage ¶
func (*Legend) ProtoMessage()
func (*Legend) ProtoReflect ¶ added in v1.9.2
func (x *Legend) ProtoReflect() protoreflect.Message
type LogViewerColumn ¶
type LogViewerColumn struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the unique identifier of the log viewer column Position int32 `protobuf:"varint,2,opt,name=Position,proto3" json:"Position,omitempty"` // Position is the position of the column in the log viewer's array of columns Encodings []*ColumnEncoding `protobuf:"bytes,3,rep,name=Encodings,proto3" json:"Encodings,omitempty"` // Encodings is the array of encoded properties associated with a log viewer column // contains filtered or unexported fields }
func (*LogViewerColumn) Descriptor
deprecated
func (*LogViewerColumn) Descriptor() ([]byte, []int)
Deprecated: Use LogViewerColumn.ProtoReflect.Descriptor instead.
func (*LogViewerColumn) GetEncodings ¶
func (x *LogViewerColumn) GetEncodings() []*ColumnEncoding
func (*LogViewerColumn) GetName ¶
func (x *LogViewerColumn) GetName() string
func (*LogViewerColumn) GetPosition ¶
func (x *LogViewerColumn) GetPosition() int32
func (*LogViewerColumn) ProtoMessage ¶
func (*LogViewerColumn) ProtoMessage()
func (*LogViewerColumn) ProtoReflect ¶ added in v1.9.2
func (x *LogViewerColumn) ProtoReflect() protoreflect.Message
func (*LogViewerColumn) Reset ¶
func (x *LogViewerColumn) Reset()
func (*LogViewerColumn) String ¶
func (x *LogViewerColumn) String() string
type LogViewerConfig ¶
type LogViewerConfig struct { Columns []*LogViewerColumn `protobuf:"bytes,1,rep,name=Columns,proto3" json:"Columns,omitempty"` // Columns is the array of columns in the log viewer // contains filtered or unexported fields }
func (*LogViewerConfig) Descriptor
deprecated
func (*LogViewerConfig) Descriptor() ([]byte, []int)
Deprecated: Use LogViewerConfig.ProtoReflect.Descriptor instead.
func (*LogViewerConfig) GetColumns ¶
func (x *LogViewerConfig) GetColumns() []*LogViewerColumn
func (*LogViewerConfig) ProtoMessage ¶
func (*LogViewerConfig) ProtoMessage()
func (*LogViewerConfig) ProtoReflect ¶ added in v1.9.2
func (x *LogViewerConfig) ProtoReflect() protoreflect.Message
func (*LogViewerConfig) Reset ¶
func (x *LogViewerConfig) Reset()
func (*LogViewerConfig) String ¶
func (x *LogViewerConfig) String() string
type Mapping ¶
type Mapping struct { Provider string `protobuf:"bytes,1,opt,name=Provider,proto3" json:"Provider,omitempty"` // Provider is the provider that certifies and issues this user's authentication, e.g. GitHub Scheme string `protobuf:"bytes,2,opt,name=Scheme,proto3" json:"Scheme,omitempty"` // Scheme is the scheme used to perform this user's authentication, e.g. OAuth2 or LDAP ProviderOrganization string `protobuf:"bytes,3,opt,name=ProviderOrganization,proto3" json:"ProviderOrganization,omitempty"` // ProviderOrganization is the group or organizations that you are a part of in an auth provider ID string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID for the mapping Organization string `protobuf:"bytes,5,opt,name=Organization,proto3" json:"Organization,omitempty"` // Organization is the organization ID that resource belongs to // contains filtered or unexported fields }
func (*Mapping) Descriptor
deprecated
func (*Mapping) GetOrganization ¶
func (*Mapping) GetProvider ¶
func (*Mapping) GetProviderOrganization ¶
func (*Mapping) ProtoMessage ¶
func (*Mapping) ProtoMessage()
func (*Mapping) ProtoReflect ¶ added in v1.9.2
func (x *Mapping) ProtoReflect() protoreflect.Message
type Organization ¶
type Organization struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of the organization Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the organization's name DefaultRole string `protobuf:"bytes,3,opt,name=DefaultRole,proto3" json:"DefaultRole,omitempty"` // DefaultRole is the name of the role that is the default for any users added to the organization // contains filtered or unexported fields }
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetDefaultRole ¶
func (x *Organization) GetDefaultRole() string
func (*Organization) GetID ¶
func (x *Organization) GetID() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶ added in v1.9.2
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type OrganizationConfig ¶
type OrganizationConfig struct { OrganizationID string `protobuf:"bytes,1,opt,name=OrganizationID,proto3" json:"OrganizationID,omitempty"` // OrganizationID is the ID of the organization this config belogs to LogViewer *LogViewerConfig `protobuf:"bytes,2,opt,name=LogViewer,proto3" json:"LogViewer,omitempty"` // LogViewer is the organization configuration for log viewer // contains filtered or unexported fields }
func (*OrganizationConfig) Descriptor
deprecated
func (*OrganizationConfig) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationConfig.ProtoReflect.Descriptor instead.
func (*OrganizationConfig) GetLogViewer ¶
func (x *OrganizationConfig) GetLogViewer() *LogViewerConfig
func (*OrganizationConfig) GetOrganizationID ¶
func (x *OrganizationConfig) GetOrganizationID() string
func (*OrganizationConfig) ProtoMessage ¶
func (*OrganizationConfig) ProtoMessage()
func (*OrganizationConfig) ProtoReflect ¶ added in v1.9.2
func (x *OrganizationConfig) ProtoReflect() protoreflect.Message
func (*OrganizationConfig) Reset ¶
func (x *OrganizationConfig) Reset()
func (*OrganizationConfig) String ¶
func (x *OrganizationConfig) String() string
type Query ¶
type Query struct { Command string `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"` // Command is the query itself DB string `protobuf:"bytes,2,opt,name=DB,proto3" json:"DB,omitempty"` // DB the database for the query (optional) RP string `protobuf:"bytes,3,opt,name=RP,proto3" json:"RP,omitempty"` // RP is a retention policy and optional; GroupBys []string `protobuf:"bytes,4,rep,name=GroupBys,proto3" json:"GroupBys,omitempty"` // GroupBys define the groups to combine in the query Wheres []string `protobuf:"bytes,5,rep,name=Wheres,proto3" json:"Wheres,omitempty"` // Wheres define the restrictions on the query Label string `protobuf:"bytes,6,opt,name=Label,proto3" json:"Label,omitempty"` // Label is the name of the Y-Axis Range *Range `protobuf:"bytes,7,opt,name=Range,proto3" json:"Range,omitempty"` // Range is the upper and lower bound of the Y-Axis Source string `protobuf:"bytes,8,opt,name=Source,proto3" json:"Source,omitempty"` // Source is the optional URI to the data source Shifts []*TimeShift `protobuf:"bytes,9,rep,name=Shifts,proto3" json:"Shifts,omitempty"` // TimeShift represents a shift to apply to an influxql query's time range Type string `protobuf:"bytes,10,opt,name=Type,proto3" json:"Type,omitempty"` // Type is the language used by the query (influxql or flux) // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetCommand ¶
func (*Query) GetGroupBys ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶ added in v1.9.2
func (x *Query) ProtoReflect() protoreflect.Message
type Range ¶
type Range struct { Upper int64 `protobuf:"varint,1,opt,name=Upper,proto3" json:"Upper,omitempty"` // Upper is the upper-bound of the range Lower int64 `protobuf:"varint,2,opt,name=Lower,proto3" json:"Lower,omitempty"` // Lower is the lower-bound of the range // contains filtered or unexported fields }
func (*Range) Descriptor
deprecated
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶ added in v1.9.2
func (x *Range) ProtoReflect() protoreflect.Message
type RenamableField ¶
type RenamableField struct { InternalName string `protobuf:"bytes,1,opt,name=internalName,proto3" json:"internalName,omitempty"` // name of column DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"` // what column is renamed to Visible bool `protobuf:"varint,3,opt,name=visible,proto3" json:"visible,omitempty"` // Represents whether RenamableField is visible // contains filtered or unexported fields }
func (*RenamableField) Descriptor
deprecated
func (*RenamableField) Descriptor() ([]byte, []int)
Deprecated: Use RenamableField.ProtoReflect.Descriptor instead.
func (*RenamableField) GetDisplayName ¶
func (x *RenamableField) GetDisplayName() string
func (*RenamableField) GetInternalName ¶
func (x *RenamableField) GetInternalName() string
func (*RenamableField) GetVisible ¶
func (x *RenamableField) GetVisible() bool
func (*RenamableField) ProtoMessage ¶
func (*RenamableField) ProtoMessage()
func (*RenamableField) ProtoReflect ¶ added in v1.9.2
func (x *RenamableField) ProtoReflect() protoreflect.Message
func (*RenamableField) Reset ¶
func (x *RenamableField) Reset()
func (*RenamableField) String ¶
func (x *RenamableField) String() string
type Role ¶
type Role struct { Organization string `protobuf:"bytes,1,opt,name=Organization,proto3" json:"Organization,omitempty"` // Organization is the ID of the organization that this user has a role in Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the name of the role of this user in the respective organization // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetOrganization ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶ added in v1.9.2
func (x *Role) ProtoReflect() protoreflect.Message
type ScopedAlert ¶
type ScopedAlert struct { chronograf.AlertRule SrcID int KapaID int }
ScopedAlert contains the source and the kapacitor id
type Server ¶
type Server struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of the server Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the user-defined name for the server Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"` // Username is the username to connect to the server Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"` URL string `protobuf:"bytes,5,opt,name=URL,proto3" json:"URL,omitempty"` // URL is the path to the server SrcID int64 `protobuf:"varint,6,opt,name=SrcID,proto3" json:"SrcID,omitempty"` // SrcID is the ID of the data source Active bool `protobuf:"varint,7,opt,name=Active,proto3" json:"Active,omitempty"` // is this the currently active server for the source Organization string `protobuf:"bytes,8,opt,name=Organization,proto3" json:"Organization,omitempty"` // Organization is the organization ID that resource belongs to InsecureSkipVerify bool `protobuf:"varint,9,opt,name=InsecureSkipVerify,proto3" json:"InsecureSkipVerify,omitempty"` // InsecureSkipVerify accepts any certificate from the client Type string `protobuf:"bytes,10,opt,name=Type,proto3" json:"Type,omitempty"` // Type is the kind of the server (e.g. flux) MetadataJSON string `protobuf:"bytes,11,opt,name=MetadataJSON,proto3" json:"MetadataJSON,omitempty"` // JSON byte representation of the metadata // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetInsecureSkipVerify ¶
func (*Server) GetMetadataJSON ¶
func (*Server) GetOrganization ¶
func (*Server) GetPassword ¶
func (*Server) GetUsername ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶ added in v1.9.2
func (x *Server) ProtoReflect() protoreflect.Message
type Source ¶
type Source struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of the source Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the user-defined name for the source Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"` // Type specifies which kinds of source (enterprise vs oss) Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"` // Username is the username to connect to the source Password string `protobuf:"bytes,5,opt,name=Password,proto3" json:"Password,omitempty"` URL string `protobuf:"bytes,6,opt,name=URL,proto3" json:"URL,omitempty"` // URL are the connections to the source Default bool `protobuf:"varint,7,opt,name=Default,proto3" json:"Default,omitempty"` // Flags an source as the default. Telegraf string `protobuf:"bytes,8,opt,name=Telegraf,proto3" json:"Telegraf,omitempty"` // Telegraf is the db telegraf is written to. By default it is "telegraf" InsecureSkipVerify bool `protobuf:"varint,9,opt,name=InsecureSkipVerify,proto3" json:"InsecureSkipVerify,omitempty"` // InsecureSkipVerify accepts any certificate from the influx server MetaURL string `protobuf:"bytes,10,opt,name=MetaURL,proto3" json:"MetaURL,omitempty"` // MetaURL is the connection URL for the meta node. Organization string `protobuf:"bytes,12,opt,name=Organization,proto3" json:"Organization,omitempty"` // Organization is the organization ID that resource belongs to Role string `protobuf:"bytes,13,opt,name=Role,proto3" json:"Role,omitempty"` // Role is the name of the miniumum role that a user must possess to access the resource DefaultRP string `protobuf:"bytes,14,opt,name=DefaultRP,proto3" json:"DefaultRP,omitempty"` // DefaultRP is the default retention policy used in database queries to this source Version string `protobuf:"bytes,15,opt,name=Version,proto3" json:"Version,omitempty"` // Version of the InfluxDB or Unknown // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
func (*Source) GetDefault ¶
func (*Source) GetDefaultRP ¶
func (*Source) GetInsecureSkipVerify ¶
func (*Source) GetMetaURL ¶
func (*Source) GetOrganization ¶
func (*Source) GetPassword ¶
func (*Source) GetSharedSecret ¶
func (*Source) GetTelegraf ¶
func (*Source) GetUsername ¶
func (*Source) GetVersion ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v1.9.2
func (x *Source) ProtoReflect() protoreflect.Message
type TableOptions ¶
type TableOptions struct { VerticalTimeAxis bool `protobuf:"varint,2,opt,name=verticalTimeAxis,proto3" json:"verticalTimeAxis,omitempty"` // time axis should be a column not row SortBy *RenamableField `protobuf:"bytes,3,opt,name=sortBy,proto3" json:"sortBy,omitempty"` // which column should a table be sorted by Wrapping string `protobuf:"bytes,4,opt,name=wrapping,proto3" json:"wrapping,omitempty"` // option for text wrapping FixFirstColumn bool `protobuf:"varint,6,opt,name=fixFirstColumn,proto3" json:"fixFirstColumn,omitempty"` // first column should be fixed/frozen // contains filtered or unexported fields }
func (*TableOptions) Descriptor
deprecated
func (*TableOptions) Descriptor() ([]byte, []int)
Deprecated: Use TableOptions.ProtoReflect.Descriptor instead.
func (*TableOptions) GetFixFirstColumn ¶
func (x *TableOptions) GetFixFirstColumn() bool
func (*TableOptions) GetSortBy ¶
func (x *TableOptions) GetSortBy() *RenamableField
func (*TableOptions) GetVerticalTimeAxis ¶
func (x *TableOptions) GetVerticalTimeAxis() bool
func (*TableOptions) GetWrapping ¶
func (x *TableOptions) GetWrapping() string
func (*TableOptions) ProtoMessage ¶
func (*TableOptions) ProtoMessage()
func (*TableOptions) ProtoReflect ¶ added in v1.9.2
func (x *TableOptions) ProtoReflect() protoreflect.Message
func (*TableOptions) Reset ¶
func (x *TableOptions) Reset()
func (*TableOptions) String ¶
func (x *TableOptions) String() string
type Template ¶
type Template struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID associated with this template TempVar string `protobuf:"bytes,2,opt,name=temp_var,json=tempVar,proto3" json:"temp_var,omitempty"` Values []*TemplateValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // Type can be fieldKeys, tagKeys, tagValues, CSV, constant, query, measurements, databases Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"` // Label is a user-facing description of the Template Query *TemplateQuery `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` // Query is used to generate the choices for a template SourceID string `protobuf:"bytes,7,opt,name=sourceID,proto3" json:"sourceID,omitempty"` // Source is the id of the data source // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetQuery ¶
func (x *Template) GetQuery() *TemplateQuery
func (*Template) GetSourceID ¶
func (*Template) GetTempVar ¶
func (*Template) GetValues ¶
func (x *Template) GetValues() []*TemplateValue
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶ added in v1.9.2
func (x *Template) ProtoReflect() protoreflect.Message
type TemplateQuery ¶
type TemplateQuery struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` // Command is the query itself Db string `protobuf:"bytes,2,opt,name=db,proto3" json:"db,omitempty"` // DB the database for the query (optional) Rp string `protobuf:"bytes,3,opt,name=rp,proto3" json:"rp,omitempty"` // RP is a retention policy and optional; Measurement string `protobuf:"bytes,4,opt,name=measurement,proto3" json:"measurement,omitempty"` // Measurement is the optinally selected measurement for the query TagKey string `protobuf:"bytes,5,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"` // TagKey is the optionally selected tag key for the query FieldKey string `protobuf:"bytes,6,opt,name=field_key,json=fieldKey,proto3" json:"field_key,omitempty"` // FieldKey is the optionally selected field key for the query Flux string `protobuf:"bytes,7,opt,name=flux,proto3" json:"flux,omitempty"` // Flux script content // contains filtered or unexported fields }
func (*TemplateQuery) Descriptor
deprecated
func (*TemplateQuery) Descriptor() ([]byte, []int)
Deprecated: Use TemplateQuery.ProtoReflect.Descriptor instead.
func (*TemplateQuery) GetCommand ¶
func (x *TemplateQuery) GetCommand() string
func (*TemplateQuery) GetDb ¶
func (x *TemplateQuery) GetDb() string
func (*TemplateQuery) GetFieldKey ¶
func (x *TemplateQuery) GetFieldKey() string
func (*TemplateQuery) GetFlux ¶
func (x *TemplateQuery) GetFlux() string
func (*TemplateQuery) GetMeasurement ¶
func (x *TemplateQuery) GetMeasurement() string
func (*TemplateQuery) GetRp ¶
func (x *TemplateQuery) GetRp() string
func (*TemplateQuery) GetTagKey ¶
func (x *TemplateQuery) GetTagKey() string
func (*TemplateQuery) ProtoMessage ¶
func (*TemplateQuery) ProtoMessage()
func (*TemplateQuery) ProtoReflect ¶ added in v1.9.2
func (x *TemplateQuery) ProtoReflect() protoreflect.Message
func (*TemplateQuery) Reset ¶
func (x *TemplateQuery) Reset()
func (*TemplateQuery) String ¶
func (x *TemplateQuery) String() string
type TemplateValue ¶
type TemplateValue struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type can be tagKey, tagValue, fieldKey, csv, map, measurement, database, constant Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Value is the specific value used to replace a template in an InfluxQL query Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` // Selected states that this variable has been picked to use for replacement Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // Key is the key for a specific Value if the Template Type is map (optional) // contains filtered or unexported fields }
func (*TemplateValue) Descriptor
deprecated
func (*TemplateValue) Descriptor() ([]byte, []int)
Deprecated: Use TemplateValue.ProtoReflect.Descriptor instead.
func (*TemplateValue) GetKey ¶
func (x *TemplateValue) GetKey() string
func (*TemplateValue) GetSelected ¶
func (x *TemplateValue) GetSelected() bool
func (*TemplateValue) GetType ¶
func (x *TemplateValue) GetType() string
func (*TemplateValue) GetValue ¶
func (x *TemplateValue) GetValue() string
func (*TemplateValue) ProtoMessage ¶
func (*TemplateValue) ProtoMessage()
func (*TemplateValue) ProtoReflect ¶ added in v1.9.2
func (x *TemplateValue) ProtoReflect() protoreflect.Message
func (*TemplateValue) Reset ¶
func (x *TemplateValue) Reset()
func (*TemplateValue) String ¶
func (x *TemplateValue) String() string
type TimeShift ¶
type TimeShift struct { Label string `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"` // Label user facing description Unit string `protobuf:"bytes,2,opt,name=Unit,proto3" json:"Unit,omitempty"` // Unit influxql time unit representation i.e. ms, s, m, h, d Quantity string `protobuf:"bytes,3,opt,name=Quantity,proto3" json:"Quantity,omitempty"` // Quantity number of units // contains filtered or unexported fields }
func (*TimeShift) Descriptor
deprecated
func (*TimeShift) GetQuantity ¶
func (*TimeShift) ProtoMessage ¶
func (*TimeShift) ProtoMessage()
func (*TimeShift) ProtoReflect ¶ added in v1.9.2
func (x *TimeShift) ProtoReflect() protoreflect.Message
type User ¶
type User struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // ID is the unique ID of this user Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // Name is the user's login name Provider string `protobuf:"bytes,3,opt,name=Provider,proto3" json:"Provider,omitempty"` // Provider is the provider that certifies and issues this user's authentication, e.g. GitHub Scheme string `protobuf:"bytes,4,opt,name=Scheme,proto3" json:"Scheme,omitempty"` // Scheme is the scheme used to perform this user's authentication, e.g. OAuth2 or LDAP Roles []*Role `protobuf:"bytes,5,rep,name=Roles,proto3" json:"Roles,omitempty"` // Roles is set of roles a user has SuperAdmin bool `protobuf:"varint,6,opt,name=SuperAdmin,proto3" json:"SuperAdmin,omitempty"` // SuperAdmin is bool that specifies whether a user is a super admin // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetProvider ¶
func (*User) GetSuperAdmin ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v1.9.2
func (x *User) ProtoReflect() protoreflect.Message