v1

package
v0.0.0-...-5ddb564 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnomalyGroupService_CreateNewAnomalyGroup_FullMethodName = "/anomalygroup.v1.AnomalyGroupService/CreateNewAnomalyGroup"
	AnomalyGroupService_LoadAnomalyGroupByID_FullMethodName  = "/anomalygroup.v1.AnomalyGroupService/LoadAnomalyGroupByID"
	AnomalyGroupService_UpdateAnomalyGroup_FullMethodName    = "/anomalygroup.v1.AnomalyGroupService/UpdateAnomalyGroup"
	AnomalyGroupService_FindExistingGroups_FullMethodName    = "/anomalygroup.v1.AnomalyGroupService/FindExistingGroups"
	AnomalyGroupService_FindTopAnomalies_FullMethodName      = "/anomalygroup.v1.AnomalyGroupService/FindTopAnomalies"
)

Variables

View Source
var (
	GroupActionType_name = map[int32]string{
		0: "NOACTION",
		1: "REPORT",
		2: "BISECT",
	}
	GroupActionType_value = map[string]int32{
		"NOACTION": 0,
		"REPORT":   1,
		"BISECT":   2,
	}
)

Enum value maps for GroupActionType.

View Source
var AnomalyGroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "anomalygroup.v1.AnomalyGroupService",
	HandlerType: (*AnomalyGroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNewAnomalyGroup",
			Handler:    _AnomalyGroupService_CreateNewAnomalyGroup_Handler,
		},
		{
			MethodName: "LoadAnomalyGroupByID",
			Handler:    _AnomalyGroupService_LoadAnomalyGroupByID_Handler,
		},
		{
			MethodName: "UpdateAnomalyGroup",
			Handler:    _AnomalyGroupService_UpdateAnomalyGroup_Handler,
		},
		{
			MethodName: "FindExistingGroups",
			Handler:    _AnomalyGroupService_FindExistingGroups_Handler,
		},
		{
			MethodName: "FindTopAnomalies",
			Handler:    _AnomalyGroupService_FindTopAnomalies_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "anomalygroup_service.proto",
}

AnomalyGroupService_ServiceDesc is the grpc.ServiceDesc for AnomalyGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_anomalygroup_service_proto protoreflect.FileDescriptor

Functions

func RegisterAnomalyGroupServiceServer

func RegisterAnomalyGroupServiceServer(s grpc.ServiceRegistrar, srv AnomalyGroupServiceServer)

Types

type Anomaly

type Anomaly struct {

	// the start commit position of the detected anomaly
	StartCommit int64 `protobuf:"varint,1,opt,name=start_commit,json=startCommit,proto3" json:"start_commit,omitempty"`
	// the end commit position of the detected anomaly
	EndCommit int64 `protobuf:"varint,2,opt,name=end_commit,json=endCommit,proto3" json:"end_commit,omitempty"`
	// the paramset from the regression detected in Skia. The parameters
	// are used in Skia alerts to define which tests to apply the deteciton
	// rules.
	// In chromeperf's context, it should include the following keys:
	//   - bot:
	//     the name of the bot (a.k.a, 'builder' in waterfall, and
	//     'configuration' in pinpoint job page.)
	//   - benchmark:
	//     the name of the benchmark
	//   - story:
	//     the name of the story (a.k.a., test)
	//   - measurement:
	//     the metric to look at. (a.k.a., 'test' in skia query ui,
	//     and 'chart' in pinpoint job page)
	//   - stat:
	//     the aggregation method on the data points
	Paramset map[string]string `` /* 157-byte string literal not displayed */
	// indicate the direction towards which the change should be
	// considered as regression.
	// The possible values are: UP, DOWN or UNKNOWN
	ImprovementDirection string `protobuf:"bytes,4,opt,name=improvement_direction,json=improvementDirection,proto3" json:"improvement_direction,omitempty"`
	// contains filtered or unexported fields
}

Regression object in a format used for anomaly group actions, including filing a new bug and triggering a new bisection job.

func (*Anomaly) Descriptor deprecated

func (*Anomaly) Descriptor() ([]byte, []int)

Deprecated: Use Anomaly.ProtoReflect.Descriptor instead.

func (*Anomaly) GetEndCommit

func (x *Anomaly) GetEndCommit() int64

func (*Anomaly) GetImprovementDirection

func (x *Anomaly) GetImprovementDirection() string

func (*Anomaly) GetParamset

func (x *Anomaly) GetParamset() map[string]string

func (*Anomaly) GetStartCommit

func (x *Anomaly) GetStartCommit() int64

func (*Anomaly) ProtoMessage

func (*Anomaly) ProtoMessage()

func (*Anomaly) ProtoReflect

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

func (*Anomaly) Reset

func (x *Anomaly) Reset()

func (*Anomaly) String

func (x *Anomaly) String() string

type AnomalyGroup

type AnomalyGroup struct {

	// The ID of the anomaly group.
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The action to take for the anomaly group.
	GroupAction GroupActionType `` /* 132-byte string literal not displayed */
	// The anomalies added to this group.
	AnomalyIds []string `protobuf:"bytes,3,rep,name=anomaly_ids,json=anomalyIds,proto3" json:"anomaly_ids,omitempty"`
	// The culprits associated to this group.
	CulpritIds []string `protobuf:"bytes,4,rep,name=culprit_ids,json=culpritIds,proto3" json:"culprit_ids,omitempty"`
	// The reported issue associated to this group.
	ReportedIssueId int64 `protobuf:"varint,5,opt,name=reported_issue_id,json=reportedIssueId,proto3" json:"reported_issue_id,omitempty"`
	// The subscription name this anomaly group belongs to
	SubsciptionName string `protobuf:"bytes,6,opt,name=subsciption_name,json=subsciptionName,proto3" json:"subsciption_name,omitempty"`
	// The subscription revision this anomaly group belongs to
	SubscriptionRevision string `protobuf:"bytes,7,opt,name=subscription_revision,json=subscriptionRevision,proto3" json:"subscription_revision,omitempty"`
	// contains filtered or unexported fields
}

Simplified format for an anomaly group, which should be sufficient in the following use cases:

  1. provide a list of anomalies for filing a bug.
  2. provide the most significant anomaly to launch a bisection.
  3. for the new anomaly to be added in, and decide whether the new anomaly needs to be added to an existing bug.

func (*AnomalyGroup) Descriptor deprecated

func (*AnomalyGroup) Descriptor() ([]byte, []int)

Deprecated: Use AnomalyGroup.ProtoReflect.Descriptor instead.

func (*AnomalyGroup) GetAnomalyIds

func (x *AnomalyGroup) GetAnomalyIds() []string

func (*AnomalyGroup) GetCulpritIds

func (x *AnomalyGroup) GetCulpritIds() []string

func (*AnomalyGroup) GetGroupAction

func (x *AnomalyGroup) GetGroupAction() GroupActionType

func (*AnomalyGroup) GetGroupId

func (x *AnomalyGroup) GetGroupId() string

func (*AnomalyGroup) GetReportedIssueId

func (x *AnomalyGroup) GetReportedIssueId() int64

func (*AnomalyGroup) GetSubsciptionName

func (x *AnomalyGroup) GetSubsciptionName() string

func (*AnomalyGroup) GetSubscriptionRevision

func (x *AnomalyGroup) GetSubscriptionRevision() string

func (*AnomalyGroup) ProtoMessage

func (*AnomalyGroup) ProtoMessage()

func (*AnomalyGroup) ProtoReflect

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

func (*AnomalyGroup) Reset

func (x *AnomalyGroup) Reset()

func (*AnomalyGroup) String

func (x *AnomalyGroup) String() string

type AnomalyGroupServiceClient

type AnomalyGroupServiceClient interface {
	// Create a new anomaly group based on a set of criterias.
	// Avoid binding it to a specific regression.
	CreateNewAnomalyGroup(ctx context.Context, in *CreateNewAnomalyGroupRequest, opts ...grpc.CallOption) (*CreateNewAnomalyGroupResponse, error)
	// Read info for an anomaly group.
	LoadAnomalyGroupByID(ctx context.Context, in *LoadAnomalyGroupByIDRequest, opts ...grpc.CallOption) (*LoadAnomalyGroupByIDResponse, error)
	// Update a given anomaly group.
	UpdateAnomalyGroup(ctx context.Context, in *UpdateAnomalyGroupRequest, opts ...grpc.CallOption) (*UpdateAnomalyGroupResponse, error)
	// Find matching anomaly groups based on the criterias.
	// (e.g., from a newly found anomaly).
	FindExistingGroups(ctx context.Context, in *FindExistingGroupsRequest, opts ...grpc.CallOption) (*FindExistingGroupsResponse, error)
	FindTopAnomalies(ctx context.Context, in *FindTopAnomaliesRequest, opts ...grpc.CallOption) (*FindTopAnomaliesResponse, error)
}

AnomalyGroupServiceClient is the client API for AnomalyGroupService 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.

type AnomalyGroupServiceServer

type AnomalyGroupServiceServer interface {
	// Create a new anomaly group based on a set of criterias.
	// Avoid binding it to a specific regression.
	CreateNewAnomalyGroup(context.Context, *CreateNewAnomalyGroupRequest) (*CreateNewAnomalyGroupResponse, error)
	// Read info for an anomaly group.
	LoadAnomalyGroupByID(context.Context, *LoadAnomalyGroupByIDRequest) (*LoadAnomalyGroupByIDResponse, error)
	// Update a given anomaly group.
	UpdateAnomalyGroup(context.Context, *UpdateAnomalyGroupRequest) (*UpdateAnomalyGroupResponse, error)
	// Find matching anomaly groups based on the criterias.
	// (e.g., from a newly found anomaly).
	FindExistingGroups(context.Context, *FindExistingGroupsRequest) (*FindExistingGroupsResponse, error)
	FindTopAnomalies(context.Context, *FindTopAnomaliesRequest) (*FindTopAnomaliesResponse, error)
	// contains filtered or unexported methods
}

AnomalyGroupServiceServer is the server API for AnomalyGroupService service. All implementations must embed UnimplementedAnomalyGroupServiceServer for forward compatibility

type CreateNewAnomalyGroupRequest

type CreateNewAnomalyGroupRequest struct {

	// The name of the subscription in sheriff config
	SubscriptionName string `protobuf:"bytes,1,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	// The revision of the subscription
	SubscriptionRevision string `protobuf:"bytes,2,opt,name=subscription_revision,json=subscriptionRevision,proto3" json:"subscription_revision,omitempty"`
	// The domain of the test to group (The value of 'master' in alert config.)
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	// The benchmark of the test to group
	Benchmark string `protobuf:"bytes,4,opt,name=benchmark,proto3" json:"benchmark,omitempty"`
	// The current start commit position of the group
	StartCommit int64 `protobuf:"varint,5,opt,name=start_commit,json=startCommit,proto3" json:"start_commit,omitempty"`
	// The current end commit position of the group
	EndCommit int64 `protobuf:"varint,6,opt,name=end_commit,json=endCommit,proto3" json:"end_commit,omitempty"`
	// The action of the group to take.
	Action GroupActionType `protobuf:"varint,7,opt,name=action,proto3,enum=anomalygroup.v1.GroupActionType" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Request object for CreateNewAnomalyGroup

func (*CreateNewAnomalyGroupRequest) Descriptor deprecated

func (*CreateNewAnomalyGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNewAnomalyGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateNewAnomalyGroupRequest) GetAction

func (*CreateNewAnomalyGroupRequest) GetBenchmark

func (x *CreateNewAnomalyGroupRequest) GetBenchmark() string

func (*CreateNewAnomalyGroupRequest) GetDomain

func (x *CreateNewAnomalyGroupRequest) GetDomain() string

func (*CreateNewAnomalyGroupRequest) GetEndCommit

func (x *CreateNewAnomalyGroupRequest) GetEndCommit() int64

func (*CreateNewAnomalyGroupRequest) GetStartCommit

func (x *CreateNewAnomalyGroupRequest) GetStartCommit() int64

func (*CreateNewAnomalyGroupRequest) GetSubscriptionName

func (x *CreateNewAnomalyGroupRequest) GetSubscriptionName() string

func (*CreateNewAnomalyGroupRequest) GetSubscriptionRevision

func (x *CreateNewAnomalyGroupRequest) GetSubscriptionRevision() string

func (*CreateNewAnomalyGroupRequest) ProtoMessage

func (*CreateNewAnomalyGroupRequest) ProtoMessage()

func (*CreateNewAnomalyGroupRequest) ProtoReflect

func (*CreateNewAnomalyGroupRequest) Reset

func (x *CreateNewAnomalyGroupRequest) Reset()

func (*CreateNewAnomalyGroupRequest) String

type CreateNewAnomalyGroupResponse

type CreateNewAnomalyGroupResponse struct {

	// The newly created anomaly group ID.
	AnomalyGroupId string `protobuf:"bytes,1,opt,name=anomaly_group_id,json=anomalyGroupId,proto3" json:"anomaly_group_id,omitempty"`
	// contains filtered or unexported fields
}

Response object for CreateNewAnomalyGroup

func (*CreateNewAnomalyGroupResponse) Descriptor deprecated

func (*CreateNewAnomalyGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateNewAnomalyGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateNewAnomalyGroupResponse) GetAnomalyGroupId

func (x *CreateNewAnomalyGroupResponse) GetAnomalyGroupId() string

func (*CreateNewAnomalyGroupResponse) ProtoMessage

func (*CreateNewAnomalyGroupResponse) ProtoMessage()

func (*CreateNewAnomalyGroupResponse) ProtoReflect

func (*CreateNewAnomalyGroupResponse) Reset

func (x *CreateNewAnomalyGroupResponse) Reset()

func (*CreateNewAnomalyGroupResponse) String

type FindExistingGroupsRequest

type FindExistingGroupsRequest struct {

	// The subscription name from the alert config, from which the
	// anomaly is detected.
	SubscriptionName string `protobuf:"bytes,1,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	// The revision of the subscription
	SubscriptionRevision string `protobuf:"bytes,2,opt,name=subscription_revision,json=subscriptionRevision,proto3" json:"subscription_revision,omitempty"`
	// The action value from the alert config.
	Action GroupActionType `protobuf:"varint,3,opt,name=action,proto3,enum=anomalygroup.v1.GroupActionType" json:"action,omitempty"`
	// The previous commit position before the anomaly's data point.
	StartCommit int64 `protobuf:"varint,4,opt,name=start_commit,json=startCommit,proto3" json:"start_commit,omitempty"`
	// The commit position before the anomaly's data point.
	EndCommit int64 `protobuf:"varint,5,opt,name=end_commit,json=endCommit,proto3" json:"end_commit,omitempty"`
	// The test path from the anomaly.
	TestPath string `protobuf:"bytes,6,opt,name=test_path,json=testPath,proto3" json:"test_path,omitempty"`
	// contains filtered or unexported fields
}

Request object for FindExistingGroups

func (*FindExistingGroupsRequest) Descriptor deprecated

func (*FindExistingGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindExistingGroupsRequest.ProtoReflect.Descriptor instead.

func (*FindExistingGroupsRequest) GetAction

func (*FindExistingGroupsRequest) GetEndCommit

func (x *FindExistingGroupsRequest) GetEndCommit() int64

func (*FindExistingGroupsRequest) GetStartCommit

func (x *FindExistingGroupsRequest) GetStartCommit() int64

func (*FindExistingGroupsRequest) GetSubscriptionName

func (x *FindExistingGroupsRequest) GetSubscriptionName() string

func (*FindExistingGroupsRequest) GetSubscriptionRevision

func (x *FindExistingGroupsRequest) GetSubscriptionRevision() string

func (*FindExistingGroupsRequest) GetTestPath

func (x *FindExistingGroupsRequest) GetTestPath() string

func (*FindExistingGroupsRequest) ProtoMessage

func (*FindExistingGroupsRequest) ProtoMessage()

func (*FindExistingGroupsRequest) ProtoReflect

func (*FindExistingGroupsRequest) Reset

func (x *FindExistingGroupsRequest) Reset()

func (*FindExistingGroupsRequest) String

func (x *FindExistingGroupsRequest) String() string

type FindExistingGroupsResponse

type FindExistingGroupsResponse struct {

	// A list of anomaly groups which an anomaly can be added to.
	AnomalyGroups []*AnomalyGroup `protobuf:"bytes,1,rep,name=anomaly_groups,json=anomalyGroups,proto3" json:"anomaly_groups,omitempty"`
	// contains filtered or unexported fields
}

Response object for FindExistingGroups

func (*FindExistingGroupsResponse) Descriptor deprecated

func (*FindExistingGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use FindExistingGroupsResponse.ProtoReflect.Descriptor instead.

func (*FindExistingGroupsResponse) GetAnomalyGroups

func (x *FindExistingGroupsResponse) GetAnomalyGroups() []*AnomalyGroup

func (*FindExistingGroupsResponse) ProtoMessage

func (*FindExistingGroupsResponse) ProtoMessage()

func (*FindExistingGroupsResponse) ProtoReflect

func (*FindExistingGroupsResponse) Reset

func (x *FindExistingGroupsResponse) Reset()

func (*FindExistingGroupsResponse) String

func (x *FindExistingGroupsResponse) String() string

type FindTopAnomaliesRequest

type FindTopAnomaliesRequest struct {
	AnomalyGroupId string `protobuf:"bytes,1,opt,name=anomaly_group_id,json=anomalyGroupId,proto3" json:"anomaly_group_id,omitempty"`
	Limit          int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

Request object for FindTopAnomaliesRequest

func (*FindTopAnomaliesRequest) Descriptor deprecated

func (*FindTopAnomaliesRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindTopAnomaliesRequest.ProtoReflect.Descriptor instead.

func (*FindTopAnomaliesRequest) GetAnomalyGroupId

func (x *FindTopAnomaliesRequest) GetAnomalyGroupId() string

func (*FindTopAnomaliesRequest) GetLimit

func (x *FindTopAnomaliesRequest) GetLimit() int64

func (*FindTopAnomaliesRequest) ProtoMessage

func (*FindTopAnomaliesRequest) ProtoMessage()

func (*FindTopAnomaliesRequest) ProtoReflect

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

func (*FindTopAnomaliesRequest) Reset

func (x *FindTopAnomaliesRequest) Reset()

func (*FindTopAnomaliesRequest) String

func (x *FindTopAnomaliesRequest) String() string

type FindTopAnomaliesResponse

type FindTopAnomaliesResponse struct {
	Anomalies []*Anomaly `protobuf:"bytes,1,rep,name=anomalies,proto3" json:"anomalies,omitempty"`
	// contains filtered or unexported fields
}

// Response object for FindTopAnomaliesResponse

func (*FindTopAnomaliesResponse) Descriptor deprecated

func (*FindTopAnomaliesResponse) Descriptor() ([]byte, []int)

Deprecated: Use FindTopAnomaliesResponse.ProtoReflect.Descriptor instead.

func (*FindTopAnomaliesResponse) GetAnomalies

func (x *FindTopAnomaliesResponse) GetAnomalies() []*Anomaly

func (*FindTopAnomaliesResponse) ProtoMessage

func (*FindTopAnomaliesResponse) ProtoMessage()

func (*FindTopAnomaliesResponse) ProtoReflect

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

func (*FindTopAnomaliesResponse) Reset

func (x *FindTopAnomaliesResponse) Reset()

func (*FindTopAnomaliesResponse) String

func (x *FindTopAnomaliesResponse) String() string

type GroupActionType

type GroupActionType int32

The action to take on a certain group. It is defined in the Alert config.

const (
	// No action will be taken. It is used for backward compatibility
	// for the existing Alerts before grouping is introduced.
	GroupActionType_NOACTION GroupActionType = 0
	// File a bug with a list of anomalies.
	GroupActionType_REPORT GroupActionType = 1
	// Launch a bisection job on the most signification anomaly, in order to
	// find the culprit commit.
	GroupActionType_BISECT GroupActionType = 2
)

func (GroupActionType) Descriptor

func (GroupActionType) Enum

func (x GroupActionType) Enum() *GroupActionType

func (GroupActionType) EnumDescriptor deprecated

func (GroupActionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GroupActionType.Descriptor instead.

func (GroupActionType) Number

func (GroupActionType) String

func (x GroupActionType) String() string

func (GroupActionType) Type

type LoadAnomalyGroupByIDRequest

type LoadAnomalyGroupByIDRequest struct {

	// The ID of the anomaly group to read from
	AnomalyGroupId string `protobuf:"bytes,1,opt,name=anomaly_group_id,json=anomalyGroupId,proto3" json:"anomaly_group_id,omitempty"`
	// contains filtered or unexported fields
}

Request object for LoadAnomalyGroupByID

func (*LoadAnomalyGroupByIDRequest) Descriptor deprecated

func (*LoadAnomalyGroupByIDRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadAnomalyGroupByIDRequest.ProtoReflect.Descriptor instead.

func (*LoadAnomalyGroupByIDRequest) GetAnomalyGroupId

func (x *LoadAnomalyGroupByIDRequest) GetAnomalyGroupId() string

func (*LoadAnomalyGroupByIDRequest) ProtoMessage

func (*LoadAnomalyGroupByIDRequest) ProtoMessage()

func (*LoadAnomalyGroupByIDRequest) ProtoReflect

func (*LoadAnomalyGroupByIDRequest) Reset

func (x *LoadAnomalyGroupByIDRequest) Reset()

func (*LoadAnomalyGroupByIDRequest) String

func (x *LoadAnomalyGroupByIDRequest) String() string

type LoadAnomalyGroupByIDResponse

type LoadAnomalyGroupByIDResponse struct {

	// The anomaly group object
	AnomalyGroup *AnomalyGroup `protobuf:"bytes,1,opt,name=anomaly_group,json=anomalyGroup,proto3" json:"anomaly_group,omitempty"`
	// contains filtered or unexported fields
}

Response object for LoadAnomalyGroupByID

func (*LoadAnomalyGroupByIDResponse) Descriptor deprecated

func (*LoadAnomalyGroupByIDResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoadAnomalyGroupByIDResponse.ProtoReflect.Descriptor instead.

func (*LoadAnomalyGroupByIDResponse) GetAnomalyGroup

func (x *LoadAnomalyGroupByIDResponse) GetAnomalyGroup() *AnomalyGroup

func (*LoadAnomalyGroupByIDResponse) ProtoMessage

func (*LoadAnomalyGroupByIDResponse) ProtoMessage()

func (*LoadAnomalyGroupByIDResponse) ProtoReflect

func (*LoadAnomalyGroupByIDResponse) Reset

func (x *LoadAnomalyGroupByIDResponse) Reset()

func (*LoadAnomalyGroupByIDResponse) String

type UnimplementedAnomalyGroupServiceServer

type UnimplementedAnomalyGroupServiceServer struct {
}

UnimplementedAnomalyGroupServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAnomalyGroupServiceServer) FindExistingGroups

func (UnimplementedAnomalyGroupServiceServer) FindTopAnomalies

func (UnimplementedAnomalyGroupServiceServer) LoadAnomalyGroupByID

func (UnimplementedAnomalyGroupServiceServer) UpdateAnomalyGroup

type UnsafeAnomalyGroupServiceServer

type UnsafeAnomalyGroupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAnomalyGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnomalyGroupServiceServer will result in compilation errors.

type UpdateAnomalyGroupRequest

type UpdateAnomalyGroupRequest struct {

	// The ID of the anomaly group to update
	AnomalyGroupId string `protobuf:"bytes,1,opt,name=anomaly_group_id,json=anomalyGroupId,proto3" json:"anomaly_group_id,omitempty"`
	// The anomaly ID to append to the anomaly list.
	AnomalyId string `protobuf:"bytes,2,opt,name=anomaly_id,json=anomalyId,proto3" json:"anomaly_id,omitempty"`
	// The biesction ID to add to the anomaly group.
	// This should be populated only when the action value is BISECT.
	BisectionId string `protobuf:"bytes,3,opt,name=bisection_id,json=bisectionId,proto3" json:"bisection_id,omitempty"`
	// The issue ID to add to the anomaly group.
	// This should be populated only when the action value is REPORT.
	IssueId string `protobuf:"bytes,4,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
	// The culprit IDs correlated to the group.
	// Culprits are found by a bisection job. This should be populated
	// only when the action value is BISECT and the bisection_id exists.
	CulpritIds []string `protobuf:"bytes,5,rep,name=culprit_ids,json=culpritIds,proto3" json:"culprit_ids,omitempty"`
	// contains filtered or unexported fields
}

Request object for UpdateAnomalyGroup

func (*UpdateAnomalyGroupRequest) Descriptor deprecated

func (*UpdateAnomalyGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAnomalyGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnomalyGroupRequest) GetAnomalyGroupId

func (x *UpdateAnomalyGroupRequest) GetAnomalyGroupId() string

func (*UpdateAnomalyGroupRequest) GetAnomalyId

func (x *UpdateAnomalyGroupRequest) GetAnomalyId() string

func (*UpdateAnomalyGroupRequest) GetBisectionId

func (x *UpdateAnomalyGroupRequest) GetBisectionId() string

func (*UpdateAnomalyGroupRequest) GetCulpritIds

func (x *UpdateAnomalyGroupRequest) GetCulpritIds() []string

func (*UpdateAnomalyGroupRequest) GetIssueId

func (x *UpdateAnomalyGroupRequest) GetIssueId() string

func (*UpdateAnomalyGroupRequest) ProtoMessage

func (*UpdateAnomalyGroupRequest) ProtoMessage()

func (*UpdateAnomalyGroupRequest) ProtoReflect

func (*UpdateAnomalyGroupRequest) Reset

func (x *UpdateAnomalyGroupRequest) Reset()

func (*UpdateAnomalyGroupRequest) String

func (x *UpdateAnomalyGroupRequest) String() string

type UpdateAnomalyGroupResponse

type UpdateAnomalyGroupResponse struct {
	// contains filtered or unexported fields
}

Response object for UpdateAnomalyGroup

func (*UpdateAnomalyGroupResponse) Descriptor deprecated

func (*UpdateAnomalyGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAnomalyGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateAnomalyGroupResponse) ProtoMessage

func (*UpdateAnomalyGroupResponse) ProtoMessage()

func (*UpdateAnomalyGroupResponse) ProtoReflect

func (*UpdateAnomalyGroupResponse) Reset

func (x *UpdateAnomalyGroupResponse) Reset()

func (*UpdateAnomalyGroupResponse) String

func (x *UpdateAnomalyGroupResponse) String() string

Directories

Path Synopsis
Code generated by mockery v0.0.0-dev.
Code generated by mockery v0.0.0-dev.

Jump to

Keyboard shortcuts

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