Documentation ¶
Index ¶
- Variables
- func RegisterAlertGroupsServer(s grpc.ServiceRegistrar, srv AlertGroupsServer)
- type AlertGroup
- type AlertGroupsClient
- type AlertGroupsServer
- type MergeAlertGroupsRequest
- func (*MergeAlertGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MergeAlertGroupsRequest) GetDestinationGroup() *AlertGroup
- func (x *MergeAlertGroupsRequest) GetSourceGroups() []*AlertGroup
- func (*MergeAlertGroupsRequest) ProtoMessage()
- func (x *MergeAlertGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *MergeAlertGroupsRequest) Reset()
- func (x *MergeAlertGroupsRequest) String() string
- type UnimplementedAlertGroupsServer
- type UnsafeAlertGroupsServer
Constants ¶
This section is empty.
Variables ¶
var AlertGroups_ServiceDesc = grpc.ServiceDesc{ ServiceName: "alert_groups.AlertGroups", HandlerType: (*AlertGroupsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MergeAlertGroups", Handler: _AlertGroups_MergeAlertGroups_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "infra/chromeperf/alert_groups/alert_groups.proto", }
AlertGroups_ServiceDesc is the grpc.ServiceDesc for AlertGroups service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_infra_chromeperf_alert_groups_alert_groups_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAlertGroupsServer ¶
func RegisterAlertGroupsServer(s grpc.ServiceRegistrar, srv AlertGroupsServer)
Types ¶
type AlertGroup ¶
type AlertGroup struct { // AlertGroup id in Datastore. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AlertGroup) Descriptor
deprecated
func (*AlertGroup) Descriptor() ([]byte, []int)
Deprecated: Use AlertGroup.ProtoReflect.Descriptor instead.
func (*AlertGroup) GetName ¶
func (x *AlertGroup) GetName() string
func (*AlertGroup) ProtoMessage ¶
func (*AlertGroup) ProtoMessage()
func (*AlertGroup) ProtoReflect ¶
func (x *AlertGroup) ProtoReflect() protoreflect.Message
func (*AlertGroup) Reset ¶
func (x *AlertGroup) Reset()
func (*AlertGroup) String ¶
func (x *AlertGroup) String() string
type AlertGroupsClient ¶
type AlertGroupsClient interface { // NOTE: An upstream project depends on this API, please contact // webrtc-infra@google.com if making not backwards compatible changes. MergeAlertGroups(ctx context.Context, in *MergeAlertGroupsRequest, opts ...grpc.CallOption) (*AlertGroup, error) }
AlertGroupsClient is the client API for AlertGroups service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAlertGroupsClient ¶
func NewAlertGroupsClient(cc grpc.ClientConnInterface) AlertGroupsClient
type AlertGroupsServer ¶
type AlertGroupsServer interface { // NOTE: An upstream project depends on this API, please contact // webrtc-infra@google.com if making not backwards compatible changes. MergeAlertGroups(context.Context, *MergeAlertGroupsRequest) (*AlertGroup, error) // contains filtered or unexported methods }
AlertGroupsServer is the server API for AlertGroups service. All implementations must embed UnimplementedAlertGroupsServer for forward compatibility
type MergeAlertGroupsRequest ¶
type MergeAlertGroupsRequest struct { // List of groups that will be merged into the destination_group. // The source groups will be deleted after merge is complete. SourceGroups []*AlertGroup `protobuf:"bytes,1,rep,name=source_groups,json=sourceGroups,proto3" json:"source_groups,omitempty"` // Group that will contain all the anomalies from the source groups. DestinationGroup *AlertGroup `protobuf:"bytes,2,opt,name=destination_group,json=destinationGroup,proto3" json:"destination_group,omitempty"` // contains filtered or unexported fields }
func (*MergeAlertGroupsRequest) Descriptor
deprecated
func (*MergeAlertGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MergeAlertGroupsRequest.ProtoReflect.Descriptor instead.
func (*MergeAlertGroupsRequest) GetDestinationGroup ¶
func (x *MergeAlertGroupsRequest) GetDestinationGroup() *AlertGroup
func (*MergeAlertGroupsRequest) GetSourceGroups ¶
func (x *MergeAlertGroupsRequest) GetSourceGroups() []*AlertGroup
func (*MergeAlertGroupsRequest) ProtoMessage ¶
func (*MergeAlertGroupsRequest) ProtoMessage()
func (*MergeAlertGroupsRequest) ProtoReflect ¶
func (x *MergeAlertGroupsRequest) ProtoReflect() protoreflect.Message
func (*MergeAlertGroupsRequest) Reset ¶
func (x *MergeAlertGroupsRequest) Reset()
func (*MergeAlertGroupsRequest) String ¶
func (x *MergeAlertGroupsRequest) String() string
type UnimplementedAlertGroupsServer ¶
type UnimplementedAlertGroupsServer struct { }
UnimplementedAlertGroupsServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertGroupsServer) MergeAlertGroups ¶
func (UnimplementedAlertGroupsServer) MergeAlertGroups(context.Context, *MergeAlertGroupsRequest) (*AlertGroup, error)
type UnsafeAlertGroupsServer ¶
type UnsafeAlertGroupsServer interface {
// contains filtered or unexported methods
}
UnsafeAlertGroupsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertGroupsServer will result in compilation errors.