internal

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func MarshalConfigPB(c *Config) ([]byte, error)

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

func MarshalMappingPB(m *Mapping) ([]byte, error)

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

func MarshalRolePB(r *Role) ([]byte, error)

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

func MarshalUserPB(u *User) ([]byte, error)

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

func UnmarshalConfigPB(data []byte, c *Config) error

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

func UnmarshalMappingPB(data []byte, m *Mapping) error

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

func UnmarshalRolePB(data []byte, r *Role) error

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

func UnmarshalUserPB(data []byte, u *User) error

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) Descriptor() ([]byte, []int)

Deprecated: Use AlertRule.ProtoReflect.Descriptor instead.

func (*AlertRule) GetID

func (x *AlertRule) GetID() string

func (*AlertRule) GetJSON

func (x *AlertRule) GetJSON() string

func (*AlertRule) GetKapaID

func (x *AlertRule) GetKapaID() int64

func (*AlertRule) GetSrcID

func (x *AlertRule) GetSrcID() int64

func (*AlertRule) ProtoMessage

func (*AlertRule) ProtoMessage()

func (*AlertRule) ProtoReflect added in v1.9.2

func (x *AlertRule) ProtoReflect() protoreflect.Message

func (*AlertRule) Reset

func (x *AlertRule) Reset()

func (*AlertRule) String

func (x *AlertRule) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Axis.ProtoReflect.Descriptor instead.

func (*Axis) GetBase

func (x *Axis) GetBase() string

func (*Axis) GetBounds

func (x *Axis) GetBounds() []string

func (*Axis) GetLabel

func (x *Axis) GetLabel() string

func (*Axis) GetLegacyBounds

func (x *Axis) GetLegacyBounds() []int64

func (*Axis) GetPrefix

func (x *Axis) GetPrefix() string

func (*Axis) GetScale

func (x *Axis) GetScale() string

func (*Axis) GetSuffix

func (x *Axis) GetSuffix() string

func (*Axis) ProtoMessage

func (*Axis) ProtoMessage()

func (*Axis) ProtoReflect added in v1.9.2

func (x *Axis) ProtoReflect() protoreflect.Message

func (*Axis) Reset

func (x *Axis) Reset()

func (*Axis) String

func (x *Axis) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetCommit

func (x *BuildInfo) GetCommit() string

func (*BuildInfo) GetVersion

func (x *BuildInfo) GetVersion() string

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect added in v1.9.2

func (x *BuildInfo) ProtoReflect() protoreflect.Message

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Cell.ProtoReflect.Descriptor instead.

func (*Cell) GetAxes

func (x *Cell) GetAxes() map[string]*Axis

func (*Cell) GetH

func (x *Cell) GetH() int32

func (*Cell) GetI

func (x *Cell) GetI() string

func (*Cell) GetName

func (x *Cell) GetName() string

func (*Cell) GetQueries

func (x *Cell) GetQueries() []*Query

func (*Cell) GetType

func (x *Cell) GetType() string

func (*Cell) GetW

func (x *Cell) GetW() int32

func (*Cell) GetX

func (x *Cell) GetX() int32

func (*Cell) GetY

func (x *Cell) GetY() int32

func (*Cell) GetYlabels

func (x *Cell) GetYlabels() []string

func (*Cell) GetYranges

func (x *Cell) GetYranges() []int64

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) ProtoReflect added in v1.9.2

func (x *Cell) ProtoReflect() protoreflect.Message

func (*Cell) Reset

func (x *Cell) Reset()

func (*Cell) String

func (x *Cell) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Color.ProtoReflect.Descriptor instead.

func (*Color) GetHex

func (x *Color) GetHex() string

func (*Color) GetID

func (x *Color) GetID() string

func (*Color) GetName

func (x *Color) GetName() string

func (*Color) GetType

func (x *Color) GetType() string

func (*Color) GetValue

func (x *Color) GetValue() string

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) ProtoReflect added in v1.9.2

func (x *Color) ProtoReflect() protoreflect.Message

func (*Color) Reset

func (x *Color) Reset()

func (*Color) String

func (x *Color) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Dashboard.ProtoReflect.Descriptor instead.

func (*Dashboard) GetCells

func (x *Dashboard) GetCells() []*DashboardCell

func (*Dashboard) GetID

func (x *Dashboard) GetID() int64

func (*Dashboard) GetName

func (x *Dashboard) GetName() string

func (*Dashboard) GetOrganization

func (x *Dashboard) GetOrganization() string

func (*Dashboard) GetTemplates

func (x *Dashboard) GetTemplates() []*Template

func (*Dashboard) ProtoMessage

func (*Dashboard) ProtoMessage()

func (*Dashboard) ProtoReflect added in v1.9.2

func (x *Dashboard) ProtoReflect() protoreflect.Message

func (*Dashboard) Reset

func (x *Dashboard) Reset()

func (*Dashboard) String

func (x *Dashboard) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Layout.ProtoReflect.Descriptor instead.

func (*Layout) GetApplication

func (x *Layout) GetApplication() string

func (*Layout) GetAutoflow

func (x *Layout) GetAutoflow() bool

func (*Layout) GetCells

func (x *Layout) GetCells() []*Cell

func (*Layout) GetID

func (x *Layout) GetID() string

func (*Layout) GetMeasurement

func (x *Layout) GetMeasurement() string

func (*Layout) ProtoMessage

func (*Layout) ProtoMessage()

func (*Layout) ProtoReflect added in v1.9.2

func (x *Layout) ProtoReflect() protoreflect.Message

func (*Layout) Reset

func (x *Layout) Reset()

func (*Layout) String

func (x *Layout) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Legend.ProtoReflect.Descriptor instead.

func (*Legend) GetOrientation

func (x *Legend) GetOrientation() string

func (*Legend) GetType

func (x *Legend) GetType() string

func (*Legend) ProtoMessage

func (*Legend) ProtoMessage()

func (*Legend) ProtoReflect added in v1.9.2

func (x *Legend) ProtoReflect() protoreflect.Message

func (*Legend) Reset

func (x *Legend) Reset()

func (*Legend) String

func (x *Legend) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Mapping.ProtoReflect.Descriptor instead.

func (*Mapping) GetID

func (x *Mapping) GetID() string

func (*Mapping) GetOrganization

func (x *Mapping) GetOrganization() string

func (*Mapping) GetProvider

func (x *Mapping) GetProvider() string

func (*Mapping) GetProviderOrganization

func (x *Mapping) GetProviderOrganization() string

func (*Mapping) GetScheme

func (x *Mapping) GetScheme() string

func (*Mapping) ProtoMessage

func (*Mapping) ProtoMessage()

func (*Mapping) ProtoReflect added in v1.9.2

func (x *Mapping) ProtoReflect() protoreflect.Message

func (*Mapping) Reset

func (x *Mapping) Reset()

func (*Mapping) String

func (x *Mapping) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetCommand

func (x *Query) GetCommand() string

func (*Query) GetDB

func (x *Query) GetDB() string

func (*Query) GetGroupBys

func (x *Query) GetGroupBys() []string

func (*Query) GetLabel

func (x *Query) GetLabel() string

func (*Query) GetRP

func (x *Query) GetRP() string

func (*Query) GetRange

func (x *Query) GetRange() *Range

func (*Query) GetShifts

func (x *Query) GetShifts() []*TimeShift

func (*Query) GetSource

func (x *Query) GetSource() string

func (*Query) GetType

func (x *Query) GetType() string

func (*Query) GetWheres

func (x *Query) GetWheres() []string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect added in v1.9.2

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetLower

func (x *Range) GetLower() int64

func (*Range) GetUpper

func (x *Range) GetUpper() int64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect added in v1.9.2

func (x *Range) ProtoReflect() protoreflect.Message

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetOrganization

func (x *Role) GetOrganization() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v1.9.2

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetActive

func (x *Server) GetActive() bool

func (*Server) GetID

func (x *Server) GetID() int64

func (*Server) GetInsecureSkipVerify

func (x *Server) GetInsecureSkipVerify() bool

func (*Server) GetMetadataJSON

func (x *Server) GetMetadataJSON() string

func (*Server) GetName

func (x *Server) GetName() string

func (*Server) GetOrganization

func (x *Server) GetOrganization() string

func (*Server) GetPassword

func (x *Server) GetPassword() string

func (*Server) GetSrcID

func (x *Server) GetSrcID() int64

func (*Server) GetType

func (x *Server) GetType() string

func (*Server) GetURL

func (x *Server) GetURL() string

func (*Server) GetUsername

func (x *Server) GetUsername() string

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect added in v1.9.2

func (x *Server) ProtoReflect() protoreflect.Message

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

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.
	SharedSecret       string `protobuf:"bytes,11,opt,name=SharedSecret,proto3" json:"SharedSecret,omitempty"`             // SharedSecret signs the optional InfluxDB JWT Authorization
	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) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetDefault

func (x *Source) GetDefault() bool

func (*Source) GetDefaultRP

func (x *Source) GetDefaultRP() string

func (*Source) GetID

func (x *Source) GetID() int64

func (*Source) GetInsecureSkipVerify

func (x *Source) GetInsecureSkipVerify() bool

func (*Source) GetMetaURL

func (x *Source) GetMetaURL() string

func (*Source) GetName

func (x *Source) GetName() string

func (*Source) GetOrganization

func (x *Source) GetOrganization() string

func (*Source) GetPassword

func (x *Source) GetPassword() string

func (*Source) GetRole

func (x *Source) GetRole() string

func (*Source) GetSharedSecret

func (x *Source) GetSharedSecret() string

func (*Source) GetTelegraf

func (x *Source) GetTelegraf() string

func (*Source) GetType

func (x *Source) GetType() string

func (*Source) GetURL

func (x *Source) GetURL() string

func (*Source) GetUsername

func (x *Source) GetUsername() string

func (*Source) GetVersion

func (x *Source) GetVersion() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect added in v1.9.2

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetID

func (x *Template) GetID() string

func (*Template) GetLabel

func (x *Template) GetLabel() string

func (*Template) GetQuery

func (x *Template) GetQuery() *TemplateQuery

func (*Template) GetSourceID

func (x *Template) GetSourceID() string

func (*Template) GetTempVar

func (x *Template) GetTempVar() string

func (*Template) GetType

func (x *Template) GetType() string

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

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TimeShift.ProtoReflect.Descriptor instead.

func (*TimeShift) GetLabel

func (x *TimeShift) GetLabel() string

func (*TimeShift) GetQuantity

func (x *TimeShift) GetQuantity() string

func (*TimeShift) GetUnit

func (x *TimeShift) GetUnit() string

func (*TimeShift) ProtoMessage

func (*TimeShift) ProtoMessage()

func (*TimeShift) ProtoReflect added in v1.9.2

func (x *TimeShift) ProtoReflect() protoreflect.Message

func (*TimeShift) Reset

func (x *TimeShift) Reset()

func (*TimeShift) String

func (x *TimeShift) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetID

func (x *User) GetID() uint64

func (*User) GetName

func (x *User) GetName() string

func (*User) GetProvider

func (x *User) GetProvider() string

func (*User) GetRoles

func (x *User) GetRoles() []*Role

func (*User) GetScheme

func (x *User) GetScheme() string

func (*User) GetSuperAdmin

func (x *User) GetSuperAdmin() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v1.9.2

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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