pb

package
v0.0.0-...-dd49aa6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetName

func (x *Metric) GetName() string

func (*Metric) GetTime

func (x *Metric) GetTime() *timestamp.Timestamp

func (*Metric) GetValue

func (x *Metric) GetValue() float64

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

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

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

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

Jump to

Keyboard shortcuts

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