pinpointpb

package
v0.0.0-...-f62cd0e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Package pinpointpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Pinpoint_ScheduleBisection_FullMethodName     = "/pinpoint.v1.Pinpoint/ScheduleBisection"
	Pinpoint_CancelJob_FullMethodName             = "/pinpoint.v1.Pinpoint/CancelJob"
	Pinpoint_QueryBisection_FullMethodName        = "/pinpoint.v1.Pinpoint/QueryBisection"
	Pinpoint_LegacyJobQuery_FullMethodName        = "/pinpoint.v1.Pinpoint/LegacyJobQuery"
	Pinpoint_SchedulePairwise_FullMethodName      = "/pinpoint.v1.Pinpoint/SchedulePairwise"
	Pinpoint_ScheduleCulpritFinder_FullMethodName = "/pinpoint.v1.Pinpoint/ScheduleCulpritFinder"
)

Variables

View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var Pinpoint_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pinpoint.v1.Pinpoint",
	HandlerType: (*PinpointServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ScheduleBisection",
			Handler:    _Pinpoint_ScheduleBisection_Handler,
		},
		{
			MethodName: "CancelJob",
			Handler:    _Pinpoint_CancelJob_Handler,
		},
		{
			MethodName: "QueryBisection",
			Handler:    _Pinpoint_QueryBisection_Handler,
		},
		{
			MethodName: "LegacyJobQuery",
			Handler:    _Pinpoint_LegacyJobQuery_Handler,
		},
		{
			MethodName: "SchedulePairwise",
			Handler:    _Pinpoint_SchedulePairwise_Handler,
		},
		{
			MethodName: "ScheduleCulpritFinder",
			Handler:    _Pinpoint_ScheduleCulpritFinder_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

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

Functions

func RegisterPinpointHandler

func RegisterPinpointHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPinpointHandler registers the http handlers for service Pinpoint to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPinpointHandlerClient

func RegisterPinpointHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PinpointClient) error

RegisterPinpointHandlerClient registers the http handlers for service Pinpoint to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PinpointClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PinpointClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PinpointClient" to call the correct interceptors.

func RegisterPinpointHandlerFromEndpoint

func RegisterPinpointHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPinpointHandlerFromEndpoint is same as RegisterPinpointHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPinpointHandlerServer

func RegisterPinpointHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PinpointServer) error

RegisterPinpointHandlerServer registers the http handlers for service Pinpoint to "mux". UnaryRPC :call PinpointServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPinpointHandlerFromEndpoint instead.

func RegisterPinpointServer

func RegisterPinpointServer(s grpc.ServiceRegistrar, srv PinpointServer)

Types

type BisectExecution

type BisectExecution struct {
	JobId    string            `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Culprits []*CombinedCommit `protobuf:"bytes,2,rep,name=culprits,proto3" json:"culprits,omitempty"`
	// contains filtered or unexported fields
}

func (*BisectExecution) Descriptor deprecated

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

Deprecated: Use BisectExecution.ProtoReflect.Descriptor instead.

func (*BisectExecution) GetCulprits

func (x *BisectExecution) GetCulprits() []*CombinedCommit

func (*BisectExecution) GetJobId

func (x *BisectExecution) GetJobId() string

func (*BisectExecution) ProtoMessage

func (*BisectExecution) ProtoMessage()

func (*BisectExecution) ProtoReflect

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

func (*BisectExecution) Reset

func (x *BisectExecution) Reset()

func (*BisectExecution) String

func (x *BisectExecution) String() string

type CancelJobRequest

type CancelJobRequest struct {
	JobId  string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelJobRequest) Descriptor deprecated

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

Deprecated: Use CancelJobRequest.ProtoReflect.Descriptor instead.

func (*CancelJobRequest) GetJobId

func (x *CancelJobRequest) GetJobId() string

func (*CancelJobRequest) GetReason

func (x *CancelJobRequest) GetReason() string

func (*CancelJobRequest) ProtoMessage

func (*CancelJobRequest) ProtoMessage()

func (*CancelJobRequest) ProtoReflect

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

func (*CancelJobRequest) Reset

func (x *CancelJobRequest) Reset()

func (*CancelJobRequest) String

func (x *CancelJobRequest) String() string

type CancelJobResponse

type CancelJobResponse struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelJobResponse) Descriptor deprecated

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

Deprecated: Use CancelJobResponse.ProtoReflect.Descriptor instead.

func (*CancelJobResponse) GetJobId

func (x *CancelJobResponse) GetJobId() string

func (*CancelJobResponse) GetState

func (x *CancelJobResponse) GetState() string

func (*CancelJobResponse) ProtoMessage

func (*CancelJobResponse) ProtoMessage()

func (*CancelJobResponse) ProtoReflect

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

func (*CancelJobResponse) Reset

func (x *CancelJobResponse) Reset()

func (*CancelJobResponse) String

func (x *CancelJobResponse) String() string

type CombinedCommit

type CombinedCommit struct {
	Main         *Commit   `protobuf:"bytes,1,opt,name=main,proto3" json:"main,omitempty"`
	ModifiedDeps []*Commit `protobuf:"bytes,2,rep,name=modified_deps,json=modifiedDeps,proto3" json:"modified_deps,omitempty"`
	// contains filtered or unexported fields
}

func (*CombinedCommit) Descriptor deprecated

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

Deprecated: Use CombinedCommit.ProtoReflect.Descriptor instead.

func (*CombinedCommit) GetMain

func (x *CombinedCommit) GetMain() *Commit

func (*CombinedCommit) GetModifiedDeps

func (x *CombinedCommit) GetModifiedDeps() []*Commit

func (*CombinedCommit) ProtoMessage

func (*CombinedCommit) ProtoMessage()

func (*CombinedCommit) ProtoReflect

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

func (*CombinedCommit) Reset

func (x *CombinedCommit) Reset()

func (*CombinedCommit) String

func (x *CombinedCommit) String() string

type Commit

type Commit struct {
	GitHash        string                 `protobuf:"bytes,1,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"`
	Repository     string                 `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Url            string                 `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Author         string                 `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	Created        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	Subject        string                 `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
	Message        string                 `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	CommitBranch   string                 `protobuf:"bytes,8,opt,name=commit_branch,json=commitBranch,proto3" json:"commit_branch,omitempty"`
	CommitPosition int32                  `protobuf:"varint,9,opt,name=commit_position,json=commitPosition,proto3" json:"commit_position,omitempty"`
	ReviewUrl      string                 `protobuf:"bytes,10,opt,name=review_url,json=reviewUrl,proto3" json:"review_url,omitempty"`
	ChangeId       string                 `protobuf:"bytes,11,opt,name=change_id,json=changeId,proto3" json:"change_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAuthor

func (x *Commit) GetAuthor() string

func (*Commit) GetChangeId

func (x *Commit) GetChangeId() string

func (*Commit) GetCommitBranch

func (x *Commit) GetCommitBranch() string

func (*Commit) GetCommitPosition

func (x *Commit) GetCommitPosition() int32

func (*Commit) GetCreated

func (x *Commit) GetCreated() *timestamppb.Timestamp

func (*Commit) GetGitHash

func (x *Commit) GetGitHash() string

func (*Commit) GetMessage

func (x *Commit) GetMessage() string

func (*Commit) GetRepository

func (x *Commit) GetRepository() string

func (*Commit) GetReviewUrl

func (x *Commit) GetReviewUrl() string

func (*Commit) GetSubject

func (x *Commit) GetSubject() string

func (*Commit) GetUrl

func (x *Commit) GetUrl() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type CulpritFinderExecution

type CulpritFinderExecution struct {

	// If true, regression_verified means there is a regression
	RegressionVerified bool              `protobuf:"varint,1,opt,name=regression_verified,json=regressionVerified,proto3" json:"regression_verified,omitempty"`
	Culprits           []*CombinedCommit `protobuf:"bytes,2,rep,name=culprits,proto3" json:"culprits,omitempty"`
	// contains filtered or unexported fields
}

func (*CulpritFinderExecution) Descriptor deprecated

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

Deprecated: Use CulpritFinderExecution.ProtoReflect.Descriptor instead.

func (*CulpritFinderExecution) GetCulprits

func (x *CulpritFinderExecution) GetCulprits() []*CombinedCommit

func (*CulpritFinderExecution) GetRegressionVerified

func (x *CulpritFinderExecution) GetRegressionVerified() bool

func (*CulpritFinderExecution) ProtoMessage

func (*CulpritFinderExecution) ProtoMessage()

func (*CulpritFinderExecution) ProtoReflect

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

func (*CulpritFinderExecution) Reset

func (x *CulpritFinderExecution) Reset()

func (*CulpritFinderExecution) String

func (x *CulpritFinderExecution) String() string

type LegacyJobRequest

type LegacyJobRequest struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

See LegacyJobResponse below

func (*LegacyJobRequest) Descriptor deprecated

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

Deprecated: Use LegacyJobRequest.ProtoReflect.Descriptor instead.

func (*LegacyJobRequest) GetJobId

func (x *LegacyJobRequest) GetJobId() string

func (*LegacyJobRequest) ProtoMessage

func (*LegacyJobRequest) ProtoMessage()

func (*LegacyJobRequest) ProtoReflect

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

func (*LegacyJobRequest) Reset

func (x *LegacyJobRequest) Reset()

func (*LegacyJobRequest) String

func (x *LegacyJobRequest) String() string

type LegacyJobResponse

type LegacyJobResponse struct {
	JobId                string                      `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Configuration        string                      `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"`
	ResultsUrl           string                      `protobuf:"bytes,3,opt,name=results_url,json=resultsUrl,proto3" json:"results_url,omitempty"`
	ImprovementDirection int32                       `protobuf:"varint,4,opt,name=improvement_direction,json=improvementDirection,proto3" json:"improvement_direction,omitempty"`
	Arguments            *LegacyJobResponse_Argument `protobuf:"bytes,5,opt,name=arguments,proto3" json:"arguments,omitempty"`
	BugId                string                      `protobuf:"bytes,6,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	Project              string                      `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	ComparisonMode       string                      `protobuf:"bytes,8,opt,name=comparison_mode,json=comparisonMode,proto3" json:"comparison_mode,omitempty"`
	Name                 string                      `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	User                 string                      `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
	Created              *timestamppb.Timestamp      `protobuf:"bytes,11,opt,name=created,proto3" json:"created,omitempty"`
	Updated              *timestamppb.Timestamp      `protobuf:"bytes,12,opt,name=updated,proto3" json:"updated,omitempty"`
	StartedTime          *timestamppb.Timestamp      `protobuf:"bytes,13,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"`
	DifferenceCount      int32                       `protobuf:"varint,14,opt,name=difference_count,json=differenceCount,proto3" json:"difference_count,omitempty"`
	Exception            string                      `protobuf:"bytes,15,opt,name=exception,proto3" json:"exception,omitempty"`
	Status               string                      `protobuf:"bytes,16,opt,name=status,proto3" json:"status,omitempty"`
	CancelReason         string                      `protobuf:"bytes,17,opt,name=cancel_reason,json=cancelReason,proto3" json:"cancel_reason,omitempty"`
	BatchId              string                      `protobuf:"bytes,18,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	Bots                 []string                    `protobuf:"bytes,19,rep,name=bots,proto3" json:"bots,omitempty"`
	Metric               string                      `protobuf:"bytes,20,opt,name=metric,proto3" json:"metric,omitempty"`
	Quests               []string                    `protobuf:"bytes,21,rep,name=quests,proto3" json:"quests,omitempty"`
	State                []*LegacyJobResponse_State  `protobuf:"bytes,22,rep,name=state,proto3" json:"state,omitempty"`
	SkiaWorkflowUrl      string                      `protobuf:"bytes,23,opt,name=skia_workflow_url,json=skiaWorkflowUrl,proto3" json:"skia_workflow_url,omitempty"`
	// contains filtered or unexported fields
}

This is a direct mapping from /api/job in catapult.

This is backward compatible support before the service in catapult is completely shut down. Note that there is not schema definition so the output structure is more or less a guess from the response. Example output: https://pinpoint-dot-chromeperf.appspot.com/api/job/102beaa5ee0000?o=STATE&?o=ESTIMATE

func (*LegacyJobResponse) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse) GetArguments

func (x *LegacyJobResponse) GetArguments() *LegacyJobResponse_Argument

func (*LegacyJobResponse) GetBatchId

func (x *LegacyJobResponse) GetBatchId() string

func (*LegacyJobResponse) GetBots

func (x *LegacyJobResponse) GetBots() []string

func (*LegacyJobResponse) GetBugId

func (x *LegacyJobResponse) GetBugId() string

func (*LegacyJobResponse) GetCancelReason

func (x *LegacyJobResponse) GetCancelReason() string

func (*LegacyJobResponse) GetComparisonMode

func (x *LegacyJobResponse) GetComparisonMode() string

func (*LegacyJobResponse) GetConfiguration

func (x *LegacyJobResponse) GetConfiguration() string

func (*LegacyJobResponse) GetCreated

func (x *LegacyJobResponse) GetCreated() *timestamppb.Timestamp

func (*LegacyJobResponse) GetDifferenceCount

func (x *LegacyJobResponse) GetDifferenceCount() int32

func (*LegacyJobResponse) GetException

func (x *LegacyJobResponse) GetException() string

func (*LegacyJobResponse) GetImprovementDirection

func (x *LegacyJobResponse) GetImprovementDirection() int32

func (*LegacyJobResponse) GetJobId

func (x *LegacyJobResponse) GetJobId() string

func (*LegacyJobResponse) GetMetric

func (x *LegacyJobResponse) GetMetric() string

func (*LegacyJobResponse) GetName

func (x *LegacyJobResponse) GetName() string

func (*LegacyJobResponse) GetProject

func (x *LegacyJobResponse) GetProject() string

func (*LegacyJobResponse) GetQuests

func (x *LegacyJobResponse) GetQuests() []string

func (*LegacyJobResponse) GetResultsUrl

func (x *LegacyJobResponse) GetResultsUrl() string

func (*LegacyJobResponse) GetSkiaWorkflowUrl

func (x *LegacyJobResponse) GetSkiaWorkflowUrl() string

func (*LegacyJobResponse) GetStartedTime

func (x *LegacyJobResponse) GetStartedTime() *timestamppb.Timestamp

func (*LegacyJobResponse) GetState

func (x *LegacyJobResponse) GetState() []*LegacyJobResponse_State

func (*LegacyJobResponse) GetStatus

func (x *LegacyJobResponse) GetStatus() string

func (*LegacyJobResponse) GetUpdated

func (x *LegacyJobResponse) GetUpdated() *timestamppb.Timestamp

func (*LegacyJobResponse) GetUser

func (x *LegacyJobResponse) GetUser() string

func (*LegacyJobResponse) ProtoMessage

func (*LegacyJobResponse) ProtoMessage()

func (*LegacyJobResponse) ProtoReflect

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

func (*LegacyJobResponse) Reset

func (x *LegacyJobResponse) Reset()

func (*LegacyJobResponse) String

func (x *LegacyJobResponse) String() string

type LegacyJobResponse_Argument

type LegacyJobResponse_Argument struct {
	ComparisonMode      string            `protobuf:"bytes,1,opt,name=comparison_mode,json=comparisonMode,proto3" json:"comparison_mode,omitempty"`
	Target              string            `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	StartGitHash        string            `protobuf:"bytes,3,opt,name=start_git_hash,json=startGitHash,proto3" json:"start_git_hash,omitempty"`
	EndGitHash          string            `protobuf:"bytes,4,opt,name=end_git_hash,json=endGitHash,proto3" json:"end_git_hash,omitempty"`
	Trace               string            `protobuf:"bytes,5,opt,name=trace,proto3" json:"trace,omitempty"`
	Tags                map[string]string `` /* 149-byte string literal not displayed */
	InitialAttemptCount int32             `protobuf:"varint,7,opt,name=initial_attempt_count,json=initialAttemptCount,proto3" json:"initial_attempt_count,omitempty"`
	Configuration       string            `protobuf:"bytes,8,opt,name=configuration,proto3" json:"configuration,omitempty"`
	Benchmark           string            `protobuf:"bytes,9,opt,name=benchmark,proto3" json:"benchmark,omitempty"`
	Story               string            `protobuf:"bytes,10,opt,name=story,proto3" json:"story,omitempty"`
	StoryTags           string            `protobuf:"bytes,11,opt,name=story_tags,json=storyTags,proto3" json:"story_tags,omitempty"`
	Chart               string            `protobuf:"bytes,12,opt,name=chart,proto3" json:"chart,omitempty"`
	Statistic           string            `protobuf:"bytes,13,opt,name=statistic,proto3" json:"statistic,omitempty"`
	ComparisonMagnitude float64           `protobuf:"fixed64,14,opt,name=comparison_magnitude,json=comparisonMagnitude,proto3" json:"comparison_magnitude,omitempty"`
	ExtraTestArgs       string            `protobuf:"bytes,15,opt,name=extra_test_args,json=extraTestArgs,proto3" json:"extra_test_args,omitempty"`
	Pin                 string            `protobuf:"bytes,16,opt,name=pin,proto3" json:"pin,omitempty"`
	Project             string            `protobuf:"bytes,17,opt,name=project,proto3" json:"project,omitempty"`
	BugId               string            `protobuf:"bytes,18,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	BatchId             string            `protobuf:"bytes,19,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_Argument) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_Argument.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_Argument) GetBatchId

func (x *LegacyJobResponse_Argument) GetBatchId() string

func (*LegacyJobResponse_Argument) GetBenchmark

func (x *LegacyJobResponse_Argument) GetBenchmark() string

func (*LegacyJobResponse_Argument) GetBugId

func (x *LegacyJobResponse_Argument) GetBugId() string

func (*LegacyJobResponse_Argument) GetChart

func (x *LegacyJobResponse_Argument) GetChart() string

func (*LegacyJobResponse_Argument) GetComparisonMagnitude

func (x *LegacyJobResponse_Argument) GetComparisonMagnitude() float64

func (*LegacyJobResponse_Argument) GetComparisonMode

func (x *LegacyJobResponse_Argument) GetComparisonMode() string

func (*LegacyJobResponse_Argument) GetConfiguration

func (x *LegacyJobResponse_Argument) GetConfiguration() string

func (*LegacyJobResponse_Argument) GetEndGitHash

func (x *LegacyJobResponse_Argument) GetEndGitHash() string

func (*LegacyJobResponse_Argument) GetExtraTestArgs

func (x *LegacyJobResponse_Argument) GetExtraTestArgs() string

func (*LegacyJobResponse_Argument) GetInitialAttemptCount

func (x *LegacyJobResponse_Argument) GetInitialAttemptCount() int32

func (*LegacyJobResponse_Argument) GetPin

func (x *LegacyJobResponse_Argument) GetPin() string

func (*LegacyJobResponse_Argument) GetProject

func (x *LegacyJobResponse_Argument) GetProject() string

func (*LegacyJobResponse_Argument) GetStartGitHash

func (x *LegacyJobResponse_Argument) GetStartGitHash() string

func (*LegacyJobResponse_Argument) GetStatistic

func (x *LegacyJobResponse_Argument) GetStatistic() string

func (*LegacyJobResponse_Argument) GetStory

func (x *LegacyJobResponse_Argument) GetStory() string

func (*LegacyJobResponse_Argument) GetStoryTags

func (x *LegacyJobResponse_Argument) GetStoryTags() string

func (*LegacyJobResponse_Argument) GetTags

func (x *LegacyJobResponse_Argument) GetTags() map[string]string

func (*LegacyJobResponse_Argument) GetTarget

func (x *LegacyJobResponse_Argument) GetTarget() string

func (*LegacyJobResponse_Argument) GetTrace

func (x *LegacyJobResponse_Argument) GetTrace() string

func (*LegacyJobResponse_Argument) ProtoMessage

func (*LegacyJobResponse_Argument) ProtoMessage()

func (*LegacyJobResponse_Argument) ProtoReflect

func (*LegacyJobResponse_Argument) Reset

func (x *LegacyJobResponse_Argument) Reset()

func (*LegacyJobResponse_Argument) String

func (x *LegacyJobResponse_Argument) String() string

type LegacyJobResponse_State

type LegacyJobResponse_State struct {
	Change      *LegacyJobResponse_State_Change     `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty"`
	Attempts    []*LegacyJobResponse_State_Attempt  `protobuf:"bytes,2,rep,name=attempts,proto3" json:"attempts,omitempty"`
	Comparisons *LegacyJobResponse_State_Comparison `protobuf:"bytes,3,opt,name=comparisons,proto3" json:"comparisons,omitempty"`
	Values      []float64                           `protobuf:"fixed64,4,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_State.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State) GetAttempts

func (*LegacyJobResponse_State) GetChange

func (*LegacyJobResponse_State) GetComparisons

func (*LegacyJobResponse_State) GetValues

func (x *LegacyJobResponse_State) GetValues() []float64

func (*LegacyJobResponse_State) ProtoMessage

func (*LegacyJobResponse_State) ProtoMessage()

func (*LegacyJobResponse_State) ProtoReflect

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

func (*LegacyJobResponse_State) Reset

func (x *LegacyJobResponse_State) Reset()

func (*LegacyJobResponse_State) String

func (x *LegacyJobResponse_State) String() string

type LegacyJobResponse_State_Attempt

type LegacyJobResponse_State_Attempt struct {
	Executions []*LegacyJobResponse_State_Attempt_Execution `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
	// This key is not actually supported by Catapult's response here, but
	// the values of each attempt is needed to populate data back on the UI.
	ResultValues []float64 `protobuf:"fixed64,2,rep,packed,name=result_values,json=resultValues,proto3" json:"result_values,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State_Attempt) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_State_Attempt.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State_Attempt) GetExecutions

func (*LegacyJobResponse_State_Attempt) GetResultValues

func (x *LegacyJobResponse_State_Attempt) GetResultValues() []float64

func (*LegacyJobResponse_State_Attempt) ProtoMessage

func (*LegacyJobResponse_State_Attempt) ProtoMessage()

func (*LegacyJobResponse_State_Attempt) ProtoReflect

func (*LegacyJobResponse_State_Attempt) Reset

func (*LegacyJobResponse_State_Attempt) String

type LegacyJobResponse_State_Attempt_Execution

type LegacyJobResponse_State_Attempt_Execution struct {
	Completed bool                                                `protobuf:"varint,1,opt,name=completed,proto3" json:"completed,omitempty"`
	Exception string                                              `protobuf:"bytes,2,opt,name=exception,proto3" json:"exception,omitempty"`
	Details   []*LegacyJobResponse_State_Attempt_Execution_Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State_Attempt_Execution) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_State_Attempt_Execution.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State_Attempt_Execution) GetCompleted

func (*LegacyJobResponse_State_Attempt_Execution) GetDetails

func (*LegacyJobResponse_State_Attempt_Execution) GetException

func (*LegacyJobResponse_State_Attempt_Execution) ProtoMessage

func (*LegacyJobResponse_State_Attempt_Execution) ProtoReflect

func (*LegacyJobResponse_State_Attempt_Execution) Reset

func (*LegacyJobResponse_State_Attempt_Execution) String

type LegacyJobResponse_State_Attempt_Execution_Detail

type LegacyJobResponse_State_Attempt_Execution_Detail struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Url   string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State_Attempt_Execution_Detail) Descriptor deprecated

Deprecated: Use LegacyJobResponse_State_Attempt_Execution_Detail.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State_Attempt_Execution_Detail) GetKey

func (*LegacyJobResponse_State_Attempt_Execution_Detail) GetUrl

func (*LegacyJobResponse_State_Attempt_Execution_Detail) GetValue

func (*LegacyJobResponse_State_Attempt_Execution_Detail) ProtoMessage

func (*LegacyJobResponse_State_Attempt_Execution_Detail) ProtoReflect

func (*LegacyJobResponse_State_Attempt_Execution_Detail) Reset

func (*LegacyJobResponse_State_Attempt_Execution_Detail) String

type LegacyJobResponse_State_Change

type LegacyJobResponse_State_Change struct {
	Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State_Change) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_State_Change.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State_Change) GetCommits

func (x *LegacyJobResponse_State_Change) GetCommits() []*Commit

func (*LegacyJobResponse_State_Change) ProtoMessage

func (*LegacyJobResponse_State_Change) ProtoMessage()

func (*LegacyJobResponse_State_Change) ProtoReflect

func (*LegacyJobResponse_State_Change) Reset

func (x *LegacyJobResponse_State_Change) Reset()

func (*LegacyJobResponse_State_Change) String

type LegacyJobResponse_State_Comparison

type LegacyJobResponse_State_Comparison struct {
	Next string `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
	Prev string `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
	// contains filtered or unexported fields
}

func (*LegacyJobResponse_State_Comparison) Descriptor deprecated

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

Deprecated: Use LegacyJobResponse_State_Comparison.ProtoReflect.Descriptor instead.

func (*LegacyJobResponse_State_Comparison) GetNext

func (*LegacyJobResponse_State_Comparison) GetPrev

func (*LegacyJobResponse_State_Comparison) ProtoMessage

func (*LegacyJobResponse_State_Comparison) ProtoMessage()

func (*LegacyJobResponse_State_Comparison) ProtoReflect

func (*LegacyJobResponse_State_Comparison) Reset

func (*LegacyJobResponse_State_Comparison) String

type PairwiseExecution

type PairwiseExecution struct {

	// significant regression / culprit if true
	Significant bool                              `protobuf:"varint,1,opt,name=significant,proto3" json:"significant,omitempty"`
	JobId       string                            `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Statistic   *PairwiseExecution_WilcoxonResult `protobuf:"bytes,3,opt,name=statistic,proto3" json:"statistic,omitempty"`
	// The culprit is only populated on culprit verification workflows
	// and if the result is significant
	Culprit *CombinedCommit `protobuf:"bytes,4,opt,name=culprit,proto3" json:"culprit,omitempty"`
	// contains filtered or unexported fields
}

func (*PairwiseExecution) Descriptor deprecated

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

Deprecated: Use PairwiseExecution.ProtoReflect.Descriptor instead.

func (*PairwiseExecution) GetCulprit

func (x *PairwiseExecution) GetCulprit() *CombinedCommit

func (*PairwiseExecution) GetJobId

func (x *PairwiseExecution) GetJobId() string

func (*PairwiseExecution) GetSignificant

func (x *PairwiseExecution) GetSignificant() bool

func (*PairwiseExecution) GetStatistic

func (*PairwiseExecution) ProtoMessage

func (*PairwiseExecution) ProtoMessage()

func (*PairwiseExecution) ProtoReflect

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

func (*PairwiseExecution) Reset

func (x *PairwiseExecution) Reset()

func (*PairwiseExecution) String

func (x *PairwiseExecution) String() string

type PairwiseExecution_WilcoxonResult

type PairwiseExecution_WilcoxonResult struct {
	PValue                   float64 `protobuf:"fixed64,1,opt,name=p_value,json=pValue,proto3" json:"p_value,omitempty"`
	ConfidenceIntervalLower  float64 `` /* 134-byte string literal not displayed */
	ConfidenceIntervalHigher float64 `` /* 137-byte string literal not displayed */
	ControlMedian            float64 `protobuf:"fixed64,4,opt,name=control_median,json=controlMedian,proto3" json:"control_median,omitempty"`
	TreatmentMedian          float64 `protobuf:"fixed64,5,opt,name=treatment_median,json=treatmentMedian,proto3" json:"treatment_median,omitempty"`
	// contains filtered or unexported fields
}

func (*PairwiseExecution_WilcoxonResult) Descriptor deprecated

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

Deprecated: Use PairwiseExecution_WilcoxonResult.ProtoReflect.Descriptor instead.

func (*PairwiseExecution_WilcoxonResult) GetConfidenceIntervalHigher

func (x *PairwiseExecution_WilcoxonResult) GetConfidenceIntervalHigher() float64

func (*PairwiseExecution_WilcoxonResult) GetConfidenceIntervalLower

func (x *PairwiseExecution_WilcoxonResult) GetConfidenceIntervalLower() float64

func (*PairwiseExecution_WilcoxonResult) GetControlMedian

func (x *PairwiseExecution_WilcoxonResult) GetControlMedian() float64

func (*PairwiseExecution_WilcoxonResult) GetPValue

func (*PairwiseExecution_WilcoxonResult) GetTreatmentMedian

func (x *PairwiseExecution_WilcoxonResult) GetTreatmentMedian() float64

func (*PairwiseExecution_WilcoxonResult) ProtoMessage

func (*PairwiseExecution_WilcoxonResult) ProtoMessage()

func (*PairwiseExecution_WilcoxonResult) ProtoReflect

func (*PairwiseExecution_WilcoxonResult) Reset

func (*PairwiseExecution_WilcoxonResult) String

type PinpointClient

type PinpointClient interface {
	ScheduleBisection(ctx context.Context, in *ScheduleBisectRequest, opts ...grpc.CallOption) (*BisectExecution, error)
	CancelJob(ctx context.Context, in *CancelJobRequest, opts ...grpc.CallOption) (*CancelJobResponse, error)
	QueryBisection(ctx context.Context, in *QueryBisectRequest, opts ...grpc.CallOption) (*BisectExecution, error)
	LegacyJobQuery(ctx context.Context, in *LegacyJobRequest, opts ...grpc.CallOption) (*LegacyJobResponse, error)
	SchedulePairwise(ctx context.Context, in *SchedulePairwiseRequest, opts ...grpc.CallOption) (*PairwiseExecution, error)
	ScheduleCulpritFinder(ctx context.Context, in *ScheduleCulpritFinderRequest, opts ...grpc.CallOption) (*CulpritFinderExecution, error)
}

PinpointClient is the client API for Pinpoint 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 NewPinpointClient

func NewPinpointClient(cc grpc.ClientConnInterface) PinpointClient

type PinpointServer

type PinpointServer interface {
	ScheduleBisection(context.Context, *ScheduleBisectRequest) (*BisectExecution, error)
	CancelJob(context.Context, *CancelJobRequest) (*CancelJobResponse, error)
	QueryBisection(context.Context, *QueryBisectRequest) (*BisectExecution, error)
	LegacyJobQuery(context.Context, *LegacyJobRequest) (*LegacyJobResponse, error)
	SchedulePairwise(context.Context, *SchedulePairwiseRequest) (*PairwiseExecution, error)
	ScheduleCulpritFinder(context.Context, *ScheduleCulpritFinderRequest) (*CulpritFinderExecution, error)
	// contains filtered or unexported methods
}

PinpointServer is the server API for Pinpoint service. All implementations must embed UnimplementedPinpointServer for forward compatibility

type QueryBisectRequest

type QueryBisectRequest struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBisectRequest) Descriptor deprecated

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

Deprecated: Use QueryBisectRequest.ProtoReflect.Descriptor instead.

func (*QueryBisectRequest) GetJobId

func (x *QueryBisectRequest) GetJobId() string

func (*QueryBisectRequest) ProtoMessage

func (*QueryBisectRequest) ProtoMessage()

func (*QueryBisectRequest) ProtoReflect

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

func (*QueryBisectRequest) Reset

func (x *QueryBisectRequest) Reset()

func (*QueryBisectRequest) String

func (x *QueryBisectRequest) String() string

type ScheduleBisectRequest

type ScheduleBisectRequest struct {
	ComparisonMode string `protobuf:"bytes,1,opt,name=comparison_mode,json=comparisonMode,proto3" json:"comparison_mode,omitempty"`
	StartGitHash   string `protobuf:"bytes,2,opt,name=start_git_hash,json=startGitHash,proto3" json:"start_git_hash,omitempty"`
	EndGitHash     string `protobuf:"bytes,3,opt,name=end_git_hash,json=endGitHash,proto3" json:"end_git_hash,omitempty"`
	// The builder/bot configuration name, this usually specifies the builder that can trigger
	// the build.
	Configuration string `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// The Chrome perf benchmark test target.
	// All the targets are generated from here:
	// https://chromium.googlesource.com/chromium/src/+/52c8723/tools/perf/core/perf_data_generator.py
	Benchmark string `protobuf:"bytes,5,opt,name=benchmark,proto3" json:"benchmark,omitempty"`
	// https://chromium.googlesource.com/catapult.git/+/e8367e6/telemetry
	// The story is usually a test case that runs a set of actions in a certain scenario, and
	// collects performance histogram data to analyze.
	Story     string `protobuf:"bytes,6,opt,name=story,proto3" json:"story,omitempty"`
	Chart     string `protobuf:"bytes,7,opt,name=chart,proto3" json:"chart,omitempty"`
	Statistic string `protobuf:"bytes,8,opt,name=statistic,proto3" json:"statistic,omitempty"`
	// Comparison Magnitude is the expected absolute difference of a potential regression.
	ComparisonMagnitude string `protobuf:"bytes,9,opt,name=comparison_magnitude,json=comparisonMagnitude,proto3" json:"comparison_magnitude,omitempty"`
	// The Change (Commits + Patch) to apply to every change for all the subsequence runs.
	Pin string `protobuf:"bytes,10,opt,name=pin,proto3" json:"pin,omitempty"`
	// The Monorail project ID.
	Project string `protobuf:"bytes,11,opt,name=project,proto3" json:"project,omitempty"`
	// The monorail issue id number to post updates to.
	BugId string `protobuf:"bytes,12,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	// The user email who triggers the job.
	User string `protobuf:"bytes,13,opt,name=user,proto3" json:"user,omitempty"`
	// The mechanism in which benchmark measurements are aggregated by.
	// One of sum, mean, min, max count, and std.
	AggregationMethod string `protobuf:"bytes,14,opt,name=aggregation_method,json=aggregationMethod,proto3" json:"aggregation_method,omitempty"`
	// StoryTags is a comma delimited string of tags to pass for the story.
	// For example, "all", "representative_win_desktop" or "2019,2018".
	StoryTags string `protobuf:"bytes,15,opt,name=story_tags,json=storyTags,proto3" json:"story_tags,omitempty"`
	// The minimum number of test iterations run.
	InitialAttemptCount string `protobuf:"bytes,16,opt,name=initial_attempt_count,json=initialAttemptCount,proto3" json:"initial_attempt_count,omitempty"`
	// A JSON string encoded key-value pairs used to filter the Jobs listings.
	Tags string `protobuf:"bytes,17,opt,name=tags,proto3" json:"tags,omitempty"`
	// The improvement direction of the measurement.
	// Is either Up, Down, or Unknown.
	ImprovementDirection string `protobuf:"bytes,18,opt,name=improvement_direction,json=improvementDirection,proto3" json:"improvement_direction,omitempty"`
	// contains filtered or unexported fields
}

The direct mirror of the existing bisect request in catapult. https://chromium.googlesource.com/catapult.git/+/09398d/ dashboard/dashboard/pinpoint/models/job.py#339

Note, some fields are only for backward-compatibility only.

func (*ScheduleBisectRequest) Descriptor deprecated

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

Deprecated: Use ScheduleBisectRequest.ProtoReflect.Descriptor instead.

func (*ScheduleBisectRequest) GetAggregationMethod

func (x *ScheduleBisectRequest) GetAggregationMethod() string

func (*ScheduleBisectRequest) GetBenchmark

func (x *ScheduleBisectRequest) GetBenchmark() string

func (*ScheduleBisectRequest) GetBugId

func (x *ScheduleBisectRequest) GetBugId() string

func (*ScheduleBisectRequest) GetChart

func (x *ScheduleBisectRequest) GetChart() string

func (*ScheduleBisectRequest) GetComparisonMagnitude

func (x *ScheduleBisectRequest) GetComparisonMagnitude() string

func (*ScheduleBisectRequest) GetComparisonMode

func (x *ScheduleBisectRequest) GetComparisonMode() string

func (*ScheduleBisectRequest) GetConfiguration

func (x *ScheduleBisectRequest) GetConfiguration() string

func (*ScheduleBisectRequest) GetEndGitHash

func (x *ScheduleBisectRequest) GetEndGitHash() string

func (*ScheduleBisectRequest) GetImprovementDirection

func (x *ScheduleBisectRequest) GetImprovementDirection() string

func (*ScheduleBisectRequest) GetInitialAttemptCount

func (x *ScheduleBisectRequest) GetInitialAttemptCount() string

func (*ScheduleBisectRequest) GetPin

func (x *ScheduleBisectRequest) GetPin() string

func (*ScheduleBisectRequest) GetProject

func (x *ScheduleBisectRequest) GetProject() string

func (*ScheduleBisectRequest) GetStartGitHash

func (x *ScheduleBisectRequest) GetStartGitHash() string

func (*ScheduleBisectRequest) GetStatistic

func (x *ScheduleBisectRequest) GetStatistic() string

func (*ScheduleBisectRequest) GetStory

func (x *ScheduleBisectRequest) GetStory() string

func (*ScheduleBisectRequest) GetStoryTags

func (x *ScheduleBisectRequest) GetStoryTags() string

func (*ScheduleBisectRequest) GetTags

func (x *ScheduleBisectRequest) GetTags() string

func (*ScheduleBisectRequest) GetUser

func (x *ScheduleBisectRequest) GetUser() string

func (*ScheduleBisectRequest) ProtoMessage

func (*ScheduleBisectRequest) ProtoMessage()

func (*ScheduleBisectRequest) ProtoReflect

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

func (*ScheduleBisectRequest) Reset

func (x *ScheduleBisectRequest) Reset()

func (*ScheduleBisectRequest) String

func (x *ScheduleBisectRequest) String() string

type ScheduleCulpritFinderRequest

type ScheduleCulpritFinderRequest struct {
	StartGitHash string `protobuf:"bytes,1,opt,name=start_git_hash,json=startGitHash,proto3" json:"start_git_hash,omitempty"`
	EndGitHash   string `protobuf:"bytes,2,opt,name=end_git_hash,json=endGitHash,proto3" json:"end_git_hash,omitempty"`
	// The builder/bot configuration name.
	Configuration string `protobuf:"bytes,3,opt,name=configuration,json=bot_name,proto3" json:"configuration,omitempty"`
	// The Chrome perf benchmark test target.
	Benchmark string `protobuf:"bytes,4,opt,name=benchmark,proto3" json:"benchmark,omitempty"`
	// https://chromium.googlesource.com/catapult.git/+/e8367e6/telemetry
	// The story is usually a test case that runs a set of actions in a certain scenario, and
	// collects performance histogram data to analyze.
	Story string `protobuf:"bytes,5,opt,name=story,proto3" json:"story,omitempty"`
	Chart string `protobuf:"bytes,6,opt,name=chart,json=measurement,proto3" json:"chart,omitempty"`
	// The statistic, if there is one, aggregates measurement values into a single data point.
	Statistic string `protobuf:"bytes,7,opt,name=statistic,proto3" json:"statistic,omitempty"`
	// The improvement direction of the measurement.
	// Is either Up, Down, or Unknown.
	ImprovementDirection string `protobuf:"bytes,8,opt,name=improvement_direction,json=improvement_dir,proto3" json:"improvement_direction,omitempty"`
	// The comparison magnitude is the expected absolute difference of a potential regression.
	// This parameter is used in bisection.
	ComparisonMagnitude string `protobuf:"bytes,9,opt,name=comparison_magnitude,json=comparisonMagnitude,proto3" json:"comparison_magnitude,omitempty"`
	// The buganizer issue id number to post updates to. This is a legacy feature.
	BugId string `protobuf:"bytes,10,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	// contains filtered or unexported fields
}

ScheduleCulpritFinderRequest contains the input to schedule an E2E anomaly to culprits workflow. This workflow consists of a regression verification step, a bisection to find culprits, and a culprit verification step. This workflow is also known as the sandwich verification workflow.

func (*ScheduleCulpritFinderRequest) Descriptor deprecated

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

Deprecated: Use ScheduleCulpritFinderRequest.ProtoReflect.Descriptor instead.

func (*ScheduleCulpritFinderRequest) GetBenchmark

func (x *ScheduleCulpritFinderRequest) GetBenchmark() string

func (*ScheduleCulpritFinderRequest) GetBugId

func (x *ScheduleCulpritFinderRequest) GetBugId() string

func (*ScheduleCulpritFinderRequest) GetChart

func (x *ScheduleCulpritFinderRequest) GetChart() string

func (*ScheduleCulpritFinderRequest) GetComparisonMagnitude

func (x *ScheduleCulpritFinderRequest) GetComparisonMagnitude() string

func (*ScheduleCulpritFinderRequest) GetConfiguration

func (x *ScheduleCulpritFinderRequest) GetConfiguration() string

func (*ScheduleCulpritFinderRequest) GetEndGitHash

func (x *ScheduleCulpritFinderRequest) GetEndGitHash() string

func (*ScheduleCulpritFinderRequest) GetImprovementDirection

func (x *ScheduleCulpritFinderRequest) GetImprovementDirection() string

func (*ScheduleCulpritFinderRequest) GetStartGitHash

func (x *ScheduleCulpritFinderRequest) GetStartGitHash() string

func (*ScheduleCulpritFinderRequest) GetStatistic

func (x *ScheduleCulpritFinderRequest) GetStatistic() string

func (*ScheduleCulpritFinderRequest) GetStory

func (x *ScheduleCulpritFinderRequest) GetStory() string

func (*ScheduleCulpritFinderRequest) ProtoMessage

func (*ScheduleCulpritFinderRequest) ProtoMessage()

func (*ScheduleCulpritFinderRequest) ProtoReflect

func (*ScheduleCulpritFinderRequest) Reset

func (x *ScheduleCulpritFinderRequest) Reset()

func (*ScheduleCulpritFinderRequest) String

type SchedulePairwiseRequest

type SchedulePairwiseRequest struct {
	StartGitHash string `protobuf:"bytes,1,opt,name=start_git_hash,json=startGitHash,proto3" json:"start_git_hash,omitempty"`
	EndGitHash   string `protobuf:"bytes,2,opt,name=end_git_hash,json=endGitHash,proto3" json:"end_git_hash,omitempty"`
	// The builder/bot configuration name, this usually specifies the builder that can trigger
	// the build.
	Configuration string `protobuf:"bytes,3,opt,name=configuration,json=bot_name,proto3" json:"configuration,omitempty"`
	// The Chrome perf benchmark test target.
	Benchmark string `protobuf:"bytes,4,opt,name=benchmark,proto3" json:"benchmark,omitempty"`
	// https://chromium.googlesource.com/catapult.git/+/e8367e6/telemetry
	// The story is usually a test case that runs a set of actions in a certain scenario, and
	// collects performance histogram data to analyze.
	Story     string `protobuf:"bytes,5,opt,name=story,proto3" json:"story,omitempty"`
	Chart     string `protobuf:"bytes,6,opt,name=chart,json=measurement,proto3" json:"chart,omitempty"`
	Statistic string `protobuf:"bytes,7,opt,name=statistic,proto3" json:"statistic,omitempty"` // not included in the catapult request, which might be a mistake
	Target    string `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`       // probably unnecessary, we can infer this
	// The Monorail project ID.
	Project string `protobuf:"bytes,9,opt,name=project,proto3" json:"project,omitempty"`
	// The buganizer issue id number to post updates to.
	BugId string `protobuf:"bytes,10,opt,name=bug_id,json=bugId,proto3" json:"bug_id,omitempty"`
	// The minimum number of test iterations run. Default is 30
	InitialAttemptCount string `protobuf:"bytes,11,opt,name=initial_attempt_count,json=initialAttemptCount,proto3" json:"initial_attempt_count,omitempty"`
	// The improvement direction of the measurement.
	// Is either Up, Down, or Unknown.
	ImprovementDirection string `protobuf:"bytes,12,opt,name=improvement_direction,json=improvement_dir,proto3" json:"improvement_direction,omitempty"`
	// contains filtered or unexported fields
}

SchedulePairwiseRequest contains the input to schedule a pairwise job used in regression and culprit verification. This request uses a subset of the params used in Pinpoint try jobs.

The params used are defined here: https://source.chromium.org/chromium/chromium/src/+/main:third_party/catapult/dashboard/ dashboard/services/workflow_service.py;drc=2b42d43ff4989182d28de40ad4ed0dc82356c0f7;l=35 The params are defined based off of the keys used in catapult. TODO(sunxiaodi@): Add user-facing try job request params to this request. i.e. extra-browser-args

func (*SchedulePairwiseRequest) Descriptor deprecated

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

Deprecated: Use SchedulePairwiseRequest.ProtoReflect.Descriptor instead.

func (*SchedulePairwiseRequest) GetBenchmark

func (x *SchedulePairwiseRequest) GetBenchmark() string

func (*SchedulePairwiseRequest) GetBugId

func (x *SchedulePairwiseRequest) GetBugId() string

func (*SchedulePairwiseRequest) GetChart

func (x *SchedulePairwiseRequest) GetChart() string

func (*SchedulePairwiseRequest) GetConfiguration

func (x *SchedulePairwiseRequest) GetConfiguration() string

func (*SchedulePairwiseRequest) GetEndGitHash

func (x *SchedulePairwiseRequest) GetEndGitHash() string

func (*SchedulePairwiseRequest) GetImprovementDirection

func (x *SchedulePairwiseRequest) GetImprovementDirection() string

func (*SchedulePairwiseRequest) GetInitialAttemptCount

func (x *SchedulePairwiseRequest) GetInitialAttemptCount() string

func (*SchedulePairwiseRequest) GetProject

func (x *SchedulePairwiseRequest) GetProject() string

func (*SchedulePairwiseRequest) GetStartGitHash

func (x *SchedulePairwiseRequest) GetStartGitHash() string

func (*SchedulePairwiseRequest) GetStatistic

func (x *SchedulePairwiseRequest) GetStatistic() string

func (*SchedulePairwiseRequest) GetStory

func (x *SchedulePairwiseRequest) GetStory() string

func (*SchedulePairwiseRequest) GetTarget

func (x *SchedulePairwiseRequest) GetTarget() string

func (*SchedulePairwiseRequest) ProtoMessage

func (*SchedulePairwiseRequest) ProtoMessage()

func (*SchedulePairwiseRequest) ProtoReflect

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

func (*SchedulePairwiseRequest) Reset

func (x *SchedulePairwiseRequest) Reset()

func (*SchedulePairwiseRequest) String

func (x *SchedulePairwiseRequest) String() string

type UnimplementedPinpointServer

type UnimplementedPinpointServer struct {
}

UnimplementedPinpointServer must be embedded to have forward compatible implementations.

func (UnimplementedPinpointServer) CancelJob

func (UnimplementedPinpointServer) LegacyJobQuery

func (UnimplementedPinpointServer) QueryBisection

func (UnimplementedPinpointServer) ScheduleBisection

func (UnimplementedPinpointServer) ScheduleCulpritFinder

func (UnimplementedPinpointServer) SchedulePairwise

type UnsafePinpointServer

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

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

Jump to

Keyboard shortcuts

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