pluginv2

package
v0.30.1-0...-025f12f Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pluginv2 is a generated protocol buffer package.

It is generated from these files:

backend.proto

It has these top-level messages:

DataSourceConfig
PluginConfig
User
StringList
CallResourceRequest
CallResourceResponse
TimeRange
DataQuery
QueryDataRequest
QueryDataResponse
DataResponse
TimeSeries
Point
Table
TableColumn
TableRow
RowValue
CollectMetricsRequest
CollectMetricsResponse
CheckHealthRequest
CheckHealthResponse

Index

Constants

This section is empty.

Variables

View Source
var CheckHealthResponse_HealthStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "OK",
	2: "ERROR",
}
View Source
var CheckHealthResponse_HealthStatus_value = map[string]int32{
	"UNKNOWN": 0,
	"OK":      1,
	"ERROR":   2,
}
View Source
var RowValue_Kind_name = map[int32]string{
	0: "TYPE_NULL",
	1: "TYPE_DOUBLE",
	2: "TYPE_INT64",
	3: "TYPE_BOOL",
	4: "TYPE_STRING",
	5: "TYPE_BYTES",
}
View Source
var RowValue_Kind_value = map[string]int32{
	"TYPE_NULL":   0,
	"TYPE_DOUBLE": 1,
	"TYPE_INT64":  2,
	"TYPE_BOOL":   3,
	"TYPE_STRING": 4,
	"TYPE_BYTES":  5,
}

Functions

func RegisterDataServer

func RegisterDataServer(s *grpc.Server, srv DataServer)

func RegisterDiagnosticsServer

func RegisterDiagnosticsServer(s *grpc.Server, srv DiagnosticsServer)

func RegisterResourceServer

func RegisterResourceServer(s *grpc.Server, srv ResourceServer)

func RegisterTransformDataCallBackServer

func RegisterTransformDataCallBackServer(s *grpc.Server, srv TransformDataCallBackServer)

func RegisterTransformServer

func RegisterTransformServer(s *grpc.Server, srv TransformServer)

Types

type CallResourceRequest

type CallResourceRequest struct {
	Config  *PluginConfig          `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	User    *User                  `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	Path    string                 `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
	Method  string                 `protobuf:"bytes,4,opt,name=method" json:"method,omitempty"`
	Url     string                 `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	Headers map[string]*StringList `` /* 134-byte string literal not displayed */
	Body    []byte                 `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
}

func (*CallResourceRequest) Descriptor

func (*CallResourceRequest) Descriptor() ([]byte, []int)

func (*CallResourceRequest) GetBody

func (m *CallResourceRequest) GetBody() []byte

func (*CallResourceRequest) GetConfig

func (m *CallResourceRequest) GetConfig() *PluginConfig

func (*CallResourceRequest) GetHeaders

func (m *CallResourceRequest) GetHeaders() map[string]*StringList

func (*CallResourceRequest) GetMethod

func (m *CallResourceRequest) GetMethod() string

func (*CallResourceRequest) GetPath

func (m *CallResourceRequest) GetPath() string

func (*CallResourceRequest) GetUrl

func (m *CallResourceRequest) GetUrl() string

func (*CallResourceRequest) GetUser

func (m *CallResourceRequest) GetUser() *User

func (*CallResourceRequest) ProtoMessage

func (*CallResourceRequest) ProtoMessage()

func (*CallResourceRequest) Reset

func (m *CallResourceRequest) Reset()

func (*CallResourceRequest) String

func (m *CallResourceRequest) String() string

type CallResourceResponse

type CallResourceResponse struct {
	Code    int32                  `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	Headers map[string]*StringList `` /* 134-byte string literal not displayed */
	Body    []byte                 `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
}

func (*CallResourceResponse) Descriptor

func (*CallResourceResponse) Descriptor() ([]byte, []int)

func (*CallResourceResponse) GetBody

func (m *CallResourceResponse) GetBody() []byte

func (*CallResourceResponse) GetCode

func (m *CallResourceResponse) GetCode() int32

func (*CallResourceResponse) GetHeaders

func (m *CallResourceResponse) GetHeaders() map[string]*StringList

func (*CallResourceResponse) ProtoMessage

func (*CallResourceResponse) ProtoMessage()

func (*CallResourceResponse) Reset

func (m *CallResourceResponse) Reset()

func (*CallResourceResponse) String

func (m *CallResourceResponse) String() string

type CheckHealthRequest

type CheckHealthRequest struct {
	Config *PluginConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
}

func (*CheckHealthRequest) Descriptor

func (*CheckHealthRequest) Descriptor() ([]byte, []int)

func (*CheckHealthRequest) GetConfig

func (m *CheckHealthRequest) GetConfig() *PluginConfig

func (*CheckHealthRequest) ProtoMessage

func (*CheckHealthRequest) ProtoMessage()

func (*CheckHealthRequest) Reset

func (m *CheckHealthRequest) Reset()

func (*CheckHealthRequest) String

func (m *CheckHealthRequest) String() string

type CheckHealthResponse

type CheckHealthResponse struct {
	Status      CheckHealthResponse_HealthStatus `protobuf:"varint,1,opt,name=status,enum=pluginv2.CheckHealthResponse_HealthStatus" json:"status,omitempty"`
	Message     string                           `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	JsonDetails []byte                           `protobuf:"bytes,3,opt,name=jsonDetails,proto3" json:"jsonDetails,omitempty"`
}

func (*CheckHealthResponse) Descriptor

func (*CheckHealthResponse) Descriptor() ([]byte, []int)

func (*CheckHealthResponse) GetJsonDetails

func (m *CheckHealthResponse) GetJsonDetails() []byte

func (*CheckHealthResponse) GetMessage

func (m *CheckHealthResponse) GetMessage() string

func (*CheckHealthResponse) GetStatus

func (*CheckHealthResponse) ProtoMessage

func (*CheckHealthResponse) ProtoMessage()

func (*CheckHealthResponse) Reset

func (m *CheckHealthResponse) Reset()

func (*CheckHealthResponse) String

func (m *CheckHealthResponse) String() string

type CheckHealthResponse_HealthStatus

type CheckHealthResponse_HealthStatus int32
const (
	CheckHealthResponse_UNKNOWN CheckHealthResponse_HealthStatus = 0
	CheckHealthResponse_OK      CheckHealthResponse_HealthStatus = 1
	CheckHealthResponse_ERROR   CheckHealthResponse_HealthStatus = 2
)

func (CheckHealthResponse_HealthStatus) EnumDescriptor

func (CheckHealthResponse_HealthStatus) EnumDescriptor() ([]byte, []int)

func (CheckHealthResponse_HealthStatus) String

type CollectMetricsRequest

type CollectMetricsRequest struct {
}

func (*CollectMetricsRequest) Descriptor

func (*CollectMetricsRequest) Descriptor() ([]byte, []int)

func (*CollectMetricsRequest) ProtoMessage

func (*CollectMetricsRequest) ProtoMessage()

func (*CollectMetricsRequest) Reset

func (m *CollectMetricsRequest) Reset()

func (*CollectMetricsRequest) String

func (m *CollectMetricsRequest) String() string

type CollectMetricsResponse

type CollectMetricsResponse struct {
	Metrics *CollectMetricsResponse_Payload `protobuf:"bytes,1,opt,name=metrics" json:"metrics,omitempty"`
}

func (*CollectMetricsResponse) Descriptor

func (*CollectMetricsResponse) Descriptor() ([]byte, []int)

func (*CollectMetricsResponse) GetMetrics

func (*CollectMetricsResponse) ProtoMessage

func (*CollectMetricsResponse) ProtoMessage()

func (*CollectMetricsResponse) Reset

func (m *CollectMetricsResponse) Reset()

func (*CollectMetricsResponse) String

func (m *CollectMetricsResponse) String() string

type CollectMetricsResponse_Payload

type CollectMetricsResponse_Payload struct {
	Prometheus []byte `protobuf:"bytes,1,opt,name=prometheus,proto3" json:"prometheus,omitempty"`
}

func (*CollectMetricsResponse_Payload) Descriptor

func (*CollectMetricsResponse_Payload) Descriptor() ([]byte, []int)

func (*CollectMetricsResponse_Payload) GetPrometheus

func (m *CollectMetricsResponse_Payload) GetPrometheus() []byte

func (*CollectMetricsResponse_Payload) ProtoMessage

func (*CollectMetricsResponse_Payload) ProtoMessage()

func (*CollectMetricsResponse_Payload) Reset

func (m *CollectMetricsResponse_Payload) Reset()

func (*CollectMetricsResponse_Payload) String

type DataClient

type DataClient interface {
	QueryData(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error)
}

func NewDataClient

func NewDataClient(cc *grpc.ClientConn) DataClient

type DataQuery

type DataQuery struct {
	RefId         string     `protobuf:"bytes,1,opt,name=refId" json:"refId,omitempty"`
	MaxDataPoints int64      `protobuf:"varint,2,opt,name=maxDataPoints" json:"maxDataPoints,omitempty"`
	IntervalMS    int64      `protobuf:"varint,3,opt,name=intervalMS" json:"intervalMS,omitempty"`
	TimeRange     *TimeRange `protobuf:"bytes,4,opt,name=timeRange" json:"timeRange,omitempty"`
	Json          []byte     `protobuf:"bytes,5,opt,name=json,proto3" json:"json,omitempty"`
}

func (*DataQuery) Descriptor

func (*DataQuery) Descriptor() ([]byte, []int)

func (*DataQuery) GetIntervalMS

func (m *DataQuery) GetIntervalMS() int64

func (*DataQuery) GetJson

func (m *DataQuery) GetJson() []byte

func (*DataQuery) GetMaxDataPoints

func (m *DataQuery) GetMaxDataPoints() int64

func (*DataQuery) GetRefId

func (m *DataQuery) GetRefId() string

func (*DataQuery) GetTimeRange

func (m *DataQuery) GetTimeRange() *TimeRange

func (*DataQuery) ProtoMessage

func (*DataQuery) ProtoMessage()

func (*DataQuery) Reset

func (m *DataQuery) Reset()

func (*DataQuery) String

func (m *DataQuery) String() string

type DataResponse

type DataResponse struct {
	// Arrow encoded DataFrames
	// Frame has its own meta, warnings, and repeats refId
	Frames   [][]byte      `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
	Error    string        `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	JsonMeta []byte        `protobuf:"bytes,3,opt,name=jsonMeta,proto3" json:"jsonMeta,omitempty"`
	Series   []*TimeSeries `protobuf:"bytes,4,rep,name=series" json:"series,omitempty"`
	Tables   []*Table      `protobuf:"bytes,5,rep,name=tables" json:"tables,omitempty"`
	Json     string        `protobuf:"bytes,6,opt,name=json" json:"json,omitempty"`
}

func (*DataResponse) Descriptor

func (*DataResponse) Descriptor() ([]byte, []int)

func (*DataResponse) GetError

func (m *DataResponse) GetError() string

func (*DataResponse) GetFrames

func (m *DataResponse) GetFrames() [][]byte

func (*DataResponse) GetJson

func (m *DataResponse) GetJson() string

func (*DataResponse) GetJsonMeta

func (m *DataResponse) GetJsonMeta() []byte

func (*DataResponse) GetSeries

func (m *DataResponse) GetSeries() []*TimeSeries

func (*DataResponse) GetTables

func (m *DataResponse) GetTables() []*Table

func (*DataResponse) ProtoMessage

func (*DataResponse) ProtoMessage()

func (*DataResponse) Reset

func (m *DataResponse) Reset()

func (*DataResponse) String

func (m *DataResponse) String() string

type DataServer

type DataServer interface {
	QueryData(context.Context, *QueryDataRequest) (*QueryDataResponse, error)
}

type DataSourceConfig

type DataSourceConfig struct {
	Id               int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Url              string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	User             string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
	Database         string `protobuf:"bytes,5,opt,name=database" json:"database,omitempty"`
	BasicAuthEnabled bool   `protobuf:"varint,6,opt,name=basicAuthEnabled" json:"basicAuthEnabled,omitempty"`
	BasicAuthUser    string `protobuf:"bytes,7,opt,name=basicAuthUser" json:"basicAuthUser,omitempty"`
	// from [data_source.json_data] field in the database
	JsonData []byte `protobuf:"bytes,8,opt,name=jsonData,proto3" json:"jsonData,omitempty"`
	// from [data_source.secure_json_data] field in the database
	DecryptedSecureJsonData map[string]string `` /* 166-byte string literal not displayed */
	LastUpdatedMS           int64             `protobuf:"varint,10,opt,name=lastUpdatedMS" json:"lastUpdatedMS,omitempty"`
}

func (*DataSourceConfig) Descriptor

func (*DataSourceConfig) Descriptor() ([]byte, []int)

func (*DataSourceConfig) GetBasicAuthEnabled

func (m *DataSourceConfig) GetBasicAuthEnabled() bool

func (*DataSourceConfig) GetBasicAuthUser

func (m *DataSourceConfig) GetBasicAuthUser() string

func (*DataSourceConfig) GetDatabase

func (m *DataSourceConfig) GetDatabase() string

func (*DataSourceConfig) GetDecryptedSecureJsonData

func (m *DataSourceConfig) GetDecryptedSecureJsonData() map[string]string

func (*DataSourceConfig) GetId

func (m *DataSourceConfig) GetId() int64

func (*DataSourceConfig) GetJsonData

func (m *DataSourceConfig) GetJsonData() []byte

func (*DataSourceConfig) GetLastUpdatedMS

func (m *DataSourceConfig) GetLastUpdatedMS() int64

func (*DataSourceConfig) GetName

func (m *DataSourceConfig) GetName() string

func (*DataSourceConfig) GetUrl

func (m *DataSourceConfig) GetUrl() string

func (*DataSourceConfig) GetUser

func (m *DataSourceConfig) GetUser() string

func (*DataSourceConfig) ProtoMessage

func (*DataSourceConfig) ProtoMessage()

func (*DataSourceConfig) Reset

func (m *DataSourceConfig) Reset()

func (*DataSourceConfig) String

func (m *DataSourceConfig) String() string

type DiagnosticsClient

type DiagnosticsClient interface {
	CheckHealth(ctx context.Context, in *CheckHealthRequest, opts ...grpc.CallOption) (*CheckHealthResponse, error)
	CollectMetrics(ctx context.Context, in *CollectMetricsRequest, opts ...grpc.CallOption) (*CollectMetricsResponse, error)
}

func NewDiagnosticsClient

func NewDiagnosticsClient(cc *grpc.ClientConn) DiagnosticsClient

type DiagnosticsServer

type DiagnosticsServer interface {
	CheckHealth(context.Context, *CheckHealthRequest) (*CheckHealthResponse, error)
	CollectMetrics(context.Context, *CollectMetricsRequest) (*CollectMetricsResponse, error)
}

type PluginConfig

type PluginConfig struct {
	OrgId    int64  `protobuf:"varint,1,opt,name=orgId" json:"orgId,omitempty"`
	PluginId string `protobuf:"bytes,2,opt,name=pluginId" json:"pluginId,omitempty"`
	// from [plugin_setting.json_data] field in the database
	JsonData []byte `protobuf:"bytes,3,opt,name=jsonData,proto3" json:"jsonData,omitempty"`
	// from [plugin_setting.secure_json_data] field in the database
	DecryptedSecureJsonData map[string]string `` /* 166-byte string literal not displayed */
	LastUpdatedMS           int64             `protobuf:"varint,5,opt,name=lastUpdatedMS" json:"lastUpdatedMS,omitempty"`
	DatasourceConfig        *DataSourceConfig `protobuf:"bytes,6,opt,name=datasourceConfig" json:"datasourceConfig,omitempty"`
}

func (*PluginConfig) Descriptor

func (*PluginConfig) Descriptor() ([]byte, []int)

func (*PluginConfig) GetDatasourceConfig

func (m *PluginConfig) GetDatasourceConfig() *DataSourceConfig

func (*PluginConfig) GetDecryptedSecureJsonData

func (m *PluginConfig) GetDecryptedSecureJsonData() map[string]string

func (*PluginConfig) GetJsonData

func (m *PluginConfig) GetJsonData() []byte

func (*PluginConfig) GetLastUpdatedMS

func (m *PluginConfig) GetLastUpdatedMS() int64

func (*PluginConfig) GetOrgId

func (m *PluginConfig) GetOrgId() int64

func (*PluginConfig) GetPluginId

func (m *PluginConfig) GetPluginId() string

func (*PluginConfig) ProtoMessage

func (*PluginConfig) ProtoMessage()

func (*PluginConfig) Reset

func (m *PluginConfig) Reset()

func (*PluginConfig) String

func (m *PluginConfig) String() string

type Point

type Point struct {
	Timestamp int64   `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
	Value     float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"`
}

func (*Point) Descriptor

func (*Point) Descriptor() ([]byte, []int)

func (*Point) GetTimestamp

func (m *Point) GetTimestamp() int64

func (*Point) GetValue

func (m *Point) GetValue() float64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

type QueryDataRequest

type QueryDataRequest struct {
	// Plugin Configuration
	Config *PluginConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	// Info about the user who calls the plugin.
	User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	// Environment info
	Headers map[string]string `` /* 134-byte string literal not displayed */
	// List of data queries
	Queries []*DataQuery `protobuf:"bytes,4,rep,name=queries" json:"queries,omitempty"`
}

QueryDataRequest

func (*QueryDataRequest) Descriptor

func (*QueryDataRequest) Descriptor() ([]byte, []int)

func (*QueryDataRequest) GetConfig

func (m *QueryDataRequest) GetConfig() *PluginConfig

func (*QueryDataRequest) GetHeaders

func (m *QueryDataRequest) GetHeaders() map[string]string

func (*QueryDataRequest) GetQueries

func (m *QueryDataRequest) GetQueries() []*DataQuery

func (*QueryDataRequest) GetUser

func (m *QueryDataRequest) GetUser() *User

func (*QueryDataRequest) ProtoMessage

func (*QueryDataRequest) ProtoMessage()

func (*QueryDataRequest) Reset

func (m *QueryDataRequest) Reset()

func (*QueryDataRequest) String

func (m *QueryDataRequest) String() string

type QueryDataResponse

type QueryDataResponse struct {
	// Map of refId to response
	Responses map[string]*DataResponse `` /* 138-byte string literal not displayed */
	// ORIGINAL
	// Arrow encoded DataFrames
	// Each frame encodes its own: Errors, meta, and refId
	Frames [][]byte `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
	// Additional response metadata
	Metadata map[string]string `` /* 136-byte string literal not displayed */
	Json     string            `protobuf:"bytes,3,opt,name=json" json:"json,omitempty"`
}

func (*QueryDataResponse) Descriptor

func (*QueryDataResponse) Descriptor() ([]byte, []int)

func (*QueryDataResponse) GetFrames

func (m *QueryDataResponse) GetFrames() [][]byte

func (*QueryDataResponse) GetJson

func (m *QueryDataResponse) GetJson() string

func (*QueryDataResponse) GetMetadata

func (m *QueryDataResponse) GetMetadata() map[string]string

func (*QueryDataResponse) GetResponses

func (m *QueryDataResponse) GetResponses() map[string]*DataResponse

func (*QueryDataResponse) ProtoMessage

func (*QueryDataResponse) ProtoMessage()

func (*QueryDataResponse) Reset

func (m *QueryDataResponse) Reset()

func (*QueryDataResponse) String

func (m *QueryDataResponse) String() string

type ResourceClient

type ResourceClient interface {
	CallResource(ctx context.Context, in *CallResourceRequest, opts ...grpc.CallOption) (Resource_CallResourceClient, error)
}

func NewResourceClient

func NewResourceClient(cc *grpc.ClientConn) ResourceClient

type ResourceServer

type ResourceServer interface {
	CallResource(*CallResourceRequest, Resource_CallResourceServer) error
}

type Resource_CallResourceClient

type Resource_CallResourceClient interface {
	Recv() (*CallResourceResponse, error)
	grpc.ClientStream
}

type Resource_CallResourceServer

type Resource_CallResourceServer interface {
	Send(*CallResourceResponse) error
	grpc.ServerStream
}

type RowValue

type RowValue struct {
	Kind        RowValue_Kind `protobuf:"varint,1,opt,name=kind,enum=pluginv2.RowValue_Kind" json:"kind,omitempty"`
	DoubleValue float64       `protobuf:"fixed64,2,opt,name=doubleValue" json:"doubleValue,omitempty"`
	Int64Value  int64         `protobuf:"varint,3,opt,name=int64Value" json:"int64Value,omitempty"`
	BoolValue   bool          `protobuf:"varint,4,opt,name=boolValue" json:"boolValue,omitempty"`
	StringValue string        `protobuf:"bytes,5,opt,name=stringValue" json:"stringValue,omitempty"`
	BytesValue  []byte        `protobuf:"bytes,6,opt,name=bytesValue,proto3" json:"bytesValue,omitempty"`
}

func (*RowValue) Descriptor

func (*RowValue) Descriptor() ([]byte, []int)

func (*RowValue) GetBoolValue

func (m *RowValue) GetBoolValue() bool

func (*RowValue) GetBytesValue

func (m *RowValue) GetBytesValue() []byte

func (*RowValue) GetDoubleValue

func (m *RowValue) GetDoubleValue() float64

func (*RowValue) GetInt64Value

func (m *RowValue) GetInt64Value() int64

func (*RowValue) GetKind

func (m *RowValue) GetKind() RowValue_Kind

func (*RowValue) GetStringValue

func (m *RowValue) GetStringValue() string

func (*RowValue) ProtoMessage

func (*RowValue) ProtoMessage()

func (*RowValue) Reset

func (m *RowValue) Reset()

func (*RowValue) String

func (m *RowValue) String() string

type RowValue_Kind

type RowValue_Kind int32
const (
	// Field type null.
	RowValue_TYPE_NULL RowValue_Kind = 0
	// Field type double.
	RowValue_TYPE_DOUBLE RowValue_Kind = 1
	// Field type int64.
	RowValue_TYPE_INT64 RowValue_Kind = 2
	// Field type bool.
	RowValue_TYPE_BOOL RowValue_Kind = 3
	// Field type string.
	RowValue_TYPE_STRING RowValue_Kind = 4
	// Field type bytes.
	RowValue_TYPE_BYTES RowValue_Kind = 5
)

func (RowValue_Kind) EnumDescriptor

func (RowValue_Kind) EnumDescriptor() ([]byte, []int)

func (RowValue_Kind) String

func (x RowValue_Kind) String() string

type StringList

type StringList struct {
	Values []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}

func (*StringList) Descriptor

func (*StringList) Descriptor() ([]byte, []int)

func (*StringList) GetValues

func (m *StringList) GetValues() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) Reset

func (m *StringList) Reset()

func (*StringList) String

func (m *StringList) String() string

type Table

type Table struct {
	Columns []*TableColumn `protobuf:"bytes,1,rep,name=columns" json:"columns,omitempty"`
	Rows    []*TableRow    `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"`
}

func (*Table) Descriptor

func (*Table) Descriptor() ([]byte, []int)

func (*Table) GetColumns

func (m *Table) GetColumns() []*TableColumn

func (*Table) GetRows

func (m *Table) GetRows() []*TableRow

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

type TableColumn

type TableColumn struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*TableColumn) Descriptor

func (*TableColumn) Descriptor() ([]byte, []int)

func (*TableColumn) GetName

func (m *TableColumn) GetName() string

func (*TableColumn) ProtoMessage

func (*TableColumn) ProtoMessage()

func (*TableColumn) Reset

func (m *TableColumn) Reset()

func (*TableColumn) String

func (m *TableColumn) String() string

type TableRow

type TableRow struct {
	Values []*RowValue `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}

func (*TableRow) Descriptor

func (*TableRow) Descriptor() ([]byte, []int)

func (*TableRow) GetValues

func (m *TableRow) GetValues() []*RowValue

func (*TableRow) ProtoMessage

func (*TableRow) ProtoMessage()

func (*TableRow) Reset

func (m *TableRow) Reset()

func (*TableRow) String

func (m *TableRow) String() string

type TimeRange

type TimeRange struct {
	FromEpochMS int64 `protobuf:"varint,1,opt,name=fromEpochMS" json:"fromEpochMS,omitempty"`
	ToEpochMS   int64 `protobuf:"varint,2,opt,name=toEpochMS" json:"toEpochMS,omitempty"`
}

func (*TimeRange) Descriptor

func (*TimeRange) Descriptor() ([]byte, []int)

func (*TimeRange) GetFromEpochMS

func (m *TimeRange) GetFromEpochMS() int64

func (*TimeRange) GetToEpochMS

func (m *TimeRange) GetToEpochMS() int64

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) Reset

func (m *TimeRange) Reset()

func (*TimeRange) String

func (m *TimeRange) String() string

type TimeSeries

type TimeSeries struct {
	Name   string            `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Tags   map[string]string `` /* 128-byte string literal not displayed */
	Points []*Point          `protobuf:"bytes,3,rep,name=points" json:"points,omitempty"`
}

Tables and Timeseries

func (*TimeSeries) Descriptor

func (*TimeSeries) Descriptor() ([]byte, []int)

func (*TimeSeries) GetName

func (m *TimeSeries) GetName() string

func (*TimeSeries) GetPoints

func (m *TimeSeries) GetPoints() []*Point

func (*TimeSeries) GetTags

func (m *TimeSeries) GetTags() map[string]string

func (*TimeSeries) ProtoMessage

func (*TimeSeries) ProtoMessage()

func (*TimeSeries) Reset

func (m *TimeSeries) Reset()

func (*TimeSeries) String

func (m *TimeSeries) String() string

type TransformClient

type TransformClient interface {
	TransformData(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error)
}

func NewTransformClient

func NewTransformClient(cc *grpc.ClientConn) TransformClient

type TransformDataCallBackClient

type TransformDataCallBackClient interface {
	QueryData(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error)
}

func NewTransformDataCallBackClient

func NewTransformDataCallBackClient(cc *grpc.ClientConn) TransformDataCallBackClient

type TransformDataCallBackServer

type TransformDataCallBackServer interface {
	QueryData(context.Context, *QueryDataRequest) (*QueryDataResponse, error)
}

type TransformServer

type TransformServer interface {
	TransformData(context.Context, *QueryDataRequest) (*QueryDataResponse, error)
}

type User

type User struct {
	Login string `protobuf:"bytes,1,opt,name=login" json:"login,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Email string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"`
	Role  string `protobuf:"bytes,4,opt,name=role" json:"role,omitempty"`
}

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetLogin

func (m *User) GetLogin() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetRole

func (m *User) GetRole() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

Jump to

Keyboard shortcuts

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