Documentation ¶
Index ¶
- Variables
- func RegisterOutliersServer(s *grpc.Server, srv OutliersServer)
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetName() string
- func (x *Metric) GetTime() *timestamp.Timestamp
- func (x *Metric) GetValue() float64
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type OutliersClient
- type OutliersRequest
- type OutliersResponse
- type OutliersServer
- type UnimplementedOutliersServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_outliers_proto protoreflect.FileDescriptor
Functions ¶
func RegisterOutliersServer ¶
func RegisterOutliersServer(s *grpc.Server, srv OutliersServer)
Types ¶
type Metric ¶
type Metric struct { Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type OutliersClient ¶
type OutliersClient interface {
Detect(ctx context.Context, in *OutliersRequest, opts ...grpc.CallOption) (*OutliersResponse, error)
}
OutliersClient is the client API for Outliers service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOutliersClient ¶
func NewOutliersClient(cc grpc.ClientConnInterface) OutliersClient
type OutliersRequest ¶
type OutliersRequest struct { Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*OutliersRequest) Descriptor
deprecated
func (*OutliersRequest) Descriptor() ([]byte, []int)
Deprecated: Use OutliersRequest.ProtoReflect.Descriptor instead.
func (*OutliersRequest) GetMetrics ¶
func (x *OutliersRequest) GetMetrics() []*Metric
func (*OutliersRequest) ProtoMessage ¶
func (*OutliersRequest) ProtoMessage()
func (*OutliersRequest) ProtoReflect ¶
func (x *OutliersRequest) ProtoReflect() protoreflect.Message
func (*OutliersRequest) Reset ¶
func (x *OutliersRequest) Reset()
func (*OutliersRequest) String ¶
func (x *OutliersRequest) String() string
type OutliersResponse ¶
type OutliersResponse struct { Indices []int32 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` // contains filtered or unexported fields }
func (*OutliersResponse) Descriptor
deprecated
func (*OutliersResponse) Descriptor() ([]byte, []int)
Deprecated: Use OutliersResponse.ProtoReflect.Descriptor instead.
func (*OutliersResponse) GetIndices ¶
func (x *OutliersResponse) GetIndices() []int32
func (*OutliersResponse) ProtoMessage ¶
func (*OutliersResponse) ProtoMessage()
func (*OutliersResponse) ProtoReflect ¶
func (x *OutliersResponse) ProtoReflect() protoreflect.Message
func (*OutliersResponse) Reset ¶
func (x *OutliersResponse) Reset()
func (*OutliersResponse) String ¶
func (x *OutliersResponse) String() string
type OutliersServer ¶
type OutliersServer interface {
Detect(context.Context, *OutliersRequest) (*OutliersResponse, error)
}
OutliersServer is the server API for Outliers service.
type UnimplementedOutliersServer ¶
type UnimplementedOutliersServer struct { }
UnimplementedOutliersServer can be embedded to have forward compatible implementations.
func (*UnimplementedOutliersServer) Detect ¶
func (*UnimplementedOutliersServer) Detect(context.Context, *OutliersRequest) (*OutliersResponse, error)
Click to show internal directories.
Click to hide internal directories.