Documentation
¶
Index ¶
- Variables
- type AlertInfo
- func (*AlertInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AlertInfo) GetBuildLink() string
- func (x *AlertInfo) GetBuildLinkText() string
- func (x *AlertInfo) GetBuildUrlText() string
- func (x *AlertInfo) GetEmailAddresses() []string
- func (x *AlertInfo) GetFailBuildId() string
- func (x *AlertInfo) GetFailCount() int32
- func (x *AlertInfo) GetFailTestId() string
- func (x *AlertInfo) GetFailTime() *timestamppb.Timestamp
- func (x *AlertInfo) GetFailureMessage() string
- func (x *AlertInfo) GetHotlistIds() []string
- func (x *AlertInfo) GetLatestFailBuildId() string
- func (x *AlertInfo) GetLatestFailTestId() string
- func (x *AlertInfo) GetPassBuildId() string
- func (x *AlertInfo) GetPassTime() *timestamppb.Timestamp
- func (x *AlertInfo) GetProperties() map[string]string
- func (*AlertInfo) ProtoMessage()
- func (x *AlertInfo) ProtoReflect() protoreflect.Message
- func (x *AlertInfo) Reset()
- func (x *AlertInfo) String() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetClusterRow() []*ClusterRow
- func (x *Cluster) GetMessage() string
- func (x *Cluster) GetTestStatus() int32
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type ClusterRow
- type Column
- func (*Column) Descriptor() ([]byte, []int)deprecated
- func (x *Column) GetBuild() string
- func (x *Column) GetEmailAddresses() []string
- func (x *Column) GetExtra() []string
- func (x *Column) GetHint() string
- func (x *Column) GetHotlistIds() string
- func (x *Column) GetName() string
- func (x *Column) GetStarted() float64
- func (x *Column) GetStats() *Stats
- func (*Column) ProtoMessage()
- func (x *Column) ProtoReflect() protoreflect.Message
- func (x *Column) Reset()
- func (x *Column) String() string
- type Grid
- func (*Grid) Descriptor() ([]byte, []int)deprecated
- func (x *Grid) GetCluster() []*Cluster
- func (x *Grid) GetColumns() []*Column
- func (x *Grid) GetConfig() *config.TestGroup
- func (x *Grid) GetLastTimeUpdated() float64
- func (x *Grid) GetMostRecentClusterTimestamp() float64
- func (x *Grid) GetRows() []*Row
- func (x *Grid) GetTestMetadata() []*TestMetadata
- func (x *Grid) GetUpdateInfo() []*UpdateInfo
- func (*Grid) ProtoMessage()
- func (x *Grid) ProtoReflect() protoreflect.Message
- func (x *Grid) Reset()
- func (x *Grid) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetIndices() []int32
- func (x *Metric) GetName() string
- func (x *Metric) GetValues() []float64
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type Property
- type Row
- func (*Row) Descriptor() ([]byte, []int)deprecated
- func (x *Row) GetAlertInfo() *AlertInfo
- func (x *Row) GetCellIds() []string
- func (x *Row) GetIcons() []string
- func (x *Row) GetId() string
- func (x *Row) GetIssues() []string
- func (x *Row) GetMessages() []string
- func (x *Row) GetMetric() []string
- func (x *Row) GetMetrics() []*Metric
- func (x *Row) GetName() string
- func (x *Row) GetProperties() []*Property
- func (x *Row) GetResults() []int32
- func (x *Row) GetUserProperty() []string
- func (*Row) ProtoMessage()
- func (x *Row) ProtoReflect() protoreflect.Message
- func (x *Row) Reset()
- func (x *Row) String() string
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetBroken() bool
- func (x *Stats) GetFailCount() int32
- func (x *Stats) GetPassCount() int32
- func (x *Stats) GetPending() bool
- func (x *Stats) GetTotalCount() int32
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type TestMetadata
- func (*TestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TestMetadata) GetBugComponent() int32
- func (x *TestMetadata) GetCc() []string
- func (x *TestMetadata) GetErrorType() string
- func (x *TestMetadata) GetOwner() string
- func (x *TestMetadata) GetTestName() string
- func (*TestMetadata) ProtoMessage()
- func (x *TestMetadata) ProtoReflect() protoreflect.Message
- func (x *TestMetadata) Reset()
- func (x *TestMetadata) String() string
- type UpdateInfo
- type UpdatePhaseData
- func (*UpdatePhaseData) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePhaseData) GetPhaseName() string
- func (x *UpdatePhaseData) GetPhaseSeconds() float64
- func (*UpdatePhaseData) ProtoMessage()
- func (x *UpdatePhaseData) ProtoReflect() protoreflect.Message
- func (x *UpdatePhaseData) Reset()
- func (x *UpdatePhaseData) String() string
Constants ¶
This section is empty.
Variables ¶
var File_state_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlertInfo ¶
type AlertInfo struct {
// Number of results that have failed.
FailCount int32 `protobuf:"varint,1,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"`
// The build ID the test first failed at.
FailBuildId string `protobuf:"bytes,2,opt,name=fail_build_id,json=failBuildId,proto3" json:"fail_build_id,omitempty"`
// The time the test first failed at.
FailTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=fail_time,json=failTime,proto3" json:"fail_time,omitempty"`
// The test ID for the first test failure.
FailTestId string `protobuf:"bytes,4,opt,name=fail_test_id,json=failTestId,proto3" json:"fail_test_id,omitempty"`
// The build ID the test last passed at.
PassBuildId string `protobuf:"bytes,5,opt,name=pass_build_id,json=passBuildId,proto3" json:"pass_build_id,omitempty"`
// The time the test last passed at.
PassTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=pass_time,json=passTime,proto3" json:"pass_time,omitempty"`
// A snippet explaining the failure.
FailureMessage string `protobuf:"bytes,7,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// Link to search for build changes, internally a code-search link.
BuildLink string `protobuf:"bytes,8,opt,name=build_link,json=buildLink,proto3" json:"build_link,omitempty"`
// Text for option to search for build changes.
BuildLinkText string `protobuf:"bytes,9,opt,name=build_link_text,json=buildLinkText,proto3" json:"build_link_text,omitempty"`
// Text to display for link to search for build changes.
BuildUrlText string `protobuf:"bytes,10,opt,name=build_url_text,json=buildUrlText,proto3" json:"build_url_text,omitempty"`
// The build ID for the latest test failure. (Does not indicate the failure is
// 'over', just the latest test failure we found.)
LatestFailBuildId string `protobuf:"bytes,11,opt,name=latest_fail_build_id,json=latestFailBuildId,proto3" json:"latest_fail_build_id,omitempty"`
// The test ID for the latest test failure.
LatestFailTestId string `protobuf:"bytes,14,opt,name=latest_fail_test_id,json=latestFailTestId,proto3" json:"latest_fail_test_id,omitempty"`
// Maps (property name):(property value) for arbitrary alert properties.
Properties map[string]string `` /* 162-byte string literal not displayed */
// A list of IDs for issue hotlists related to this failure.
HotlistIds []string `protobuf:"bytes,13,rep,name=hotlist_ids,json=hotlistIds,proto3" json:"hotlist_ids,omitempty"`
// Dynamic email list, route email alerts to these instead of the configured
// defaults.
EmailAddresses []string `protobuf:"bytes,15,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"`
// contains filtered or unexported fields
}
Info on a failing test row about the failure.
func (*AlertInfo) Descriptor
deprecated
func (*AlertInfo) GetBuildLink ¶
func (*AlertInfo) GetBuildLinkText ¶
func (*AlertInfo) GetBuildUrlText ¶
func (*AlertInfo) GetEmailAddresses ¶ added in v0.0.74
func (*AlertInfo) GetFailBuildId ¶
func (*AlertInfo) GetFailCount ¶
func (*AlertInfo) GetFailTestId ¶
func (*AlertInfo) GetFailTime ¶
func (x *AlertInfo) GetFailTime() *timestamppb.Timestamp
func (*AlertInfo) GetFailureMessage ¶
func (*AlertInfo) GetHotlistIds ¶ added in v0.0.30
func (*AlertInfo) GetLatestFailBuildId ¶ added in v0.0.17
func (*AlertInfo) GetLatestFailTestId ¶ added in v0.0.49
func (*AlertInfo) GetPassBuildId ¶
func (*AlertInfo) GetPassTime ¶
func (x *AlertInfo) GetPassTime() *timestamppb.Timestamp
func (*AlertInfo) GetProperties ¶ added in v0.0.24
func (*AlertInfo) ProtoMessage ¶
func (*AlertInfo) ProtoMessage()
func (*AlertInfo) ProtoReflect ¶ added in v0.0.91
func (x *AlertInfo) ProtoReflect() protoreflect.Message
type Cluster ¶
type Cluster struct {
// Test status cluster grouped by.
TestStatus int32 `protobuf:"varint,1,opt,name=test_status,json=testStatus,proto3" json:"test_status,omitempty"`
// Error message or testFailureClassification string cluster grouped by.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// ClusterRows that belong to this cluster.
ClusterRow []*ClusterRow `protobuf:"bytes,3,rep,name=cluster_row,json=clusterRow,proto3" json:"cluster_row,omitempty"`
// contains filtered or unexported fields
}
A cluster of failures grouped by test status and message for a test results table.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetClusterRow ¶
func (x *Cluster) GetClusterRow() []*ClusterRow
func (*Cluster) GetMessage ¶
func (*Cluster) GetTestStatus ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶ added in v0.0.91
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterRow ¶
type ClusterRow struct {
// Name of TestRow.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Index within row that belongs to Cluster (refer to columns of the row).
Index []int32 `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"`
// contains filtered or unexported fields
}
Cells in a TestRow that belong to a specific Cluster.
func (*ClusterRow) Descriptor
deprecated
func (*ClusterRow) Descriptor() ([]byte, []int)
Deprecated: Use ClusterRow.ProtoReflect.Descriptor instead.
func (*ClusterRow) GetDisplayName ¶
func (x *ClusterRow) GetDisplayName() string
func (*ClusterRow) GetIndex ¶
func (x *ClusterRow) GetIndex() []int32
func (*ClusterRow) ProtoMessage ¶
func (*ClusterRow) ProtoMessage()
func (*ClusterRow) ProtoReflect ¶ added in v0.0.91
func (x *ClusterRow) ProtoReflect() protoreflect.Message
func (*ClusterRow) Reset ¶
func (x *ClusterRow) Reset()
func (*ClusterRow) String ¶
func (x *ClusterRow) String() string
type Column ¶
type Column struct {
// Unique instance of the job, typically BUILD_NUMBER from prow or a guid
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// Name associated with the column (such as the run/invocation ID).No two
// columns should have the same build_id and name. The name field allows the
// display of multiple columns with the same build_id.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Milliseconds since start of epoch (python time.time() * 1000)
// TODO(#683): Use a timestamp, not this double
Started float64 `protobuf:"fixed64,3,opt,name=started,proto3" json:"started,omitempty"`
// Additional custom headers like commit, image used, etc.
Extra []string `protobuf:"bytes,4,rep,name=extra,proto3" json:"extra,omitempty"`
// Custom hotlist ids.
HotlistIds string `protobuf:"bytes,5,opt,name=hotlist_ids,json=hotlistIds,proto3" json:"hotlist_ids,omitempty"`
// An optional hint for the updater.
Hint string `protobuf:"bytes,6,opt,name=hint,proto3" json:"hint,omitempty"`
// Dynamic email list, route email alerts to these instead of the configured
// defaults.
EmailAddresses []string `protobuf:"bytes,7,rep,name=email_addresses,json=emailAddresses,proto3" json:"email_addresses,omitempty"`
// Status totals for the column.
// Only written in tab state, if a broken threshold is defined for columns.
Stats *Stats `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
TestGrid column headers. Does not contain the individual cells.
func (*Column) Descriptor
deprecated
func (*Column) GetEmailAddresses ¶ added in v0.0.74
func (*Column) GetHotlistIds ¶
func (*Column) GetStarted ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶ added in v0.0.91
func (x *Column) ProtoReflect() protoreflect.Message
type Grid ¶
type Grid struct {
// A cycle of test results, not including the results. In the TestGrid client,
// the cycles define the columns.
Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// A test case with test results. In the TestGrid client, the cases define the
// rows (and the results define the individual cells).
Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// The latest configuration used to generate this test group.
Config *config.TestGroup `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
// Seconds since epoch for last time this cycle was updated.
LastTimeUpdated float64 `protobuf:"fixed64,6,opt,name=last_time_updated,json=lastTimeUpdated,proto3" json:"last_time_updated,omitempty"`
// Stored info on previous timing for parts of the update cycle.
UpdateInfo []*UpdateInfo `protobuf:"bytes,8,rep,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"`
// Stored info on default test metadata.
TestMetadata []*TestMetadata `protobuf:"bytes,9,rep,name=test_metadata,json=testMetadata,proto3" json:"test_metadata,omitempty"`
// Clusters of failures for a TestResultTable instance.
Cluster []*Cluster `protobuf:"bytes,10,rep,name=cluster,proto3" json:"cluster,omitempty"`
// Most recent timestamp that clusters have processed.
MostRecentClusterTimestamp float64 `` /* 146-byte string literal not displayed */
// contains filtered or unexported fields
}
A single table of test results backing a dashboard tab.
func (*Grid) Descriptor
deprecated
func (*Grid) GetCluster ¶
func (*Grid) GetColumns ¶
func (*Grid) GetLastTimeUpdated ¶
func (*Grid) GetMostRecentClusterTimestamp ¶
func (*Grid) GetTestMetadata ¶
func (x *Grid) GetTestMetadata() []*TestMetadata
func (*Grid) GetUpdateInfo ¶
func (x *Grid) GetUpdateInfo() []*UpdateInfo
func (*Grid) ProtoMessage ¶
func (*Grid) ProtoMessage()
func (*Grid) ProtoReflect ¶ added in v0.0.91
func (x *Grid) ProtoReflect() protoreflect.Message
type Metric ¶
type Metric struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of metric, such as duration
// Sparse encoding of values. Indices is a list of pairs of <index, count>
// that details columns with metric values. So given:
// Indices: [0, 2, 6, 4]
// Values: [0.1,0.2,6.1,6.2,6.3,6.4]
// Decoded 12-value equivalent is:
// [0.1, 0.2, nil, nil, nil, nil, 6.1, 6.2, 6.3, 6.4, nil, nil, ...]
Indices []int32 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` // n=index of first value, n+1=count of filled values
Values []float64 `protobuf:"fixed64,3,rep,packed,name=values,proto3" json:"values,omitempty"` // only present for columns with a metric value
// contains filtered or unexported fields
}
A metric and its values for each test cycle.
func (*Metric) Descriptor
deprecated
func (*Metric) GetIndices ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶ added in v0.0.91
func (x *Metric) ProtoReflect() protoreflect.Message
type Property ¶ added in v0.0.96
type Property struct {
Property map[string]string `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Property) Descriptor
deprecated
added in
v0.0.96
func (*Property) GetProperty ¶ added in v0.0.96
func (*Property) ProtoMessage ¶ added in v0.0.96
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶ added in v0.0.96
func (x *Property) ProtoReflect() protoreflect.Message
type Row ¶
type Row struct {
// Display name, which might process id to append/filter info.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// raw id for the row, such as the bazel target or golang package.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Results for this row, run-length encoded to reduce size/improve
// performance. Thus (encoded -> decoded equivalent):
// [0, 3, 5, 4] -> [0, 0, 0, 5, 5, 5, 5]
// [5, 1] -> [5]
// [1, 5] -> [1, 1, 1, 1, 1]
// The decoded values are Result enums
Results []int32 `protobuf:"varint,3,rep,packed,name=results,proto3" json:"results,omitempty"`
// Test IDs for each test result in this test case.
// Must be present on every column, regardless of status.
CellIds []string `protobuf:"bytes,4,rep,name=cell_ids,json=cellIds,proto3" json:"cell_ids,omitempty"`
// Short description of the result, displayed on mouseover.
// Present for any column with a non-empty status (not NO_RESULT).
Messages []string `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"`
// Names of metrics associated with this test case. Stored separate from
// metric info (which may be omitted).
Metric []string `protobuf:"bytes,7,rep,name=metric,proto3" json:"metric,omitempty"`
Metrics []*Metric `protobuf:"bytes,8,rep,name=metrics,proto3" json:"metrics,omitempty"` // Numerical performance/timing data, etc.
// Short string to place inside the cell (F for fail, etc)
// Present for any column with a non-empty status (not NO_RESULT).
Icons []string `protobuf:"bytes,9,rep,name=icons,proto3" json:"icons,omitempty"`
// IDs for issues associated with this row.
Issues []string `protobuf:"bytes,10,rep,name=issues,proto3" json:"issues,omitempty"`
// An alert for the failure if there's a recent failure for this row.
AlertInfo *AlertInfo `protobuf:"bytes,11,opt,name=alert_info,json=alertInfo,proto3" json:"alert_info,omitempty"`
// Values of a user-defined property found in cells for this row.
// TODO: Fold this into `properties` field.
UserProperty []string `protobuf:"bytes,12,rep,name=user_property,json=userProperty,proto3" json:"user_property,omitempty"`
// General key-value pairs associated with cells in this row.
// Present for any column with a non-empty status (not NO_RESULT).
Properties []*Property `protobuf:"bytes,13,rep,name=properties,proto3" json:"properties,omitempty"`
// contains filtered or unexported fields
}
TestGrid rows
func (*Row) Descriptor
deprecated
func (*Row) GetAlertInfo ¶
func (*Row) GetCellIds ¶
func (*Row) GetMessages ¶
func (*Row) GetMetrics ¶
func (*Row) GetProperties ¶ added in v0.0.96
func (*Row) GetResults ¶
func (*Row) GetUserProperty ¶ added in v0.0.31
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶ added in v0.0.91
func (x *Row) ProtoReflect() protoreflect.Message
type Stats ¶ added in v0.0.136
type Stats struct {
FailCount int32 `protobuf:"varint,1,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"`
PassCount int32 `protobuf:"varint,2,opt,name=pass_count,json=passCount,proto3" json:"pass_count,omitempty"`
TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
// True if this column has any in-progress runs.
Pending bool `protobuf:"varint,4,opt,name=pending,proto3" json:"pending,omitempty"`
// True if a broken threshold is defined, and this column's fail/total ratio
// exceeds it.
Broken bool `protobuf:"varint,5,opt,name=broken,proto3" json:"broken,omitempty"`
// contains filtered or unexported fields
}
func (*Stats) Descriptor
deprecated
added in
v0.0.136
func (*Stats) GetFailCount ¶ added in v0.0.136
func (*Stats) GetPassCount ¶ added in v0.0.136
func (*Stats) GetPending ¶ added in v0.0.136
func (*Stats) GetTotalCount ¶ added in v0.0.136
func (*Stats) ProtoMessage ¶ added in v0.0.136
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶ added in v0.0.136
func (x *Stats) ProtoReflect() protoreflect.Message
type TestMetadata ¶
type TestMetadata struct {
// Name of the test with associated test metadata.
TestName string `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
// Default bug component.
BugComponent int32 `protobuf:"varint,2,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
// Default owner.
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
// Default list of cc's.
Cc []string `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"`
// When present, only file a bug for failed tests with same error type.
// Otherwise, always file a bug.
ErrorType string `protobuf:"bytes,5,opt,name=error_type,json=errorType,proto3" json:"error_type,omitempty"`
// contains filtered or unexported fields
}
Info on default test metadata for a dashboard tab.
func (*TestMetadata) Descriptor
deprecated
func (*TestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TestMetadata.ProtoReflect.Descriptor instead.
func (*TestMetadata) GetBugComponent ¶
func (x *TestMetadata) GetBugComponent() int32
func (*TestMetadata) GetCc ¶
func (x *TestMetadata) GetCc() []string
func (*TestMetadata) GetErrorType ¶
func (x *TestMetadata) GetErrorType() string
func (*TestMetadata) GetOwner ¶
func (x *TestMetadata) GetOwner() string
func (*TestMetadata) GetTestName ¶
func (x *TestMetadata) GetTestName() string
func (*TestMetadata) ProtoMessage ¶
func (*TestMetadata) ProtoMessage()
func (*TestMetadata) ProtoReflect ¶ added in v0.0.91
func (x *TestMetadata) ProtoReflect() protoreflect.Message
func (*TestMetadata) Reset ¶
func (x *TestMetadata) Reset()
func (*TestMetadata) String ¶
func (x *TestMetadata) String() string
type UpdateInfo ¶
type UpdateInfo struct {
// Metrics for how long parts of the update cycle take.
UpdatePhaseData []*UpdatePhaseData `protobuf:"bytes,1,rep,name=update_phase_data,json=updatePhaseData,proto3" json:"update_phase_data,omitempty"`
// contains filtered or unexported fields
}
Info on time taken to update test results during the last update cycle.
func (*UpdateInfo) Descriptor
deprecated
func (*UpdateInfo) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInfo.ProtoReflect.Descriptor instead.
func (*UpdateInfo) GetUpdatePhaseData ¶
func (x *UpdateInfo) GetUpdatePhaseData() []*UpdatePhaseData
func (*UpdateInfo) ProtoMessage ¶
func (*UpdateInfo) ProtoMessage()
func (*UpdateInfo) ProtoReflect ¶ added in v0.0.91
func (x *UpdateInfo) ProtoReflect() protoreflect.Message
func (*UpdateInfo) Reset ¶
func (x *UpdateInfo) Reset()
func (*UpdateInfo) String ¶
func (x *UpdateInfo) String() string
type UpdatePhaseData ¶
type UpdatePhaseData struct {
// The name for a part of the update cycle.
PhaseName string `protobuf:"bytes,1,opt,name=phase_name,json=phaseName,proto3" json:"phase_name,omitempty"`
// Time taken for a part of the update cycle, in seconds.
PhaseSeconds float64 `protobuf:"fixed64,2,opt,name=phase_seconds,json=phaseSeconds,proto3" json:"phase_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePhaseData) Descriptor
deprecated
func (*UpdatePhaseData) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePhaseData.ProtoReflect.Descriptor instead.
func (*UpdatePhaseData) GetPhaseName ¶
func (x *UpdatePhaseData) GetPhaseName() string
func (*UpdatePhaseData) GetPhaseSeconds ¶
func (x *UpdatePhaseData) GetPhaseSeconds() float64
func (*UpdatePhaseData) ProtoMessage ¶
func (*UpdatePhaseData) ProtoMessage()
func (*UpdatePhaseData) ProtoReflect ¶ added in v0.0.91
func (x *UpdatePhaseData) ProtoReflect() protoreflect.Message
func (*UpdatePhaseData) Reset ¶
func (x *UpdatePhaseData) Reset()
func (*UpdatePhaseData) String ¶
func (x *UpdatePhaseData) String() string