Documentation ¶
Index ¶
- Variables
- func RegisterAPMPluginServiceServer(s *grpc.Server, srv APMPluginServiceServer)
- type APMPluginServiceClient
- type APMPluginServiceServer
- type QueryMultipleRequest
- func (*QueryMultipleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMultipleRequest) GetQuery() string
- func (x *QueryMultipleRequest) GetTimeRange() *v1.TimeRange
- func (*QueryMultipleRequest) ProtoMessage()
- func (x *QueryMultipleRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMultipleRequest) Reset()
- func (x *QueryMultipleRequest) String() string
- type QueryMultipleResponse
- func (*QueryMultipleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMultipleResponse) GetTimestampedMetric() []*QueryResponse
- func (*QueryMultipleResponse) ProtoMessage()
- func (x *QueryMultipleResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMultipleResponse) Reset()
- func (x *QueryMultipleResponse) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetQuery() string
- func (x *QueryRequest) GetTimeRange() *v1.TimeRange
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetTimestampedMetric() []*v1.TimestampedMetric
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type UnimplementedAPMPluginServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_plugins_apm_proto_v1_apm_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPMPluginServiceServer ¶
func RegisterAPMPluginServiceServer(s *grpc.Server, srv APMPluginServiceServer)
Types ¶
type APMPluginServiceClient ¶
type APMPluginServiceClient interface { Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) QueryMultiple(ctx context.Context, in *QueryMultipleRequest, opts ...grpc.CallOption) (*QueryMultipleResponse, error) }
APMPluginServiceClient is the client API for APMPluginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPMPluginServiceClient ¶
func NewAPMPluginServiceClient(cc grpc.ClientConnInterface) APMPluginServiceClient
type APMPluginServiceServer ¶
type APMPluginServiceServer interface { Query(context.Context, *QueryRequest) (*QueryResponse, error) QueryMultiple(context.Context, *QueryMultipleRequest) (*QueryMultipleResponse, error) }
APMPluginServiceServer is the server API for APMPluginService service.
type QueryMultipleRequest ¶
type QueryMultipleRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` TimeRange *v1.TimeRange `protobuf:"bytes,2,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` // contains filtered or unexported fields }
func (*QueryMultipleRequest) Descriptor
deprecated
func (*QueryMultipleRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMultipleRequest.ProtoReflect.Descriptor instead.
func (*QueryMultipleRequest) GetQuery ¶
func (x *QueryMultipleRequest) GetQuery() string
func (*QueryMultipleRequest) GetTimeRange ¶
func (x *QueryMultipleRequest) GetTimeRange() *v1.TimeRange
func (*QueryMultipleRequest) ProtoMessage ¶
func (*QueryMultipleRequest) ProtoMessage()
func (*QueryMultipleRequest) ProtoReflect ¶
func (x *QueryMultipleRequest) ProtoReflect() protoreflect.Message
func (*QueryMultipleRequest) Reset ¶
func (x *QueryMultipleRequest) Reset()
func (*QueryMultipleRequest) String ¶
func (x *QueryMultipleRequest) String() string
type QueryMultipleResponse ¶
type QueryMultipleResponse struct { TimestampedMetric []*QueryResponse `protobuf:"bytes,1,rep,name=timestamped_metric,json=timestampedMetric,proto3" json:"timestamped_metric,omitempty"` // contains filtered or unexported fields }
func (*QueryMultipleResponse) Descriptor
deprecated
func (*QueryMultipleResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMultipleResponse.ProtoReflect.Descriptor instead.
func (*QueryMultipleResponse) GetTimestampedMetric ¶
func (x *QueryMultipleResponse) GetTimestampedMetric() []*QueryResponse
func (*QueryMultipleResponse) ProtoMessage ¶
func (*QueryMultipleResponse) ProtoMessage()
func (*QueryMultipleResponse) ProtoReflect ¶
func (x *QueryMultipleResponse) ProtoReflect() protoreflect.Message
func (*QueryMultipleResponse) Reset ¶
func (x *QueryMultipleResponse) Reset()
func (*QueryMultipleResponse) String ¶
func (x *QueryMultipleResponse) String() string
type QueryRequest ¶
type QueryRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` TimeRange *v1.TimeRange `protobuf:"bytes,2,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetQuery ¶
func (x *QueryRequest) GetQuery() string
func (*QueryRequest) GetTimeRange ¶
func (x *QueryRequest) GetTimeRange() *v1.TimeRange
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct { TimestampedMetric []*v1.TimestampedMetric `protobuf:"bytes,1,rep,name=timestamped_metric,json=timestampedMetric,proto3" json:"timestamped_metric,omitempty"` // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetTimestampedMetric ¶
func (x *QueryResponse) GetTimestampedMetric() []*v1.TimestampedMetric
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type UnimplementedAPMPluginServiceServer ¶
type UnimplementedAPMPluginServiceServer struct { }
UnimplementedAPMPluginServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPMPluginServiceServer) Query ¶
func (*UnimplementedAPMPluginServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (*UnimplementedAPMPluginServiceServer) QueryMultiple ¶
func (*UnimplementedAPMPluginServiceServer) QueryMultiple(context.Context, *QueryMultipleRequest) (*QueryMultipleResponse, error)
Click to show internal directories.
Click to hide internal directories.