Versions in this module Expand all Collapse all v0 v0.77.1 Oct 5, 2020 Changes in this version + var CheckHealthResponse_HealthStatus_name = map[int32]string + var CheckHealthResponse_HealthStatus_value = map[string]int32 + func RegisterDataServer(s *grpc.Server, srv DataServer) + func RegisterDiagnosticsServer(s *grpc.Server, srv DiagnosticsServer) + func RegisterResourceServer(s *grpc.Server, srv ResourceServer) + func RegisterTransformDataCallBackServer(s *grpc.Server, srv TransformDataCallBackServer) + func RegisterTransformServer(s *grpc.Server, srv TransformServer) + type AppInstanceSettings struct + DecryptedSecureJsonData map[string]string + JsonData []byte + LastUpdatedMS int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AppInstanceSettings) Descriptor() ([]byte, []int) + func (*AppInstanceSettings) ProtoMessage() + func (m *AppInstanceSettings) GetDecryptedSecureJsonData() map[string]string + func (m *AppInstanceSettings) GetJsonData() []byte + func (m *AppInstanceSettings) GetLastUpdatedMS() int64 + func (m *AppInstanceSettings) Reset() + func (m *AppInstanceSettings) String() string + func (m *AppInstanceSettings) XXX_DiscardUnknown() + func (m *AppInstanceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AppInstanceSettings) XXX_Merge(src proto.Message) + func (m *AppInstanceSettings) XXX_Size() int + func (m *AppInstanceSettings) XXX_Unmarshal(b []byte) error + type CallResourceRequest struct + Body []byte + Headers map[string]*StringList + Method string + Path string + PluginContext *PluginContext + Url string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CallResourceRequest) Descriptor() ([]byte, []int) + func (*CallResourceRequest) ProtoMessage() + func (m *CallResourceRequest) GetBody() []byte + func (m *CallResourceRequest) GetHeaders() map[string]*StringList + func (m *CallResourceRequest) GetMethod() string + func (m *CallResourceRequest) GetPath() string + func (m *CallResourceRequest) GetPluginContext() *PluginContext + func (m *CallResourceRequest) GetUrl() string + func (m *CallResourceRequest) Reset() + func (m *CallResourceRequest) String() string + func (m *CallResourceRequest) XXX_DiscardUnknown() + func (m *CallResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CallResourceRequest) XXX_Merge(src proto.Message) + func (m *CallResourceRequest) XXX_Size() int + func (m *CallResourceRequest) XXX_Unmarshal(b []byte) error + type CallResourceResponse struct + Body []byte + Code int32 + Headers map[string]*StringList + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CallResourceResponse) Descriptor() ([]byte, []int) + func (*CallResourceResponse) ProtoMessage() + func (m *CallResourceResponse) GetBody() []byte + func (m *CallResourceResponse) GetCode() int32 + func (m *CallResourceResponse) GetHeaders() map[string]*StringList + func (m *CallResourceResponse) Reset() + func (m *CallResourceResponse) String() string + func (m *CallResourceResponse) XXX_DiscardUnknown() + func (m *CallResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CallResourceResponse) XXX_Merge(src proto.Message) + func (m *CallResourceResponse) XXX_Size() int + func (m *CallResourceResponse) XXX_Unmarshal(b []byte) error + type CheckHealthRequest struct + PluginContext *PluginContext + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CheckHealthRequest) Descriptor() ([]byte, []int) + func (*CheckHealthRequest) ProtoMessage() + func (m *CheckHealthRequest) GetPluginContext() *PluginContext + func (m *CheckHealthRequest) Reset() + func (m *CheckHealthRequest) String() string + func (m *CheckHealthRequest) XXX_DiscardUnknown() + func (m *CheckHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CheckHealthRequest) XXX_Merge(src proto.Message) + func (m *CheckHealthRequest) XXX_Size() int + func (m *CheckHealthRequest) XXX_Unmarshal(b []byte) error + type CheckHealthResponse struct + JsonDetails []byte + Message string + Status CheckHealthResponse_HealthStatus + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CheckHealthResponse) Descriptor() ([]byte, []int) + func (*CheckHealthResponse) ProtoMessage() + func (m *CheckHealthResponse) GetJsonDetails() []byte + func (m *CheckHealthResponse) GetMessage() string + func (m *CheckHealthResponse) GetStatus() CheckHealthResponse_HealthStatus + func (m *CheckHealthResponse) Reset() + func (m *CheckHealthResponse) String() string + func (m *CheckHealthResponse) XXX_DiscardUnknown() + func (m *CheckHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CheckHealthResponse) XXX_Merge(src proto.Message) + func (m *CheckHealthResponse) XXX_Size() int + func (m *CheckHealthResponse) XXX_Unmarshal(b []byte) error + type CheckHealthResponse_HealthStatus int32 + const CheckHealthResponse_ERROR + const CheckHealthResponse_OK + const CheckHealthResponse_UNKNOWN + func (CheckHealthResponse_HealthStatus) EnumDescriptor() ([]byte, []int) + func (x CheckHealthResponse_HealthStatus) String() string + type CollectMetricsRequest struct + PluginContext *PluginContext + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CollectMetricsRequest) Descriptor() ([]byte, []int) + func (*CollectMetricsRequest) ProtoMessage() + func (m *CollectMetricsRequest) GetPluginContext() *PluginContext + func (m *CollectMetricsRequest) Reset() + func (m *CollectMetricsRequest) String() string + func (m *CollectMetricsRequest) XXX_DiscardUnknown() + func (m *CollectMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CollectMetricsRequest) XXX_Merge(src proto.Message) + func (m *CollectMetricsRequest) XXX_Size() int + func (m *CollectMetricsRequest) XXX_Unmarshal(b []byte) error + type CollectMetricsResponse struct + Metrics *CollectMetricsResponse_Payload + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CollectMetricsResponse) Descriptor() ([]byte, []int) + func (*CollectMetricsResponse) ProtoMessage() + func (m *CollectMetricsResponse) GetMetrics() *CollectMetricsResponse_Payload + func (m *CollectMetricsResponse) Reset() + func (m *CollectMetricsResponse) String() string + func (m *CollectMetricsResponse) XXX_DiscardUnknown() + func (m *CollectMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CollectMetricsResponse) XXX_Merge(src proto.Message) + func (m *CollectMetricsResponse) XXX_Size() int + func (m *CollectMetricsResponse) XXX_Unmarshal(b []byte) error + type CollectMetricsResponse_Payload struct + Prometheus []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CollectMetricsResponse_Payload) Descriptor() ([]byte, []int) + func (*CollectMetricsResponse_Payload) ProtoMessage() + func (m *CollectMetricsResponse_Payload) GetPrometheus() []byte + func (m *CollectMetricsResponse_Payload) Reset() + func (m *CollectMetricsResponse_Payload) String() string + func (m *CollectMetricsResponse_Payload) XXX_DiscardUnknown() + func (m *CollectMetricsResponse_Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CollectMetricsResponse_Payload) XXX_Merge(src proto.Message) + func (m *CollectMetricsResponse_Payload) XXX_Size() int + func (m *CollectMetricsResponse_Payload) XXX_Unmarshal(b []byte) error + type DataClient interface + QueryData func(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error) + func NewDataClient(cc grpc.ClientConnInterface) DataClient + type DataQuery struct + IntervalMS int64 + Json []byte + MaxDataPoints int64 + QueryType string + RefId string + TimeRange *TimeRange + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DataQuery) Descriptor() ([]byte, []int) + func (*DataQuery) ProtoMessage() + func (m *DataQuery) GetIntervalMS() int64 + func (m *DataQuery) GetJson() []byte + func (m *DataQuery) GetMaxDataPoints() int64 + func (m *DataQuery) GetQueryType() string + func (m *DataQuery) GetRefId() string + func (m *DataQuery) GetTimeRange() *TimeRange + func (m *DataQuery) Reset() + func (m *DataQuery) String() string + func (m *DataQuery) XXX_DiscardUnknown() + func (m *DataQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DataQuery) XXX_Merge(src proto.Message) + func (m *DataQuery) XXX_Size() int + func (m *DataQuery) XXX_Unmarshal(b []byte) error + type DataResponse struct + Error string + Frames [][]byte + JsonMeta []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DataResponse) Descriptor() ([]byte, []int) + func (*DataResponse) ProtoMessage() + func (m *DataResponse) GetError() string + func (m *DataResponse) GetFrames() [][]byte + func (m *DataResponse) GetJsonMeta() []byte + func (m *DataResponse) Reset() + func (m *DataResponse) String() string + func (m *DataResponse) XXX_DiscardUnknown() + func (m *DataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DataResponse) XXX_Merge(src proto.Message) + func (m *DataResponse) XXX_Size() int + func (m *DataResponse) XXX_Unmarshal(b []byte) error + type DataServer interface + QueryData func(context.Context, *QueryDataRequest) (*QueryDataResponse, error) + type DataSourceInstanceSettings struct + BasicAuthEnabled bool + BasicAuthUser string + Database string + DecryptedSecureJsonData map[string]string + Id int64 + JsonData []byte + LastUpdatedMS int64 + Name string + Url string + User string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DataSourceInstanceSettings) Descriptor() ([]byte, []int) + func (*DataSourceInstanceSettings) ProtoMessage() + func (m *DataSourceInstanceSettings) GetBasicAuthEnabled() bool + func (m *DataSourceInstanceSettings) GetBasicAuthUser() string + func (m *DataSourceInstanceSettings) GetDatabase() string + func (m *DataSourceInstanceSettings) GetDecryptedSecureJsonData() map[string]string + func (m *DataSourceInstanceSettings) GetId() int64 + func (m *DataSourceInstanceSettings) GetJsonData() []byte + func (m *DataSourceInstanceSettings) GetLastUpdatedMS() int64 + func (m *DataSourceInstanceSettings) GetName() string + func (m *DataSourceInstanceSettings) GetUrl() string + func (m *DataSourceInstanceSettings) GetUser() string + func (m *DataSourceInstanceSettings) Reset() + func (m *DataSourceInstanceSettings) String() string + func (m *DataSourceInstanceSettings) XXX_DiscardUnknown() + func (m *DataSourceInstanceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DataSourceInstanceSettings) XXX_Merge(src proto.Message) + func (m *DataSourceInstanceSettings) XXX_Size() int + func (m *DataSourceInstanceSettings) XXX_Unmarshal(b []byte) error + type DiagnosticsClient interface + CheckHealth func(ctx context.Context, in *CheckHealthRequest, opts ...grpc.CallOption) (*CheckHealthResponse, error) + CollectMetrics func(ctx context.Context, in *CollectMetricsRequest, opts ...grpc.CallOption) (*CollectMetricsResponse, error) + func NewDiagnosticsClient(cc grpc.ClientConnInterface) DiagnosticsClient + type DiagnosticsServer interface + CheckHealth func(context.Context, *CheckHealthRequest) (*CheckHealthResponse, error) + CollectMetrics func(context.Context, *CollectMetricsRequest) (*CollectMetricsResponse, error) + type PluginContext struct + AppInstanceSettings *AppInstanceSettings + DataSourceInstanceSettings *DataSourceInstanceSettings + OrgId int64 + PluginId string + User *User + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PluginContext) Descriptor() ([]byte, []int) + func (*PluginContext) ProtoMessage() + func (m *PluginContext) GetAppInstanceSettings() *AppInstanceSettings + func (m *PluginContext) GetDataSourceInstanceSettings() *DataSourceInstanceSettings + func (m *PluginContext) GetOrgId() int64 + func (m *PluginContext) GetPluginId() string + func (m *PluginContext) GetUser() *User + func (m *PluginContext) Reset() + func (m *PluginContext) String() string + func (m *PluginContext) XXX_DiscardUnknown() + func (m *PluginContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PluginContext) XXX_Merge(src proto.Message) + func (m *PluginContext) XXX_Size() int + func (m *PluginContext) XXX_Unmarshal(b []byte) error + type QueryDataRequest struct + Headers map[string]string + PluginContext *PluginContext + Queries []*DataQuery + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryDataRequest) Descriptor() ([]byte, []int) + func (*QueryDataRequest) ProtoMessage() + func (m *QueryDataRequest) GetHeaders() map[string]string + func (m *QueryDataRequest) GetPluginContext() *PluginContext + func (m *QueryDataRequest) GetQueries() []*DataQuery + func (m *QueryDataRequest) Reset() + func (m *QueryDataRequest) String() string + func (m *QueryDataRequest) XXX_DiscardUnknown() + func (m *QueryDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDataRequest) XXX_Merge(src proto.Message) + func (m *QueryDataRequest) XXX_Size() int + func (m *QueryDataRequest) XXX_Unmarshal(b []byte) error + type QueryDataResponse struct + Responses map[string]*DataResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryDataResponse) Descriptor() ([]byte, []int) + func (*QueryDataResponse) ProtoMessage() + func (m *QueryDataResponse) GetResponses() map[string]*DataResponse + func (m *QueryDataResponse) Reset() + func (m *QueryDataResponse) String() string + func (m *QueryDataResponse) XXX_DiscardUnknown() + func (m *QueryDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDataResponse) XXX_Merge(src proto.Message) + func (m *QueryDataResponse) XXX_Size() int + func (m *QueryDataResponse) XXX_Unmarshal(b []byte) error + type ResourceClient interface + CallResource func(ctx context.Context, in *CallResourceRequest, opts ...grpc.CallOption) (Resource_CallResourceClient, error) + func NewResourceClient(cc grpc.ClientConnInterface) ResourceClient + type ResourceServer interface + CallResource func(*CallResourceRequest, Resource_CallResourceServer) error + type Resource_CallResourceClient interface + Recv func() (*CallResourceResponse, error) + type Resource_CallResourceServer interface + Send func(*CallResourceResponse) error + type StringList struct + Values []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StringList) Descriptor() ([]byte, []int) + func (*StringList) ProtoMessage() + func (m *StringList) GetValues() []string + func (m *StringList) Reset() + func (m *StringList) String() string + func (m *StringList) XXX_DiscardUnknown() + func (m *StringList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StringList) XXX_Merge(src proto.Message) + func (m *StringList) XXX_Size() int + func (m *StringList) XXX_Unmarshal(b []byte) error + type TimeRange struct + FromEpochMS int64 + ToEpochMS int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TimeRange) Descriptor() ([]byte, []int) + func (*TimeRange) ProtoMessage() + func (m *TimeRange) GetFromEpochMS() int64 + func (m *TimeRange) GetToEpochMS() int64 + func (m *TimeRange) Reset() + func (m *TimeRange) String() string + func (m *TimeRange) XXX_DiscardUnknown() + func (m *TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TimeRange) XXX_Merge(src proto.Message) + func (m *TimeRange) XXX_Size() int + func (m *TimeRange) XXX_Unmarshal(b []byte) error + type TransformClient interface + TransformData func(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error) + func NewTransformClient(cc grpc.ClientConnInterface) TransformClient + type TransformDataCallBackClient interface + QueryData func(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error) + func NewTransformDataCallBackClient(cc grpc.ClientConnInterface) TransformDataCallBackClient + type TransformDataCallBackServer interface + QueryData func(context.Context, *QueryDataRequest) (*QueryDataResponse, error) + type TransformServer interface + TransformData func(context.Context, *QueryDataRequest) (*QueryDataResponse, error) + type UnimplementedDataServer struct + func (*UnimplementedDataServer) QueryData(ctx context.Context, req *QueryDataRequest) (*QueryDataResponse, error) + type UnimplementedDiagnosticsServer struct + func (*UnimplementedDiagnosticsServer) CheckHealth(ctx context.Context, req *CheckHealthRequest) (*CheckHealthResponse, error) + func (*UnimplementedDiagnosticsServer) CollectMetrics(ctx context.Context, req *CollectMetricsRequest) (*CollectMetricsResponse, error) + type UnimplementedResourceServer struct + func (*UnimplementedResourceServer) CallResource(req *CallResourceRequest, srv Resource_CallResourceServer) error + type UnimplementedTransformDataCallBackServer struct + func (*UnimplementedTransformDataCallBackServer) QueryData(ctx context.Context, req *QueryDataRequest) (*QueryDataResponse, error) + type UnimplementedTransformServer struct + func (*UnimplementedTransformServer) TransformData(ctx context.Context, req *QueryDataRequest) (*QueryDataResponse, error) + type User struct + Email string + Login string + Name string + Role string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) GetEmail() string + func (m *User) GetLogin() string + func (m *User) GetName() string + func (m *User) GetRole() string + func (m *User) Reset() + func (m *User) String() string + func (m *User) XXX_DiscardUnknown() + func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *User) XXX_Merge(src proto.Message) + func (m *User) XXX_Size() int + func (m *User) XXX_Unmarshal(b []byte) error