Documentation
¶
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterCoverageServer(s prpc.Registrar, srv CoverageServer)
- func RegisterStatsServer(s prpc.Registrar, srv StatsServer)
- type AbsoluteCoverage
- func (*AbsoluteCoverage) Descriptor() ([]byte, []int)deprecated
- func (x *AbsoluteCoverage) GetDate() string
- func (x *AbsoluteCoverage) GetLinesCovered() int64
- func (x *AbsoluteCoverage) GetTotalLines() int64
- func (*AbsoluteCoverage) ProtoMessage()
- func (x *AbsoluteCoverage) ProtoReflect() protoreflect.Message
- func (x *AbsoluteCoverage) Reset()
- func (x *AbsoluteCoverage) String() string
- type BuilderConfig
- func (*BuilderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BuilderConfig) GetBucket() string
- func (x *BuilderConfig) GetBuilder() string
- func (x *BuilderConfig) GetLatestRevision() string
- func (x *BuilderConfig) GetPlatform() string
- func (x *BuilderConfig) GetUiName() string
- func (*BuilderConfig) ProtoMessage()
- func (x *BuilderConfig) ProtoReflect() protoreflect.Message
- func (x *BuilderConfig) Reset()
- func (x *BuilderConfig) String() string
- type CoverageClient
- type CoverageServer
- type DirectoryNode
- func (*DirectoryNode) Descriptor() ([]byte, []int)deprecated
- func (x *DirectoryNode) GetId() string
- func (x *DirectoryNode) GetMetrics() map[string]*TestMetricsArray
- func (x *DirectoryNode) GetName() string
- func (x *DirectoryNode) GetType() DirectoryNodeType
- func (*DirectoryNode) ProtoMessage()
- func (x *DirectoryNode) ProtoReflect() protoreflect.Message
- func (x *DirectoryNode) Reset()
- func (x *DirectoryNode) String() string
- type DirectoryNodeType
- func (DirectoryNodeType) Descriptor() protoreflect.EnumDescriptor
- func (x DirectoryNodeType) Enum() *DirectoryNodeType
- func (DirectoryNodeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DirectoryNodeType) Number() protoreflect.EnumNumber
- func (x DirectoryNodeType) String() string
- func (DirectoryNodeType) Type() protoreflect.EnumType
- type FetchDirectoryMetricsRequest
- func (*FetchDirectoryMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDirectoryMetricsRequest) GetComponents() []string
- func (x *FetchDirectoryMetricsRequest) GetDates() []string
- func (x *FetchDirectoryMetricsRequest) GetFilter() string
- func (x *FetchDirectoryMetricsRequest) GetMetrics() []MetricType
- func (x *FetchDirectoryMetricsRequest) GetParentIds() []string
- func (x *FetchDirectoryMetricsRequest) GetPeriod() Period
- func (x *FetchDirectoryMetricsRequest) GetSort() *SortBy
- func (*FetchDirectoryMetricsRequest) ProtoMessage()
- func (x *FetchDirectoryMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchDirectoryMetricsRequest) Reset()
- func (x *FetchDirectoryMetricsRequest) String() string
- type FetchDirectoryMetricsResponse
- func (*FetchDirectoryMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchDirectoryMetricsResponse) GetNodes() []*DirectoryNode
- func (*FetchDirectoryMetricsResponse) ProtoMessage()
- func (x *FetchDirectoryMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchDirectoryMetricsResponse) Reset()
- func (x *FetchDirectoryMetricsResponse) String() string
- type FetchTestMetricsRequest
- func (*FetchTestMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchTestMetricsRequest) GetComponents() []string
- func (x *FetchTestMetricsRequest) GetDates() []string
- func (x *FetchTestMetricsRequest) GetFileNames() []string
- func (x *FetchTestMetricsRequest) GetFilter() string
- func (x *FetchTestMetricsRequest) GetMetrics() []MetricType
- func (x *FetchTestMetricsRequest) GetPageOffset() int64
- func (x *FetchTestMetricsRequest) GetPageSize() int64
- func (x *FetchTestMetricsRequest) GetPeriod() Period
- func (x *FetchTestMetricsRequest) GetSort() *SortBy
- func (*FetchTestMetricsRequest) ProtoMessage()
- func (x *FetchTestMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchTestMetricsRequest) Reset()
- func (x *FetchTestMetricsRequest) String() string
- type FetchTestMetricsResponse
- func (*FetchTestMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchTestMetricsResponse) GetLastPage() bool
- func (x *FetchTestMetricsResponse) GetTests() []*TestDateMetricData
- func (*FetchTestMetricsResponse) ProtoMessage()
- func (x *FetchTestMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchTestMetricsResponse) Reset()
- func (x *FetchTestMetricsResponse) String() string
- type GetAbsoluteCoverageDataOneYearRequest
- func (*GetAbsoluteCoverageDataOneYearRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAbsoluteCoverageDataOneYearRequest) GetBucket() string
- func (x *GetAbsoluteCoverageDataOneYearRequest) GetBuilder() string
- func (x *GetAbsoluteCoverageDataOneYearRequest) GetComponents() []string
- func (x *GetAbsoluteCoverageDataOneYearRequest) GetPaths() []string
- func (x *GetAbsoluteCoverageDataOneYearRequest) GetUnitTestsOnly() bool
- func (*GetAbsoluteCoverageDataOneYearRequest) ProtoMessage()
- func (x *GetAbsoluteCoverageDataOneYearRequest) ProtoReflect() protoreflect.Message
- func (x *GetAbsoluteCoverageDataOneYearRequest) Reset()
- func (x *GetAbsoluteCoverageDataOneYearRequest) String() string
- type GetAbsoluteCoverageDataOneYearResponse
- func (*GetAbsoluteCoverageDataOneYearResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAbsoluteCoverageDataOneYearResponse) GetReports() []*AbsoluteCoverage
- func (*GetAbsoluteCoverageDataOneYearResponse) ProtoMessage()
- func (x *GetAbsoluteCoverageDataOneYearResponse) ProtoReflect() protoreflect.Message
- func (x *GetAbsoluteCoverageDataOneYearResponse) Reset()
- func (x *GetAbsoluteCoverageDataOneYearResponse) String() string
- type GetCoverageSummaryRequest
- func (*GetCoverageSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCoverageSummaryRequest) GetBucket() string
- func (x *GetCoverageSummaryRequest) GetBuilder() string
- func (x *GetCoverageSummaryRequest) GetComponents() []string
- func (x *GetCoverageSummaryRequest) GetGitilesHost() string
- func (x *GetCoverageSummaryRequest) GetGitilesProject() string
- func (x *GetCoverageSummaryRequest) GetGitilesRef() string
- func (x *GetCoverageSummaryRequest) GetGitilesRevision() string
- func (x *GetCoverageSummaryRequest) GetPath() string
- func (x *GetCoverageSummaryRequest) GetUnitTestsOnly() bool
- func (*GetCoverageSummaryRequest) ProtoMessage()
- func (x *GetCoverageSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetCoverageSummaryRequest) Reset()
- func (x *GetCoverageSummaryRequest) String() string
- type GetCoverageSummaryResponse
- func (*GetCoverageSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCoverageSummaryResponse) GetSummary() []*structpb.Struct
- func (*GetCoverageSummaryResponse) ProtoMessage()
- func (x *GetCoverageSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetCoverageSummaryResponse) Reset()
- func (x *GetCoverageSummaryResponse) String() string
- type GetIncrementalCoverageDataOneYearRequest
- func (*GetIncrementalCoverageDataOneYearRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalCoverageDataOneYearRequest) GetPaths() []string
- func (x *GetIncrementalCoverageDataOneYearRequest) GetUnitTestsOnly() bool
- func (*GetIncrementalCoverageDataOneYearRequest) ProtoMessage()
- func (x *GetIncrementalCoverageDataOneYearRequest) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalCoverageDataOneYearRequest) Reset()
- func (x *GetIncrementalCoverageDataOneYearRequest) String() string
- type GetIncrementalCoverageDataOneYearResponse
- func (*GetIncrementalCoverageDataOneYearResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalCoverageDataOneYearResponse) GetReports() []*IncrementalCoverage
- func (*GetIncrementalCoverageDataOneYearResponse) ProtoMessage()
- func (x *GetIncrementalCoverageDataOneYearResponse) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalCoverageDataOneYearResponse) Reset()
- func (x *GetIncrementalCoverageDataOneYearResponse) String() string
- type GetProjectDefaultConfigRequest
- func (*GetProjectDefaultConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectDefaultConfigRequest) GetLuciProject() string
- func (*GetProjectDefaultConfigRequest) ProtoMessage()
- func (x *GetProjectDefaultConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectDefaultConfigRequest) Reset()
- func (x *GetProjectDefaultConfigRequest) String() string
- type GetProjectDefaultConfigResponse
- func (*GetProjectDefaultConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectDefaultConfigResponse) GetBuilderConfig() []*BuilderConfig
- func (x *GetProjectDefaultConfigResponse) GetGitilesHost() string
- func (x *GetProjectDefaultConfigResponse) GetGitilesProject() string
- func (x *GetProjectDefaultConfigResponse) GetGitilesRef() string
- func (*GetProjectDefaultConfigResponse) ProtoMessage()
- func (x *GetProjectDefaultConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectDefaultConfigResponse) Reset()
- func (x *GetProjectDefaultConfigResponse) String() string
- type IncrementalCoverage
- func (*IncrementalCoverage) Descriptor() ([]byte, []int)deprecated
- func (x *IncrementalCoverage) GetDate() string
- func (x *IncrementalCoverage) GetFileChangesCovered() int64
- func (x *IncrementalCoverage) GetTotalFileChanges() int64
- func (*IncrementalCoverage) ProtoMessage()
- func (x *IncrementalCoverage) ProtoReflect() protoreflect.Message
- func (x *IncrementalCoverage) Reset()
- func (x *IncrementalCoverage) String() string
- type ListComponentsRequest
- type ListComponentsResponse
- func (*ListComponentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComponentsResponse) GetComponents() []string
- func (x *ListComponentsResponse) GetOwnedComponents() []string
- func (*ListComponentsResponse) ProtoMessage()
- func (x *ListComponentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListComponentsResponse) Reset()
- func (x *ListComponentsResponse) String() string
- type MetricType
- type Period
- type SortBy
- func (*SortBy) Descriptor() ([]byte, []int)deprecated
- func (x *SortBy) GetAscending() bool
- func (x *SortBy) GetMetric() SortType
- func (x *SortBy) GetSortDate() string
- func (*SortBy) ProtoMessage()
- func (x *SortBy) ProtoReflect() protoreflect.Message
- func (x *SortBy) Reset()
- func (x *SortBy) String() string
- type SortType
- type StatsClient
- type StatsServer
- type TestDateMetricData
- func (*TestDateMetricData) Descriptor() ([]byte, []int)deprecated
- func (x *TestDateMetricData) GetFileName() string
- func (x *TestDateMetricData) GetMetrics() map[string]*TestMetricsArray
- func (x *TestDateMetricData) GetTestId() string
- func (x *TestDateMetricData) GetTestName() string
- func (x *TestDateMetricData) GetVariants() []*TestVariantData
- func (*TestDateMetricData) ProtoMessage()
- func (x *TestDateMetricData) ProtoReflect() protoreflect.Message
- func (x *TestDateMetricData) Reset()
- func (x *TestDateMetricData) String() string
- type TestMetricsArray
- func (*TestMetricsArray) Descriptor() ([]byte, []int)deprecated
- func (x *TestMetricsArray) GetData() []*TestMetricsData
- func (*TestMetricsArray) ProtoMessage()
- func (x *TestMetricsArray) ProtoReflect() protoreflect.Message
- func (x *TestMetricsArray) Reset()
- func (x *TestMetricsArray) String() string
- type TestMetricsData
- func (*TestMetricsData) Descriptor() ([]byte, []int)deprecated
- func (x *TestMetricsData) GetMetricType() MetricType
- func (x *TestMetricsData) GetMetricValue() float64
- func (*TestMetricsData) ProtoMessage()
- func (x *TestMetricsData) ProtoReflect() protoreflect.Message
- func (x *TestMetricsData) Reset()
- func (x *TestMetricsData) String() string
- type TestVariantData
- func (*TestVariantData) Descriptor() ([]byte, []int)deprecated
- func (x *TestVariantData) GetBucket() string
- func (x *TestVariantData) GetBuilder() string
- func (x *TestVariantData) GetMetrics() map[string]*TestMetricsArray
- func (x *TestVariantData) GetSuite() string
- func (*TestVariantData) ProtoMessage()
- func (x *TestVariantData) ProtoReflect() protoreflect.Message
- func (x *TestVariantData) Reset()
- func (x *TestVariantData) String() string
- type UnimplementedCoverageServer
- func (*UnimplementedCoverageServer) GetAbsoluteCoverageDataOneYear(context.Context, *GetAbsoluteCoverageDataOneYearRequest) (*GetAbsoluteCoverageDataOneYearResponse, error)
- func (*UnimplementedCoverageServer) GetCoverageSummary(context.Context, *GetCoverageSummaryRequest) (*GetCoverageSummaryResponse, error)
- func (*UnimplementedCoverageServer) GetIncrementalCoverageDataOneYear(context.Context, *GetIncrementalCoverageDataOneYearRequest) (*GetIncrementalCoverageDataOneYearResponse, error)
- func (*UnimplementedCoverageServer) GetProjectDefaultConfig(context.Context, *GetProjectDefaultConfigRequest) (*GetProjectDefaultConfigResponse, error)
- type UnimplementedStatsServer
- func (*UnimplementedStatsServer) FetchDirectoryMetrics(context.Context, *FetchDirectoryMetricsRequest) (*FetchDirectoryMetricsResponse, error)
- func (*UnimplementedStatsServer) FetchTestMetrics(context.Context, *FetchTestMetricsRequest) (*FetchTestMetricsResponse, error)
- func (*UnimplementedStatsServer) ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
- func (*UnimplementedStatsServer) UpdateMetricsTable(context.Context, *UpdateMetricsTableRequest) (*UpdateMetricsTableResponse, error)
- type UpdateMetricsTableRequest
- func (*UpdateMetricsTableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetricsTableRequest) GetFromDate() string
- func (x *UpdateMetricsTableRequest) GetToDate() string
- func (*UpdateMetricsTableRequest) ProtoMessage()
- func (x *UpdateMetricsTableRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMetricsTableRequest) Reset()
- func (x *UpdateMetricsTableRequest) String() string
- type UpdateMetricsTableResponse
Constants ¶
This section is empty.
Variables ¶
var ( MetricType_name = map[int32]string{ 0: "UNKNOWN_METRIC", 1: "NUM_RUNS", 2: "NUM_FAILURES", 3: "TOTAL_RUNTIME", 4: "AVG_CORES", 5: "AVG_RUNTIME", 6: "P50_RUNTIME", 7: "P90_RUNTIME", } MetricType_value = map[string]int32{ "UNKNOWN_METRIC": 0, "NUM_RUNS": 1, "NUM_FAILURES": 2, "TOTAL_RUNTIME": 3, "AVG_CORES": 4, "AVG_RUNTIME": 5, "P50_RUNTIME": 6, "P90_RUNTIME": 7, } )
Enum value maps for MetricType.
var ( SortType_name = map[int32]string{ 0: "UNKNOWN_SORTTYPE", 1: "SORT_NAME", 2: "SORT_NUM_RUNS", 3: "SORT_NUM_FAILURES", 4: "SORT_TOTAL_RUNTIME", 5: "SORT_AVG_CORES", 6: "SORT_AVG_RUNTIME", 7: "SORT_P50_RUNTIME", 8: "SORT_P90_RUNTIME", } SortType_value = map[string]int32{ "UNKNOWN_SORTTYPE": 0, "SORT_NAME": 1, "SORT_NUM_RUNS": 2, "SORT_NUM_FAILURES": 3, "SORT_TOTAL_RUNTIME": 4, "SORT_AVG_CORES": 5, "SORT_AVG_RUNTIME": 6, "SORT_P50_RUNTIME": 7, "SORT_P90_RUNTIME": 8, } )
Enum value maps for SortType.
var ( Period_name = map[int32]string{ 0: "UNKNOWN_PERIOD", 1: "DAY", 2: "WEEK", 3: "MONTH", } Period_value = map[string]int32{ "UNKNOWN_PERIOD": 0, "DAY": 1, "WEEK": 2, "MONTH": 3, } )
Enum value maps for Period.
var ( DirectoryNodeType_name = map[int32]string{ 0: "UNKNOWN_NODE_TYPE", 1: "DIRECTORY", 2: "FILENAME", } DirectoryNodeType_value = map[string]int32{ "UNKNOWN_NODE_TYPE": 0, "DIRECTORY": 1, "FILENAME": 2, } )
Enum value maps for DirectoryNodeType.
var File_go_chromium_org_infra_appengine_chrome_test_health_api_coverage_service_proto protoreflect.FileDescriptor
var File_go_chromium_org_infra_appengine_chrome_test_health_api_service_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterCoverageServer ¶
func RegisterCoverageServer(s prpc.Registrar, srv CoverageServer)
func RegisterStatsServer ¶
func RegisterStatsServer(s prpc.Registrar, srv StatsServer)
Types ¶
type AbsoluteCoverage ¶
type AbsoluteCoverage struct { // Date is of the format "YYYY-MM-DD" Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // Number of lines that are covered LinesCovered int64 `protobuf:"varint,2,opt,name=lines_covered,json=linesCovered,proto3" json:"lines_covered,omitempty"` // Total number of lines TotalLines int64 `protobuf:"varint,3,opt,name=total_lines,json=totalLines,proto3" json:"total_lines,omitempty"` // contains filtered or unexported fields }
AbsoluteCoverage signifies absolute coverage for a given date.
func (*AbsoluteCoverage) Descriptor
deprecated
func (*AbsoluteCoverage) Descriptor() ([]byte, []int)
Deprecated: Use AbsoluteCoverage.ProtoReflect.Descriptor instead.
func (*AbsoluteCoverage) GetDate ¶
func (x *AbsoluteCoverage) GetDate() string
func (*AbsoluteCoverage) GetLinesCovered ¶
func (x *AbsoluteCoverage) GetLinesCovered() int64
func (*AbsoluteCoverage) GetTotalLines ¶
func (x *AbsoluteCoverage) GetTotalLines() int64
func (*AbsoluteCoverage) ProtoMessage ¶
func (*AbsoluteCoverage) ProtoMessage()
func (*AbsoluteCoverage) ProtoReflect ¶
func (x *AbsoluteCoverage) ProtoReflect() protoreflect.Message
func (*AbsoluteCoverage) Reset ¶
func (x *AbsoluteCoverage) Reset()
func (*AbsoluteCoverage) String ¶
func (x *AbsoluteCoverage) String() string
type BuilderConfig ¶
type BuilderConfig struct { // Platform name. For eg: mac, linux, etc. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // Bucket name, e.g. "try". Unique within the project. // Regex: ^[a-z0-9\-_.]{1,100}$ // Together with project, defines an ACL. // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` // Builder name, e.g. "linux-rel". Unique within the bucket. // Regex: ^[a-zA-Z0-9\-_.\(\) ]{1,128}$ // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"` // Display name for a platform. For eg: MacOS(C/C++/ObjC) // is the UI name for platform mac. UiName string `protobuf:"bytes,4,opt,name=ui_name,json=uiName,proto3" json:"ui_name,omitempty"` // Latest git commit available for which // a coverage report exists for the platform. LatestRevision string `protobuf:"bytes,5,opt,name=latest_revision,json=latestRevision,proto3" json:"latest_revision,omitempty"` // contains filtered or unexported fields }
func (*BuilderConfig) Descriptor
deprecated
func (*BuilderConfig) Descriptor() ([]byte, []int)
Deprecated: Use BuilderConfig.ProtoReflect.Descriptor instead.
func (*BuilderConfig) GetBucket ¶
func (x *BuilderConfig) GetBucket() string
func (*BuilderConfig) GetBuilder ¶
func (x *BuilderConfig) GetBuilder() string
func (*BuilderConfig) GetLatestRevision ¶
func (x *BuilderConfig) GetLatestRevision() string
func (*BuilderConfig) GetPlatform ¶
func (x *BuilderConfig) GetPlatform() string
func (*BuilderConfig) GetUiName ¶
func (x *BuilderConfig) GetUiName() string
func (*BuilderConfig) ProtoMessage ¶
func (*BuilderConfig) ProtoMessage()
func (*BuilderConfig) ProtoReflect ¶
func (x *BuilderConfig) ProtoReflect() protoreflect.Message
func (*BuilderConfig) Reset ¶
func (x *BuilderConfig) Reset()
func (*BuilderConfig) String ¶
func (x *BuilderConfig) String() string
type CoverageClient ¶
type CoverageClient interface { // GetProjectDefaultConfig gets the default configuration stored in the datastore // required to fetch Code Coverage statistics. GetProjectDefaultConfig(ctx context.Context, in *GetProjectDefaultConfigRequest, opts ...grpc.CallOption) (*GetProjectDefaultConfigResponse, error) // GetCoverageSummary takes in the config fetched using the // GetProjectDefaultConfig rpc call to get the code coverage // lines/percentages along with the directory structure of the project. GetCoverageSummary(ctx context.Context, in *GetCoverageSummaryRequest, opts ...grpc.CallOption) (*GetCoverageSummaryResponse, error) // GetAbsoluteCoverageDataOneYear returns absolute coverage numbers for the last // 365 days. GetAbsoluteCoverageDataOneYear(ctx context.Context, in *GetAbsoluteCoverageDataOneYearRequest, opts ...grpc.CallOption) (*GetAbsoluteCoverageDataOneYearResponse, error) // GetIncrementalCoverageDataOneYear returns incremental coverage numbers for the last // 365 days. GetIncrementalCoverageDataOneYear(ctx context.Context, in *GetIncrementalCoverageDataOneYearRequest, opts ...grpc.CallOption) (*GetIncrementalCoverageDataOneYearResponse, error) }
CoverageClient is the client API for Coverage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoverageClient ¶
func NewCoverageClient(cc grpc.ClientConnInterface) CoverageClient
func NewCoveragePRPCClient ¶
func NewCoveragePRPCClient(client *prpc.Client) CoverageClient
type CoverageServer ¶
type CoverageServer interface { // GetProjectDefaultConfig gets the default configuration stored in the datastore // required to fetch Code Coverage statistics. GetProjectDefaultConfig(context.Context, *GetProjectDefaultConfigRequest) (*GetProjectDefaultConfigResponse, error) // GetCoverageSummary takes in the config fetched using the // GetProjectDefaultConfig rpc call to get the code coverage // lines/percentages along with the directory structure of the project. GetCoverageSummary(context.Context, *GetCoverageSummaryRequest) (*GetCoverageSummaryResponse, error) // GetAbsoluteCoverageDataOneYear returns absolute coverage numbers for the last // 365 days. GetAbsoluteCoverageDataOneYear(context.Context, *GetAbsoluteCoverageDataOneYearRequest) (*GetAbsoluteCoverageDataOneYearResponse, error) // GetIncrementalCoverageDataOneYear returns incremental coverage numbers for the last // 365 days. GetIncrementalCoverageDataOneYear(context.Context, *GetIncrementalCoverageDataOneYearRequest) (*GetIncrementalCoverageDataOneYearResponse, error) }
CoverageServer is the server API for Coverage service.
type DirectoryNode ¶
type DirectoryNode struct { // The full path name of the directory or file Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Whether the node is a file or directory Type DirectoryNodeType `protobuf:"varint,2,opt,name=type,proto3,enum=test_resources.DirectoryNodeType" json:"type,omitempty"` // The display name of the node Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Rollup metrics for the directory node. This is a map of dates // (in YYYY-MM-DD format) to an array of measured metrics. Metrics map[string]*TestMetricsArray `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DirectoryNode) Descriptor
deprecated
func (*DirectoryNode) Descriptor() ([]byte, []int)
Deprecated: Use DirectoryNode.ProtoReflect.Descriptor instead.
func (*DirectoryNode) GetId ¶
func (x *DirectoryNode) GetId() string
func (*DirectoryNode) GetMetrics ¶
func (x *DirectoryNode) GetMetrics() map[string]*TestMetricsArray
func (*DirectoryNode) GetName ¶
func (x *DirectoryNode) GetName() string
func (*DirectoryNode) GetType ¶
func (x *DirectoryNode) GetType() DirectoryNodeType
func (*DirectoryNode) ProtoMessage ¶
func (*DirectoryNode) ProtoMessage()
func (*DirectoryNode) ProtoReflect ¶
func (x *DirectoryNode) ProtoReflect() protoreflect.Message
func (*DirectoryNode) Reset ¶
func (x *DirectoryNode) Reset()
func (*DirectoryNode) String ¶
func (x *DirectoryNode) String() string
type DirectoryNodeType ¶
type DirectoryNodeType int32
const ( DirectoryNodeType_UNKNOWN_NODE_TYPE DirectoryNodeType = 0 DirectoryNodeType_DIRECTORY DirectoryNodeType = 1 DirectoryNodeType_FILENAME DirectoryNodeType = 2 )
func (DirectoryNodeType) Descriptor ¶
func (DirectoryNodeType) Descriptor() protoreflect.EnumDescriptor
func (DirectoryNodeType) Enum ¶
func (x DirectoryNodeType) Enum() *DirectoryNodeType
func (DirectoryNodeType) EnumDescriptor
deprecated
func (DirectoryNodeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DirectoryNodeType.Descriptor instead.
func (DirectoryNodeType) Number ¶
func (x DirectoryNodeType) Number() protoreflect.EnumNumber
func (DirectoryNodeType) String ¶
func (x DirectoryNodeType) String() string
func (DirectoryNodeType) Type ¶
func (DirectoryNodeType) Type() protoreflect.EnumType
type FetchDirectoryMetricsRequest ¶
type FetchDirectoryMetricsRequest struct { // The components being rolled up for the given metrics // Passing no components will return unfiltered components as if all // components had been passed Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` // Time period to fetch (e.g. DAY, WEEK) Period Period `protobuf:"varint,2,opt,name=period,proto3,enum=test_resources.Period" json:"period,omitempty"` // Dates to fetch. This should align to the period. // Dates should be specified in YYYY-MM-DD format. Dates []string `protobuf:"bytes,3,rep,name=dates,proto3" json:"dates,omitempty"` // The optional parent node for this data (i.e. The directory to get the child // metrics for). The root parent_id is '/'. Passing an empty string will // provide invalid filenames including results with no file name attached ParentIds []string `protobuf:"bytes,4,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // A string filter. This will return metrics for directories that have parts // of the tokenized filter. This does not change the metric values of the // rolled up parent (filtering a file out does not remove its runtime from // the directory) Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // The order in which to return the results Sort *SortBy `protobuf:"bytes,6,opt,name=sort,proto3" json:"sort,omitempty"` // Metrics to fetch. // This is required. If no metrics are specified an error is returned. Metrics []MetricType `protobuf:"varint,7,rep,packed,name=metrics,proto3,enum=test_resources.MetricType" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*FetchDirectoryMetricsRequest) Descriptor
deprecated
func (*FetchDirectoryMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchDirectoryMetricsRequest.ProtoReflect.Descriptor instead.
func (*FetchDirectoryMetricsRequest) GetComponents ¶
func (x *FetchDirectoryMetricsRequest) GetComponents() []string
func (*FetchDirectoryMetricsRequest) GetDates ¶
func (x *FetchDirectoryMetricsRequest) GetDates() []string
func (*FetchDirectoryMetricsRequest) GetFilter ¶
func (x *FetchDirectoryMetricsRequest) GetFilter() string
func (*FetchDirectoryMetricsRequest) GetMetrics ¶
func (x *FetchDirectoryMetricsRequest) GetMetrics() []MetricType
func (*FetchDirectoryMetricsRequest) GetParentIds ¶
func (x *FetchDirectoryMetricsRequest) GetParentIds() []string
func (*FetchDirectoryMetricsRequest) GetPeriod ¶
func (x *FetchDirectoryMetricsRequest) GetPeriod() Period
func (*FetchDirectoryMetricsRequest) GetSort ¶
func (x *FetchDirectoryMetricsRequest) GetSort() *SortBy
func (*FetchDirectoryMetricsRequest) ProtoMessage ¶
func (*FetchDirectoryMetricsRequest) ProtoMessage()
func (*FetchDirectoryMetricsRequest) ProtoReflect ¶
func (x *FetchDirectoryMetricsRequest) ProtoReflect() protoreflect.Message
func (*FetchDirectoryMetricsRequest) Reset ¶
func (x *FetchDirectoryMetricsRequest) Reset()
func (*FetchDirectoryMetricsRequest) String ¶
func (x *FetchDirectoryMetricsRequest) String() string
type FetchDirectoryMetricsResponse ¶
type FetchDirectoryMetricsResponse struct { // An array of directories and files belonging to the requested parent // directory Nodes []*DirectoryNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*FetchDirectoryMetricsResponse) Descriptor
deprecated
func (*FetchDirectoryMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchDirectoryMetricsResponse.ProtoReflect.Descriptor instead.
func (*FetchDirectoryMetricsResponse) GetNodes ¶
func (x *FetchDirectoryMetricsResponse) GetNodes() []*DirectoryNode
func (*FetchDirectoryMetricsResponse) ProtoMessage ¶
func (*FetchDirectoryMetricsResponse) ProtoMessage()
func (*FetchDirectoryMetricsResponse) ProtoReflect ¶
func (x *FetchDirectoryMetricsResponse) ProtoReflect() protoreflect.Message
func (*FetchDirectoryMetricsResponse) Reset ¶
func (x *FetchDirectoryMetricsResponse) Reset()
func (*FetchDirectoryMetricsResponse) String ¶
func (x *FetchDirectoryMetricsResponse) String() string
type FetchTestMetricsRequest ¶
type FetchTestMetricsRequest struct { // The components to get metrics for. This is effectively a filter. // Passing no components will return unfiltered components as if all // components had been passed Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` // Filter specific to the test file names. // An empty string will do no filtering FileNames []string `protobuf:"bytes,2,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // Time period to fetch (e.g. DAY, WEEK) Period Period `protobuf:"varint,3,opt,name=period,proto3,enum=test_resources.Period" json:"period,omitempty"` // Dates to fetch. This should align to the period. // Dates should be specified in YYYY-MM-DD format. Dates []string `protobuf:"bytes,4,rep,name=dates,proto3" json:"dates,omitempty"` // Metrics to fetch. // This is required. If no metrics are specified an error is returned. Metrics []MetricType `protobuf:"varint,5,rep,packed,name=metrics,proto3,enum=test_resources.MetricType" json:"metrics,omitempty"` // A string filter. This will return metrics for tests that have parts // of the tokenized filter // An empty string will do no filtering Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` // The offset to start at for the next request PageOffset int64 `protobuf:"varint,7,opt,name=page_offset,json=pageOffset,proto3" json:"page_offset,omitempty"` // The maximum number of tests to retrieve for this request PageSize int64 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The order in which to return the results Sort *SortBy `protobuf:"bytes,9,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*FetchTestMetricsRequest) Descriptor
deprecated
func (*FetchTestMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchTestMetricsRequest.ProtoReflect.Descriptor instead.
func (*FetchTestMetricsRequest) GetComponents ¶
func (x *FetchTestMetricsRequest) GetComponents() []string
func (*FetchTestMetricsRequest) GetDates ¶
func (x *FetchTestMetricsRequest) GetDates() []string
func (*FetchTestMetricsRequest) GetFileNames ¶
func (x *FetchTestMetricsRequest) GetFileNames() []string
func (*FetchTestMetricsRequest) GetFilter ¶
func (x *FetchTestMetricsRequest) GetFilter() string
func (*FetchTestMetricsRequest) GetMetrics ¶
func (x *FetchTestMetricsRequest) GetMetrics() []MetricType
func (*FetchTestMetricsRequest) GetPageOffset ¶
func (x *FetchTestMetricsRequest) GetPageOffset() int64
func (*FetchTestMetricsRequest) GetPageSize ¶
func (x *FetchTestMetricsRequest) GetPageSize() int64
func (*FetchTestMetricsRequest) GetPeriod ¶
func (x *FetchTestMetricsRequest) GetPeriod() Period
func (*FetchTestMetricsRequest) GetSort ¶
func (x *FetchTestMetricsRequest) GetSort() *SortBy
func (*FetchTestMetricsRequest) ProtoMessage ¶
func (*FetchTestMetricsRequest) ProtoMessage()
func (*FetchTestMetricsRequest) ProtoReflect ¶
func (x *FetchTestMetricsRequest) ProtoReflect() protoreflect.Message
func (*FetchTestMetricsRequest) Reset ¶
func (x *FetchTestMetricsRequest) Reset()
func (*FetchTestMetricsRequest) String ¶
func (x *FetchTestMetricsRequest) String() string
type FetchTestMetricsResponse ¶
type FetchTestMetricsResponse struct { // An array of information about each test for each of the requested days Tests []*TestDateMetricData `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"` // Indicates whether this is the last page or another can be // requested LastPage bool `protobuf:"varint,2,opt,name=last_page,json=lastPage,proto3" json:"last_page,omitempty"` // contains filtered or unexported fields }
func (*FetchTestMetricsResponse) Descriptor
deprecated
func (*FetchTestMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchTestMetricsResponse.ProtoReflect.Descriptor instead.
func (*FetchTestMetricsResponse) GetLastPage ¶
func (x *FetchTestMetricsResponse) GetLastPage() bool
func (*FetchTestMetricsResponse) GetTests ¶
func (x *FetchTestMetricsResponse) GetTests() []*TestDateMetricData
func (*FetchTestMetricsResponse) ProtoMessage ¶
func (*FetchTestMetricsResponse) ProtoMessage()
func (*FetchTestMetricsResponse) ProtoReflect ¶
func (x *FetchTestMetricsResponse) ProtoReflect() protoreflect.Message
func (*FetchTestMetricsResponse) Reset ¶
func (x *FetchTestMetricsResponse) Reset()
func (*FetchTestMetricsResponse) String ¶
func (x *FetchTestMetricsResponse) String() string
type GetAbsoluteCoverageDataOneYearRequest ¶
type GetAbsoluteCoverageDataOneYearRequest struct { // List of source paths relative to the project root. // E.g: [//, /media/cast/net/rtp/frame_buffer.cc] Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // List of Monorail components to fetch the coverage summary for. // Note that either path or components must be specified to fetch the summary. Components []string `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"` // Flag to fetch coverage results for unit tests only. // Defaults to False, which returns all coverage results. UnitTestsOnly bool `protobuf:"varint,3,opt,name=unit_tests_only,json=unitTestsOnly,proto3" json:"unit_tests_only,omitempty"` // Bucket name, e.g. "try". Unique within the project. // Regex: ^[a-z0-9\-_.]{1,100}$ // Together with project, defines an ACL. // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // Builder name, e.g. "linux-rel". Unique within the bucket. // Regex: ^[a-zA-Z0-9\-_.\(\) ]{1,128}$ // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Builder string `protobuf:"bytes,5,opt,name=builder,proto3" json:"builder,omitempty"` // contains filtered or unexported fields }
func (*GetAbsoluteCoverageDataOneYearRequest) Descriptor
deprecated
func (*GetAbsoluteCoverageDataOneYearRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAbsoluteCoverageDataOneYearRequest.ProtoReflect.Descriptor instead.
func (*GetAbsoluteCoverageDataOneYearRequest) GetBucket ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) GetBucket() string
func (*GetAbsoluteCoverageDataOneYearRequest) GetBuilder ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) GetBuilder() string
func (*GetAbsoluteCoverageDataOneYearRequest) GetComponents ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) GetComponents() []string
func (*GetAbsoluteCoverageDataOneYearRequest) GetPaths ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) GetPaths() []string
func (*GetAbsoluteCoverageDataOneYearRequest) GetUnitTestsOnly ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) GetUnitTestsOnly() bool
func (*GetAbsoluteCoverageDataOneYearRequest) ProtoMessage ¶
func (*GetAbsoluteCoverageDataOneYearRequest) ProtoMessage()
func (*GetAbsoluteCoverageDataOneYearRequest) ProtoReflect ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) ProtoReflect() protoreflect.Message
func (*GetAbsoluteCoverageDataOneYearRequest) Reset ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) Reset()
func (*GetAbsoluteCoverageDataOneYearRequest) String ¶
func (x *GetAbsoluteCoverageDataOneYearRequest) String() string
type GetAbsoluteCoverageDataOneYearResponse ¶
type GetAbsoluteCoverageDataOneYearResponse struct { // Each item of this list signifies Absolute Coverage percentage for a // particular date. Reports []*AbsoluteCoverage `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
GetAbsoluteCoverageDataOneYearResponse returns the absolute coverage trends.
func (*GetAbsoluteCoverageDataOneYearResponse) Descriptor
deprecated
func (*GetAbsoluteCoverageDataOneYearResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAbsoluteCoverageDataOneYearResponse.ProtoReflect.Descriptor instead.
func (*GetAbsoluteCoverageDataOneYearResponse) GetReports ¶
func (x *GetAbsoluteCoverageDataOneYearResponse) GetReports() []*AbsoluteCoverage
func (*GetAbsoluteCoverageDataOneYearResponse) ProtoMessage ¶
func (*GetAbsoluteCoverageDataOneYearResponse) ProtoMessage()
func (*GetAbsoluteCoverageDataOneYearResponse) ProtoReflect ¶
func (x *GetAbsoluteCoverageDataOneYearResponse) ProtoReflect() protoreflect.Message
func (*GetAbsoluteCoverageDataOneYearResponse) Reset ¶
func (x *GetAbsoluteCoverageDataOneYearResponse) Reset()
func (*GetAbsoluteCoverageDataOneYearResponse) String ¶
func (x *GetAbsoluteCoverageDataOneYearResponse) String() string
type GetCoverageSummaryRequest ¶
type GetCoverageSummaryRequest struct { // The Gitiles hostname, e.g. "chromium.googlesource.com" GitilesHost string `protobuf:"bytes,1,opt,name=gitiles_host,json=gitilesHost,proto3" json:"gitiles_host,omitempty"` // The Gitiles project name, e.g. "chromium/src" GitilesProject string `protobuf:"bytes,2,opt,name=gitiles_project,json=gitilesProject,proto3" json:"gitiles_project,omitempty"` // The Gitiles ref, e.g. "refs/heads/main" GitilesRef string `protobuf:"bytes,3,opt,name=gitiles_ref,json=gitilesRef,proto3" json:"gitiles_ref,omitempty"` // The commit hash of the revision GitilesRevision string `protobuf:"bytes,4,opt,name=gitiles_revision,json=gitilesRevision,proto3" json:"gitiles_revision,omitempty"` // Source path relative to the project root. // E.g: // or /media/cast/net/rtp/frame_buffer.cc. Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // List of monorail components to fetch the coverage summary // for. // Note that either path or components must be specified to // fetch the summary. Components []string `protobuf:"bytes,6,rep,name=components,proto3" json:"components,omitempty"` // Flag to fetch coverage results for unit tests only. // Defaults to False, which returns all coverage results. UnitTestsOnly bool `protobuf:"varint,7,opt,name=unit_tests_only,json=unitTestsOnly,proto3" json:"unit_tests_only,omitempty"` // Bucket name, e.g. "try". Unique within the project. // Regex: ^[a-z0-9\-_.]{1,100}$ // Together with project, defines an ACL. // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Bucket string `protobuf:"bytes,8,opt,name=bucket,proto3" json:"bucket,omitempty"` // Builder name, e.g. "linux-rel". Unique within the bucket. // Regex: ^[a-zA-Z0-9\-_.\(\) ]{1,128}$ // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. Builder string `protobuf:"bytes,9,opt,name=builder,proto3" json:"builder,omitempty"` // contains filtered or unexported fields }
func (*GetCoverageSummaryRequest) Descriptor
deprecated
func (*GetCoverageSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCoverageSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetCoverageSummaryRequest) GetBucket ¶
func (x *GetCoverageSummaryRequest) GetBucket() string
func (*GetCoverageSummaryRequest) GetBuilder ¶
func (x *GetCoverageSummaryRequest) GetBuilder() string
func (*GetCoverageSummaryRequest) GetComponents ¶
func (x *GetCoverageSummaryRequest) GetComponents() []string
func (*GetCoverageSummaryRequest) GetGitilesHost ¶
func (x *GetCoverageSummaryRequest) GetGitilesHost() string
func (*GetCoverageSummaryRequest) GetGitilesProject ¶
func (x *GetCoverageSummaryRequest) GetGitilesProject() string
func (*GetCoverageSummaryRequest) GetGitilesRef ¶
func (x *GetCoverageSummaryRequest) GetGitilesRef() string
func (*GetCoverageSummaryRequest) GetGitilesRevision ¶
func (x *GetCoverageSummaryRequest) GetGitilesRevision() string
func (*GetCoverageSummaryRequest) GetPath ¶
func (x *GetCoverageSummaryRequest) GetPath() string
func (*GetCoverageSummaryRequest) GetUnitTestsOnly ¶
func (x *GetCoverageSummaryRequest) GetUnitTestsOnly() bool
func (*GetCoverageSummaryRequest) ProtoMessage ¶
func (*GetCoverageSummaryRequest) ProtoMessage()
func (*GetCoverageSummaryRequest) ProtoReflect ¶
func (x *GetCoverageSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetCoverageSummaryRequest) Reset ¶
func (x *GetCoverageSummaryRequest) Reset()
func (*GetCoverageSummaryRequest) String ¶
func (x *GetCoverageSummaryRequest) String() string
type GetCoverageSummaryResponse ¶
type GetCoverageSummaryResponse struct { // Code Coverage summary containing lines/percentage of code covered. Summary []*structpb.Struct `protobuf:"bytes,1,rep,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
GetCoverageSummaryResponse returns the code coverage summary. Note that for this API if a dir path is specified through the path req param then the response will be an array of length one specifying coverage stats for that dir path. However, if a list of monorail components are specified through the components param them the summary will have an array with each entry having the summary stats for each component.
func (*GetCoverageSummaryResponse) Descriptor
deprecated
func (*GetCoverageSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCoverageSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetCoverageSummaryResponse) GetSummary ¶
func (x *GetCoverageSummaryResponse) GetSummary() []*structpb.Struct
func (*GetCoverageSummaryResponse) ProtoMessage ¶
func (*GetCoverageSummaryResponse) ProtoMessage()
func (*GetCoverageSummaryResponse) ProtoReflect ¶
func (x *GetCoverageSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetCoverageSummaryResponse) Reset ¶
func (x *GetCoverageSummaryResponse) Reset()
func (*GetCoverageSummaryResponse) String ¶
func (x *GetCoverageSummaryResponse) String() string
type GetIncrementalCoverageDataOneYearRequest ¶
type GetIncrementalCoverageDataOneYearRequest struct { // List of source paths relative to the project root. // E.g: [//, //media/cast/net/rtp/frame_buffer.cc] Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // Flag to fetch incremental coverage results for unit tests only. // Defaults to False, which returns all coverage results. UnitTestsOnly bool `protobuf:"varint,2,opt,name=unit_tests_only,json=unitTestsOnly,proto3" json:"unit_tests_only,omitempty"` // contains filtered or unexported fields }
func (*GetIncrementalCoverageDataOneYearRequest) Descriptor
deprecated
func (*GetIncrementalCoverageDataOneYearRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalCoverageDataOneYearRequest.ProtoReflect.Descriptor instead.
func (*GetIncrementalCoverageDataOneYearRequest) GetPaths ¶
func (x *GetIncrementalCoverageDataOneYearRequest) GetPaths() []string
func (*GetIncrementalCoverageDataOneYearRequest) GetUnitTestsOnly ¶
func (x *GetIncrementalCoverageDataOneYearRequest) GetUnitTestsOnly() bool
func (*GetIncrementalCoverageDataOneYearRequest) ProtoMessage ¶
func (*GetIncrementalCoverageDataOneYearRequest) ProtoMessage()
func (*GetIncrementalCoverageDataOneYearRequest) ProtoReflect ¶
func (x *GetIncrementalCoverageDataOneYearRequest) ProtoReflect() protoreflect.Message
func (*GetIncrementalCoverageDataOneYearRequest) Reset ¶
func (x *GetIncrementalCoverageDataOneYearRequest) Reset()
func (*GetIncrementalCoverageDataOneYearRequest) String ¶
func (x *GetIncrementalCoverageDataOneYearRequest) String() string
type GetIncrementalCoverageDataOneYearResponse ¶
type GetIncrementalCoverageDataOneYearResponse struct { // Each item of this list signifies percentage of file changes which are // incrementally covered for a particular date. Reports []*IncrementalCoverage `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
GetIncrementalCoverageDataOneYearResponse returns the incremental coverage data.
func (*GetIncrementalCoverageDataOneYearResponse) Descriptor
deprecated
func (*GetIncrementalCoverageDataOneYearResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalCoverageDataOneYearResponse.ProtoReflect.Descriptor instead.
func (*GetIncrementalCoverageDataOneYearResponse) GetReports ¶
func (x *GetIncrementalCoverageDataOneYearResponse) GetReports() []*IncrementalCoverage
func (*GetIncrementalCoverageDataOneYearResponse) ProtoMessage ¶
func (*GetIncrementalCoverageDataOneYearResponse) ProtoMessage()
func (*GetIncrementalCoverageDataOneYearResponse) ProtoReflect ¶
func (x *GetIncrementalCoverageDataOneYearResponse) ProtoReflect() protoreflect.Message
func (*GetIncrementalCoverageDataOneYearResponse) Reset ¶
func (x *GetIncrementalCoverageDataOneYearResponse) Reset()
func (*GetIncrementalCoverageDataOneYearResponse) String ¶
func (x *GetIncrementalCoverageDataOneYearResponse) String() string
type GetProjectDefaultConfigRequest ¶
type GetProjectDefaultConfigRequest struct { // Luci project for which the default configuration will be fetched. // For example: chromium. Each luci project is unique within a LUCI deployment. // Luci project is equivalent to Buildbucket's concept of a project // and requires regex match ^[a-z0-9-_]+$ // See https://chromium.googlesource.com/infra/luci/luci-go/+/main/buildbucket/proto/builder_common.proto for additional details. LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` // contains filtered or unexported fields }
func (*GetProjectDefaultConfigRequest) Descriptor
deprecated
func (*GetProjectDefaultConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectDefaultConfigRequest.ProtoReflect.Descriptor instead.
func (*GetProjectDefaultConfigRequest) GetLuciProject ¶
func (x *GetProjectDefaultConfigRequest) GetLuciProject() string
func (*GetProjectDefaultConfigRequest) ProtoMessage ¶
func (*GetProjectDefaultConfigRequest) ProtoMessage()
func (*GetProjectDefaultConfigRequest) ProtoReflect ¶
func (x *GetProjectDefaultConfigRequest) ProtoReflect() protoreflect.Message
func (*GetProjectDefaultConfigRequest) Reset ¶
func (x *GetProjectDefaultConfigRequest) Reset()
func (*GetProjectDefaultConfigRequest) String ¶
func (x *GetProjectDefaultConfigRequest) String() string
type GetProjectDefaultConfigResponse ¶
type GetProjectDefaultConfigResponse struct { // The website host where the repo resides. // E.g: chromium.googlesource.com GitilesHost string `protobuf:"bytes,1,opt,name=gitiles_host,json=gitilesHost,proto3" json:"gitiles_host,omitempty"` // Gitiles Project is the git repository. E.g: chromium/src. GitilesProject string `protobuf:"bytes,2,opt,name=gitiles_project,json=gitilesProject,proto3" json:"gitiles_project,omitempty"` // Gitiles Ref is the git branch within the project. E.g: refs/heads/main: GitilesRef string `protobuf:"bytes,3,opt,name=gitiles_ref,json=gitilesRef,proto3" json:"gitiles_ref,omitempty"` // List of builder configs for which a coverage repository // exists. BuilderConfig []*BuilderConfig `protobuf:"bytes,4,rep,name=builder_config,json=builderConfig,proto3" json:"builder_config,omitempty"` // contains filtered or unexported fields }
Default Configuration values for the specified project as stored in FinditConfig entity.
func (*GetProjectDefaultConfigResponse) Descriptor
deprecated
func (*GetProjectDefaultConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectDefaultConfigResponse.ProtoReflect.Descriptor instead.
func (*GetProjectDefaultConfigResponse) GetBuilderConfig ¶
func (x *GetProjectDefaultConfigResponse) GetBuilderConfig() []*BuilderConfig
func (*GetProjectDefaultConfigResponse) GetGitilesHost ¶
func (x *GetProjectDefaultConfigResponse) GetGitilesHost() string
func (*GetProjectDefaultConfigResponse) GetGitilesProject ¶
func (x *GetProjectDefaultConfigResponse) GetGitilesProject() string
func (*GetProjectDefaultConfigResponse) GetGitilesRef ¶
func (x *GetProjectDefaultConfigResponse) GetGitilesRef() string
func (*GetProjectDefaultConfigResponse) ProtoMessage ¶
func (*GetProjectDefaultConfigResponse) ProtoMessage()
func (*GetProjectDefaultConfigResponse) ProtoReflect ¶
func (x *GetProjectDefaultConfigResponse) ProtoReflect() protoreflect.Message
func (*GetProjectDefaultConfigResponse) Reset ¶
func (x *GetProjectDefaultConfigResponse) Reset()
func (*GetProjectDefaultConfigResponse) String ¶
func (x *GetProjectDefaultConfigResponse) String() string
type IncrementalCoverage ¶
type IncrementalCoverage struct { // Date is of the format "YYYY-MM-DD" Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // file_changes_covered field signifies the number of file changes that are // incrementally covered on the date. In order for a file to be counted as // incrementally covered, the incremental coverage on it must cross a // threshold of 70%. This 70% number is what we officially use to block CLs // if below this threshold. Take a look here: // http://shortn/_50L07WgOVu FileChangesCovered int64 `protobuf:"varint,2,opt,name=file_changes_covered,json=fileChangesCovered,proto3" json:"file_changes_covered,omitempty"` // Total number of file changes made on the date TotalFileChanges int64 `protobuf:"varint,3,opt,name=total_file_changes,json=totalFileChanges,proto3" json:"total_file_changes,omitempty"` // contains filtered or unexported fields }
IncrementalCoverage captures the code coverage rate from CLs for a given set of paths. On a given day, multiple changes may edit the same file, resulting in several incremental reports for that file path. Each change may also generate multiple reports. IncrementalCoverage reports the sum of unique reports per CL per day. The latest report (and thus data from the latest patchset) is used per CL. For example, if we have a file //test.cc modified by CL1 and CL2, and CL2 has PS1, PS2 and PS3, IncrementalCoverage is the aggregate of the reports generated by CL1 PS1 + CL2 PS3.
func (*IncrementalCoverage) Descriptor
deprecated
func (*IncrementalCoverage) Descriptor() ([]byte, []int)
Deprecated: Use IncrementalCoverage.ProtoReflect.Descriptor instead.
func (*IncrementalCoverage) GetDate ¶
func (x *IncrementalCoverage) GetDate() string
func (*IncrementalCoverage) GetFileChangesCovered ¶
func (x *IncrementalCoverage) GetFileChangesCovered() int64
func (*IncrementalCoverage) GetTotalFileChanges ¶
func (x *IncrementalCoverage) GetTotalFileChanges() int64
func (*IncrementalCoverage) ProtoMessage ¶
func (*IncrementalCoverage) ProtoMessage()
func (*IncrementalCoverage) ProtoReflect ¶
func (x *IncrementalCoverage) ProtoReflect() protoreflect.Message
func (*IncrementalCoverage) Reset ¶
func (x *IncrementalCoverage) Reset()
func (*IncrementalCoverage) String ¶
func (x *IncrementalCoverage) String() string
type ListComponentsRequest ¶
type ListComponentsRequest struct {
// contains filtered or unexported fields
}
func (*ListComponentsRequest) Descriptor
deprecated
func (*ListComponentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentsRequest.ProtoReflect.Descriptor instead.
func (*ListComponentsRequest) ProtoMessage ¶
func (*ListComponentsRequest) ProtoMessage()
func (*ListComponentsRequest) ProtoReflect ¶
func (x *ListComponentsRequest) ProtoReflect() protoreflect.Message
func (*ListComponentsRequest) Reset ¶
func (x *ListComponentsRequest) Reset()
func (*ListComponentsRequest) String ¶
func (x *ListComponentsRequest) String() string
type ListComponentsResponse ¶
type ListComponentsResponse struct { // A list of component names that can be passed into other services to get // test information about Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` // A list of components owned by the signed in user. For public or not // signed in googlers, returns an empty list OwnedComponents []string `protobuf:"bytes,2,rep,name=owned_components,json=ownedComponents,proto3" json:"owned_components,omitempty"` // contains filtered or unexported fields }
func (*ListComponentsResponse) Descriptor
deprecated
func (*ListComponentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComponentsResponse.ProtoReflect.Descriptor instead.
func (*ListComponentsResponse) GetComponents ¶
func (x *ListComponentsResponse) GetComponents() []string
func (*ListComponentsResponse) GetOwnedComponents ¶
func (x *ListComponentsResponse) GetOwnedComponents() []string
func (*ListComponentsResponse) ProtoMessage ¶
func (*ListComponentsResponse) ProtoMessage()
func (*ListComponentsResponse) ProtoReflect ¶
func (x *ListComponentsResponse) ProtoReflect() protoreflect.Message
func (*ListComponentsResponse) Reset ¶
func (x *ListComponentsResponse) Reset()
func (*ListComponentsResponse) String ¶
func (x *ListComponentsResponse) String() string
type MetricType ¶
type MetricType int32
Metrics that can by retrieved for any view
const ( MetricType_UNKNOWN_METRIC MetricType = 0 MetricType_NUM_RUNS MetricType = 1 MetricType_NUM_FAILURES MetricType = 2 MetricType_TOTAL_RUNTIME MetricType = 3 MetricType_AVG_CORES MetricType = 4 MetricType_AVG_RUNTIME MetricType = 5 MetricType_P50_RUNTIME MetricType = 6 MetricType_P90_RUNTIME MetricType = 7 )
func (MetricType) Descriptor ¶
func (MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor
deprecated
func (MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricType.Descriptor instead.
func (MetricType) Number ¶
func (x MetricType) Number() protoreflect.EnumNumber
func (MetricType) String ¶
func (x MetricType) String() string
func (MetricType) Type ¶
func (MetricType) Type() protoreflect.EnumType
type Period ¶
type Period int32
Enumeration to specify the time period to fetch
func (Period) Descriptor ¶
func (Period) Descriptor() protoreflect.EnumDescriptor
func (Period) EnumDescriptor
deprecated
func (Period) Number ¶
func (x Period) Number() protoreflect.EnumNumber
func (Period) Type ¶
func (Period) Type() protoreflect.EnumType
type SortBy ¶
type SortBy struct { // What to sort by Metric SortType `protobuf:"varint,1,opt,name=metric,proto3,enum=test_resources.SortType" json:"metric,omitempty"` // Ascending or Descending Ascending bool `protobuf:"varint,2,opt,name=ascending,proto3" json:"ascending,omitempty"` // The day to do the sorting on. This day must be in the request as well // Defaults to the first date being requested SortDate string `protobuf:"bytes,3,opt,name=sort_date,json=sortDate,proto3" json:"sort_date,omitempty"` // contains filtered or unexported fields }
func (*SortBy) Descriptor
deprecated
func (*SortBy) GetAscending ¶
func (*SortBy) GetSortDate ¶
func (*SortBy) ProtoMessage ¶
func (*SortBy) ProtoMessage()
func (*SortBy) ProtoReflect ¶
func (x *SortBy) ProtoReflect() protoreflect.Message
type SortType ¶
type SortType int32
Sort types includes all metric types as well as the name (ie test name or directory name to sort)
const ( SortType_UNKNOWN_SORTTYPE SortType = 0 SortType_SORT_NAME SortType = 1 SortType_SORT_NUM_RUNS SortType = 2 SortType_SORT_NUM_FAILURES SortType = 3 SortType_SORT_TOTAL_RUNTIME SortType = 4 SortType_SORT_AVG_CORES SortType = 5 SortType_SORT_AVG_RUNTIME SortType = 6 SortType_SORT_P50_RUNTIME SortType = 7 SortType_SORT_P90_RUNTIME SortType = 8 )
func (SortType) Descriptor ¶
func (SortType) Descriptor() protoreflect.EnumDescriptor
func (SortType) EnumDescriptor
deprecated
func (SortType) Number ¶
func (x SortType) Number() protoreflect.EnumNumber
func (SortType) Type ¶
func (SortType) Type() protoreflect.EnumType
type StatsClient ¶
type StatsClient interface { // Updates metrics for the given time period. This will be used for // backfilling when the cron job wasn't run UpdateMetricsTable(ctx context.Context, in *UpdateMetricsTableRequest, opts ...grpc.CallOption) (*UpdateMetricsTableResponse, error) // Gets all the components as well as a list of all the components the user's // team is responsible for ListComponents(ctx context.Context, in *ListComponentsRequest, opts ...grpc.CallOption) (*ListComponentsResponse, error) // Gets information about a test. This includes all the variants of that test FetchTestMetrics(ctx context.Context, in *FetchTestMetricsRequest, opts ...grpc.CallOption) (*FetchTestMetricsResponse, error) // Gets information about a file or directory. FetchDirectoryMetrics(ctx context.Context, in *FetchDirectoryMetricsRequest, opts ...grpc.CallOption) (*FetchDirectoryMetricsResponse, error) }
StatsClient is the client API for Stats service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStatsClient ¶
func NewStatsClient(cc grpc.ClientConnInterface) StatsClient
func NewStatsPRPCClient ¶
func NewStatsPRPCClient(client *prpc.Client) StatsClient
type StatsServer ¶
type StatsServer interface { // Updates metrics for the given time period. This will be used for // backfilling when the cron job wasn't run UpdateMetricsTable(context.Context, *UpdateMetricsTableRequest) (*UpdateMetricsTableResponse, error) // Gets all the components as well as a list of all the components the user's // team is responsible for ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error) // Gets information about a test. This includes all the variants of that test FetchTestMetrics(context.Context, *FetchTestMetricsRequest) (*FetchTestMetricsResponse, error) // Gets information about a file or directory. FetchDirectoryMetrics(context.Context, *FetchDirectoryMetricsRequest) (*FetchDirectoryMetricsResponse, error) }
StatsServer is the server API for Stats service.
type TestDateMetricData ¶
type TestDateMetricData struct { // The test's unique id TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"` // The test's display name TestName string `protobuf:"bytes,2,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"` // The file in which the test is contained FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // Rollup metrics for the test id (i.e. the rolled up variants). This is a map // of dates (in YYYY-MM-DD format) to an array of measured metrics. Metrics map[string]*TestMetricsArray `` /* 141-byte string literal not displayed */ // Breakdown of the variants of this test Variants []*TestVariantData `protobuf:"bytes,5,rep,name=variants,proto3" json:"variants,omitempty"` // contains filtered or unexported fields }
func (*TestDateMetricData) Descriptor
deprecated
func (*TestDateMetricData) Descriptor() ([]byte, []int)
Deprecated: Use TestDateMetricData.ProtoReflect.Descriptor instead.
func (*TestDateMetricData) GetFileName ¶
func (x *TestDateMetricData) GetFileName() string
func (*TestDateMetricData) GetMetrics ¶
func (x *TestDateMetricData) GetMetrics() map[string]*TestMetricsArray
func (*TestDateMetricData) GetTestId ¶
func (x *TestDateMetricData) GetTestId() string
func (*TestDateMetricData) GetTestName ¶
func (x *TestDateMetricData) GetTestName() string
func (*TestDateMetricData) GetVariants ¶
func (x *TestDateMetricData) GetVariants() []*TestVariantData
func (*TestDateMetricData) ProtoMessage ¶
func (*TestDateMetricData) ProtoMessage()
func (*TestDateMetricData) ProtoReflect ¶
func (x *TestDateMetricData) ProtoReflect() protoreflect.Message
func (*TestDateMetricData) Reset ¶
func (x *TestDateMetricData) Reset()
func (*TestDateMetricData) String ¶
func (x *TestDateMetricData) String() string
type TestMetricsArray ¶
type TestMetricsArray struct { // The requested metric mapped to the value of that metric Data []*TestMetricsData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TestMetricsArray) Descriptor
deprecated
func (*TestMetricsArray) Descriptor() ([]byte, []int)
Deprecated: Use TestMetricsArray.ProtoReflect.Descriptor instead.
func (*TestMetricsArray) GetData ¶
func (x *TestMetricsArray) GetData() []*TestMetricsData
func (*TestMetricsArray) ProtoMessage ¶
func (*TestMetricsArray) ProtoMessage()
func (*TestMetricsArray) ProtoReflect ¶
func (x *TestMetricsArray) ProtoReflect() protoreflect.Message
func (*TestMetricsArray) Reset ¶
func (x *TestMetricsArray) Reset()
func (*TestMetricsArray) String ¶
func (x *TestMetricsArray) String() string
type TestMetricsData ¶
type TestMetricsData struct { // The metric being measured MetricType MetricType `protobuf:"varint,1,opt,name=metric_type,json=metricType,proto3,enum=test_resources.MetricType" json:"metric_type,omitempty"` // The value of the metric MetricValue float64 `protobuf:"fixed64,2,opt,name=metric_value,json=metricValue,proto3" json:"metric_value,omitempty"` // contains filtered or unexported fields }
func (*TestMetricsData) Descriptor
deprecated
func (*TestMetricsData) Descriptor() ([]byte, []int)
Deprecated: Use TestMetricsData.ProtoReflect.Descriptor instead.
func (*TestMetricsData) GetMetricType ¶
func (x *TestMetricsData) GetMetricType() MetricType
func (*TestMetricsData) GetMetricValue ¶
func (x *TestMetricsData) GetMetricValue() float64
func (*TestMetricsData) ProtoMessage ¶
func (*TestMetricsData) ProtoMessage()
func (*TestMetricsData) ProtoReflect ¶
func (x *TestMetricsData) ProtoReflect() protoreflect.Message
func (*TestMetricsData) Reset ¶
func (x *TestMetricsData) Reset()
func (*TestMetricsData) String ¶
func (x *TestMetricsData) String() string
type TestVariantData ¶
type TestVariantData struct { // The suite which this variant belongs to Suite string `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"` // The builder which this variant was run on Builder string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` // The bucket the builder is in (i.e. try, ci) Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` // Rollup metrics for the variant. This is a map of dates (in YYYY-MM-DD // format) to an array of measured metrics. Metrics map[string]*TestMetricsArray `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestVariantData) Descriptor
deprecated
func (*TestVariantData) Descriptor() ([]byte, []int)
Deprecated: Use TestVariantData.ProtoReflect.Descriptor instead.
func (*TestVariantData) GetBucket ¶
func (x *TestVariantData) GetBucket() string
func (*TestVariantData) GetBuilder ¶
func (x *TestVariantData) GetBuilder() string
func (*TestVariantData) GetMetrics ¶
func (x *TestVariantData) GetMetrics() map[string]*TestMetricsArray
func (*TestVariantData) GetSuite ¶
func (x *TestVariantData) GetSuite() string
func (*TestVariantData) ProtoMessage ¶
func (*TestVariantData) ProtoMessage()
func (*TestVariantData) ProtoReflect ¶
func (x *TestVariantData) ProtoReflect() protoreflect.Message
func (*TestVariantData) Reset ¶
func (x *TestVariantData) Reset()
func (*TestVariantData) String ¶
func (x *TestVariantData) String() string
type UnimplementedCoverageServer ¶
type UnimplementedCoverageServer struct { }
UnimplementedCoverageServer can be embedded to have forward compatible implementations.
func (*UnimplementedCoverageServer) GetAbsoluteCoverageDataOneYear ¶
func (*UnimplementedCoverageServer) GetAbsoluteCoverageDataOneYear(context.Context, *GetAbsoluteCoverageDataOneYearRequest) (*GetAbsoluteCoverageDataOneYearResponse, error)
func (*UnimplementedCoverageServer) GetCoverageSummary ¶
func (*UnimplementedCoverageServer) GetCoverageSummary(context.Context, *GetCoverageSummaryRequest) (*GetCoverageSummaryResponse, error)
func (*UnimplementedCoverageServer) GetIncrementalCoverageDataOneYear ¶
func (*UnimplementedCoverageServer) GetIncrementalCoverageDataOneYear(context.Context, *GetIncrementalCoverageDataOneYearRequest) (*GetIncrementalCoverageDataOneYearResponse, error)
func (*UnimplementedCoverageServer) GetProjectDefaultConfig ¶
func (*UnimplementedCoverageServer) GetProjectDefaultConfig(context.Context, *GetProjectDefaultConfigRequest) (*GetProjectDefaultConfigResponse, error)
type UnimplementedStatsServer ¶
type UnimplementedStatsServer struct { }
UnimplementedStatsServer can be embedded to have forward compatible implementations.
func (*UnimplementedStatsServer) FetchDirectoryMetrics ¶
func (*UnimplementedStatsServer) FetchDirectoryMetrics(context.Context, *FetchDirectoryMetricsRequest) (*FetchDirectoryMetricsResponse, error)
func (*UnimplementedStatsServer) FetchTestMetrics ¶
func (*UnimplementedStatsServer) FetchTestMetrics(context.Context, *FetchTestMetricsRequest) (*FetchTestMetricsResponse, error)
func (*UnimplementedStatsServer) ListComponents ¶
func (*UnimplementedStatsServer) ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
func (*UnimplementedStatsServer) UpdateMetricsTable ¶
func (*UnimplementedStatsServer) UpdateMetricsTable(context.Context, *UpdateMetricsTableRequest) (*UpdateMetricsTableResponse, error)
type UpdateMetricsTableRequest ¶
type UpdateMetricsTableRequest struct { // Inclusive start date to update // Dates should be specified in YYYY-MM-DD format. FromDate string `protobuf:"bytes,1,opt,name=from_date,json=fromDate,proto3" json:"from_date,omitempty"` // Inclusive end date to update // Dates should be specified in YYYY-MM-DD format. ToDate string `protobuf:"bytes,2,opt,name=to_date,json=toDate,proto3" json:"to_date,omitempty"` // contains filtered or unexported fields }
func (*UpdateMetricsTableRequest) Descriptor
deprecated
func (*UpdateMetricsTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetricsTableRequest.ProtoReflect.Descriptor instead.
func (*UpdateMetricsTableRequest) GetFromDate ¶
func (x *UpdateMetricsTableRequest) GetFromDate() string
func (*UpdateMetricsTableRequest) GetToDate ¶
func (x *UpdateMetricsTableRequest) GetToDate() string
func (*UpdateMetricsTableRequest) ProtoMessage ¶
func (*UpdateMetricsTableRequest) ProtoMessage()
func (*UpdateMetricsTableRequest) ProtoReflect ¶
func (x *UpdateMetricsTableRequest) ProtoReflect() protoreflect.Message
func (*UpdateMetricsTableRequest) Reset ¶
func (x *UpdateMetricsTableRequest) Reset()
func (*UpdateMetricsTableRequest) String ¶
func (x *UpdateMetricsTableRequest) String() string
type UpdateMetricsTableResponse ¶
type UpdateMetricsTableResponse struct {
// contains filtered or unexported fields
}
func (*UpdateMetricsTableResponse) Descriptor
deprecated
func (*UpdateMetricsTableResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetricsTableResponse.ProtoReflect.Descriptor instead.
func (*UpdateMetricsTableResponse) ProtoMessage ¶
func (*UpdateMetricsTableResponse) ProtoMessage()
func (*UpdateMetricsTableResponse) ProtoReflect ¶
func (x *UpdateMetricsTableResponse) ProtoReflect() protoreflect.Message
func (*UpdateMetricsTableResponse) Reset ¶
func (x *UpdateMetricsTableResponse) Reset()
func (*UpdateMetricsTableResponse) String ¶
func (x *UpdateMetricsTableResponse) String() string