config

package
v0.0.174 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestGroup_TestsName_name = map[int32]string{
		0: "TESTS_NAME_UNSPECIFIED",
		1: "TESTS_NAME_IGNORE",
		2: "TESTS_NAME_REPLACE",
		3: "TESTS_NAME_APPEND",
	}
	TestGroup_TestsName_value = map[string]int32{
		"TESTS_NAME_UNSPECIFIED": 0,
		"TESTS_NAME_IGNORE":      1,
		"TESTS_NAME_REPLACE":     2,
		"TESTS_NAME_APPEND":      3,
	}
)

Enum value maps for TestGroup_TestsName.

View Source
var (
	TestGroup_FallbackGrouping_name = map[int32]string{
		0: "FALLBACK_GROUPING_NONE",
		1: "FALLBACK_GROUPING_DATE",
		2: "FALLBACK_GROUPING_LABELS",
		3: "FALLBACK_GROUPING_ID",
		4: "FALLBACK_GROUPING_BUILD",
		5: "FALLBACK_GROUPING_CONFIGURATION_VALUE",
	}
	TestGroup_FallbackGrouping_value = map[string]int32{
		"FALLBACK_GROUPING_NONE":                0,
		"FALLBACK_GROUPING_DATE":                1,
		"FALLBACK_GROUPING_LABELS":              2,
		"FALLBACK_GROUPING_ID":                  3,
		"FALLBACK_GROUPING_BUILD":               4,
		"FALLBACK_GROUPING_CONFIGURATION_VALUE": 5,
	}
)

Enum value maps for TestGroup_FallbackGrouping.

View Source
var (
	TestGroup_PrimaryGrouping_name = map[int32]string{
		0: "PRIMARY_GROUPING_NONE",
		1: "PRIMARY_GROUPING_BUILD",
	}
	TestGroup_PrimaryGrouping_value = map[string]int32{
		"PRIMARY_GROUPING_NONE":  0,
		"PRIMARY_GROUPING_BUILD": 1,
	}
)

Enum value maps for TestGroup_PrimaryGrouping.

View Source
var (
	AutoBugOptions_Priority_name = map[int32]string{
		0: "PRIORITY_UNSPECIFIED",
		1: "P0",
		2: "P1",
		3: "P2",
		4: "P3",
		5: "P4",
	}
	AutoBugOptions_Priority_value = map[string]int32{
		"PRIORITY_UNSPECIFIED": 0,
		"P0":                   1,
		"P1":                   2,
		"P2":                   3,
		"P3":                   4,
		"P4":                   5,
	}
)

Enum value maps for AutoBugOptions_Priority.

View Source
var (
	DashboardTabStatusCustomizationOptions_IgnoredTestStatus_name = map[int32]string{
		0: "TEST_STATUS_UNSPECIFIED",
		1: "CATEGORIZED_ABORT",
		2: "UNKNOWN",
		3: "CANCEL",
		4: "BLOCKED",
	}
	DashboardTabStatusCustomizationOptions_IgnoredTestStatus_value = map[string]int32{
		"TEST_STATUS_UNSPECIFIED": 0,
		"CATEGORIZED_ABORT":       1,
		"UNKNOWN":                 2,
		"CANCEL":                  3,
		"BLOCKED":                 4,
	}
)

Enum value maps for DashboardTabStatusCustomizationOptions_IgnoredTestStatus.

View Source
var File_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AutoBugOptions

type AutoBugOptions struct {

	// [BETA] When specified, file bugs to this component, using the beta AutoBug.
	// If you do not want to opt into the beta, specify `bug_component` in your
	// TestGroup instead.
	// TODO(b/154866134): Rename to autobug_component once we've migrated.
	BetaAutobugComponent int32 `protobuf:"varint,10,opt,name=beta_autobug_component,json=betaAutobugComponent,proto3" json:"beta_autobug_component,omitempty"`
	// Whether to auto-close auto-filed bugs.
	// Alias for "passing_behavior = CLOSE_ON_PASSING";
	AutoClose bool `protobuf:"varint,1,opt,name=auto_close,json=autoClose,proto3" json:"auto_close,omitempty"`
	// A list of hotlist ids attached to auto-filed bugs.
	HotlistIds []int64 `protobuf:"varint,2,rep,packed,name=hotlist_ids,json=hotlistIds,proto3" json:"hotlist_ids,omitempty"`
	// The priority of the auto-filed bug. If provided, this will overwrite the
	// priority in the component default template
	Priority AutoBugOptions_Priority `protobuf:"varint,3,opt,name=priority,proto3,enum=testgrid.config.AutoBugOptions_Priority" json:"priority,omitempty"`
	// A list of hotlist id sources
	// Corresponds with the list hotlist_ids (#2)
	//
	// Deprecated: Do not use.
	HotlistIdsFromSource []*HotlistIdFromSource `protobuf:"bytes,4,rep,name=hotlist_ids_from_source,json=hotlistIdsFromSource,proto3" json:"hotlist_ids_from_source,omitempty"`
	// If True, files separate bugs for each failing target, instead of one bug
	// for each set of targets failing at the same run.
	FileIndividual bool `protobuf:"varint,5,opt,name=file_individual,json=fileIndividual,proto3" json:"file_individual,omitempty"`
	// If True; keep only one automantic bug per target, regardless of the number
	// of separate failures a target gets. Requires `file_individual` to be True.
	// Consider setting `num_passes_to_disable_alert` instead if you're tracking
	// flaky tests.
	SingletonAutobug bool `protobuf:"varint,6,opt,name=singleton_autobug,json=singletonAutobug,proto3" json:"singleton_autobug,omitempty"`
	// If provided: only raise one bug if the number of failures for a single
	// query by testgrid for a single failure group exceeds this value. Requires
	// 'file_individual' to be True.
	MaxAllowedIndividualBugs int32 `` /* 138-byte string literal not displayed */
	// If True; file issues for the 'Overall' target, even if otherwise invalid.
	FileOverall bool `protobuf:"varint,8,opt,name=file_overall,json=fileOverall,proto3" json:"file_overall,omitempty"`
	// If provided: supplements `max_allowed_individual_bugs` field to raise a
	// single bug if the number of failures for a single query by testgrid exceeds
	// the max_allowed_individual_bugs` value, regardless of `TEST_METADATA`
	// configurations. This is useful for filing fewer suspected environmental
	// failure bugs and routing them to a specific location (i.e. an oncall).
	// Requires 'file_individual' to be true and `max_allowed_individual_bugs` to
	// not be empty.
	DefaultTestMetadata *AutoBugOptions_DefaultTestMetadata `protobuf:"bytes,9,opt,name=default_test_metadata,json=defaultTestMetadata,proto3" json:"default_test_metadata,omitempty"`
	// [BETA] If True, query the test metadata API to get issue-routing metadata.
	// Enables routing issues using structured test failures.
	AdvancedTestMetadata bool `protobuf:"varint,11,opt,name=advanced_test_metadata,json=advancedTestMetadata,proto3" json:"advanced_test_metadata,omitempty"`
	// If True, file a bug when the tab goes stale.
	// (Requires `alert_stale_results_hours` to be set.)
	FileStale bool `protobuf:"varint,12,opt,name=file_stale,json=fileStale,proto3" json:"file_stale,omitempty"`
	// If True, ignore overall rows when auto-filing.
	IgnoreOverall bool `protobuf:"varint,13,opt,name=ignore_overall,json=ignoreOverall,proto3" json:"ignore_overall,omitempty"`
	// [BETA] Extra text displayed in opened bugs. e.g., for including a link to a
	// playbook.
	Note string `protobuf:"bytes,14,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoBugOptions) Descriptor deprecated

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

Deprecated: Use AutoBugOptions.ProtoReflect.Descriptor instead.

func (*AutoBugOptions) GetAdvancedTestMetadata added in v0.0.41

func (x *AutoBugOptions) GetAdvancedTestMetadata() bool

func (*AutoBugOptions) GetAutoClose

func (x *AutoBugOptions) GetAutoClose() bool

func (*AutoBugOptions) GetBetaAutobugComponent added in v0.0.12

func (x *AutoBugOptions) GetBetaAutobugComponent() int32

func (*AutoBugOptions) GetDefaultTestMetadata added in v0.0.11

func (x *AutoBugOptions) GetDefaultTestMetadata() *AutoBugOptions_DefaultTestMetadata

func (*AutoBugOptions) GetFileIndividual

func (x *AutoBugOptions) GetFileIndividual() bool

func (*AutoBugOptions) GetFileOverall

func (x *AutoBugOptions) GetFileOverall() bool

func (*AutoBugOptions) GetFileStale added in v0.0.108

func (x *AutoBugOptions) GetFileStale() bool

func (*AutoBugOptions) GetHotlistIds

func (x *AutoBugOptions) GetHotlistIds() []int64

func (*AutoBugOptions) GetHotlistIdsFromSource deprecated

func (x *AutoBugOptions) GetHotlistIdsFromSource() []*HotlistIdFromSource

Deprecated: Do not use.

func (*AutoBugOptions) GetIgnoreOverall added in v0.0.109

func (x *AutoBugOptions) GetIgnoreOverall() bool

func (*AutoBugOptions) GetMaxAllowedIndividualBugs

func (x *AutoBugOptions) GetMaxAllowedIndividualBugs() int32

func (*AutoBugOptions) GetNote added in v0.0.116

func (x *AutoBugOptions) GetNote() string

func (*AutoBugOptions) GetPriority

func (x *AutoBugOptions) GetPriority() AutoBugOptions_Priority

func (*AutoBugOptions) GetSingletonAutobug

func (x *AutoBugOptions) GetSingletonAutobug() bool

func (*AutoBugOptions) ProtoMessage

func (*AutoBugOptions) ProtoMessage()

func (*AutoBugOptions) ProtoReflect added in v0.0.91

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

func (*AutoBugOptions) Reset

func (x *AutoBugOptions) Reset()

func (*AutoBugOptions) String

func (x *AutoBugOptions) String() string

type AutoBugOptions_DefaultTestMetadata added in v0.0.11

type AutoBugOptions_DefaultTestMetadata struct {
	BugComponent int32    `protobuf:"varint,1,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	Owner        string   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Cc           []string `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoBugOptions_DefaultTestMetadata) Descriptor deprecated added in v0.0.11

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

Deprecated: Use AutoBugOptions_DefaultTestMetadata.ProtoReflect.Descriptor instead.

func (*AutoBugOptions_DefaultTestMetadata) GetBugComponent added in v0.0.11

func (x *AutoBugOptions_DefaultTestMetadata) GetBugComponent() int32

func (*AutoBugOptions_DefaultTestMetadata) GetCc added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) GetOwner added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) ProtoMessage added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) ProtoMessage()

func (*AutoBugOptions_DefaultTestMetadata) ProtoReflect added in v0.0.91

func (*AutoBugOptions_DefaultTestMetadata) Reset added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) String added in v0.0.11

type AutoBugOptions_Priority

type AutoBugOptions_Priority int32

Scale of issue priority, used to indicate importance of issue.

const (
	// Unspecified; may not set priority at all
	AutoBugOptions_PRIORITY_UNSPECIFIED AutoBugOptions_Priority = 0
	// See https://developers.google.com/issue-tracker/concepts/issues
	AutoBugOptions_P0 AutoBugOptions_Priority = 1
	AutoBugOptions_P1 AutoBugOptions_Priority = 2
	AutoBugOptions_P2 AutoBugOptions_Priority = 3
	AutoBugOptions_P3 AutoBugOptions_Priority = 4
	AutoBugOptions_P4 AutoBugOptions_Priority = 5
)

func (AutoBugOptions_Priority) Descriptor added in v0.0.91

func (AutoBugOptions_Priority) Enum added in v0.0.91

func (AutoBugOptions_Priority) EnumDescriptor deprecated

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

Deprecated: Use AutoBugOptions_Priority.Descriptor instead.

func (AutoBugOptions_Priority) Number added in v0.0.91

func (AutoBugOptions_Priority) String

func (x AutoBugOptions_Priority) String() string

func (AutoBugOptions_Priority) Type added in v0.0.91

type Configuration

type Configuration struct {

	// A list of groups of tests to gather.
	TestGroups []*TestGroup `protobuf:"bytes,1,rep,name=test_groups,json=testGroups,proto3" json:"test_groups,omitempty"`
	// A list of all of the dashboards for a server.
	Dashboards []*Dashboard `protobuf:"bytes,2,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	// A list of all the dashboard groups for a server.
	DashboardGroups []*DashboardGroup `protobuf:"bytes,3,rep,name=dashboard_groups,json=dashboardGroups,proto3" json:"dashboard_groups,omitempty"`
	// contains filtered or unexported fields
}

A service configuration consisting of multiple test groups and dashboards.

func (*Configuration) Descriptor deprecated

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetDashboardGroups

func (x *Configuration) GetDashboardGroups() []*DashboardGroup

func (*Configuration) GetDashboards

func (x *Configuration) GetDashboards() []*Dashboard

func (*Configuration) GetTestGroups

func (x *Configuration) GetTestGroups() []*TestGroup

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect added in v0.0.91

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

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

type Dashboard

type Dashboard struct {

	// A list of the tabs on the dashboard.
	DashboardTab []*DashboardTab `protobuf:"bytes,1,rep,name=dashboard_tab,json=dashboardTab,proto3" json:"dashboard_tab,omitempty"`
	// A name for the Dashboard.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A list of notifications attached to this dashboard.
	// This is displayed on any dashboard tab in this dashboard.
	Notifications []*Notification `protobuf:"bytes,3,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// Control which tab is displayed when first opening a dashboard.
	// Defaults to Summary
	DefaultTab string `protobuf:"bytes,5,opt,name=default_tab,json=defaultTab,proto3" json:"default_tab,omitempty"`
	// Controls whether to suppress highlighting of failing tabs.
	DownplayFailingTabs bool `protobuf:"varint,8,opt,name=downplay_failing_tabs,json=downplayFailingTabs,proto3" json:"downplay_failing_tabs,omitempty"`
	// Deprecated: Invert of 'downplay_failing_tabs'
	//
	// Deprecated: Do not use.
	HighlightFailingTabs bool `protobuf:"varint,6,opt,name=highlight_failing_tabs,json=highlightFailingTabs,proto3" json:"highlight_failing_tabs,omitempty"`
	// Controls whether to apply special highlighting to result header columns for
	// the current day.
	HighlightToday bool `protobuf:"varint,7,opt,name=highlight_today,json=highlightToday,proto3" json:"highlight_today,omitempty"`
	// A description paragraph to be displayed.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Specifies a dashboard.

func (*Dashboard) Descriptor deprecated

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

Deprecated: Use Dashboard.ProtoReflect.Descriptor instead.

func (*Dashboard) GetDashboardTab

func (x *Dashboard) GetDashboardTab() []*DashboardTab

func (*Dashboard) GetDefaultTab

func (x *Dashboard) GetDefaultTab() string

func (*Dashboard) GetDescription added in v0.0.145

func (x *Dashboard) GetDescription() string

func (*Dashboard) GetDownplayFailingTabs

func (x *Dashboard) GetDownplayFailingTabs() bool

func (*Dashboard) GetHighlightFailingTabs deprecated

func (x *Dashboard) GetHighlightFailingTabs() bool

Deprecated: Do not use.

func (*Dashboard) GetHighlightToday

func (x *Dashboard) GetHighlightToday() bool

func (*Dashboard) GetName

func (x *Dashboard) GetName() string

func (*Dashboard) GetNotifications

func (x *Dashboard) GetNotifications() []*Notification

func (*Dashboard) ProtoMessage

func (*Dashboard) ProtoMessage()

func (*Dashboard) ProtoReflect added in v0.0.91

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

func (*Dashboard) Reset

func (x *Dashboard) Reset()

func (*Dashboard) String

func (x *Dashboard) String() string

type DashboardGroup

type DashboardGroup struct {

	// The name for the dashboard group.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of names specifying dashboards to show links to in a separate tabbed
	// bar at the top of the page for each of the given dashboards.
	DashboardNames []string `protobuf:"bytes,2,rep,name=dashboard_names,json=dashboardNames,proto3" json:"dashboard_names,omitempty"`
	// A description paragraph to be displayed.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Specifies a dashboard group.

func (*DashboardGroup) Descriptor deprecated

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

Deprecated: Use DashboardGroup.ProtoReflect.Descriptor instead.

func (*DashboardGroup) GetDashboardNames

func (x *DashboardGroup) GetDashboardNames() []string

func (*DashboardGroup) GetDescription added in v0.0.145

func (x *DashboardGroup) GetDescription() string

func (*DashboardGroup) GetName

func (x *DashboardGroup) GetName() string

func (*DashboardGroup) ProtoMessage

func (*DashboardGroup) ProtoMessage()

func (*DashboardGroup) ProtoReflect added in v0.0.91

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

func (*DashboardGroup) Reset

func (x *DashboardGroup) Reset()

func (*DashboardGroup) String

func (x *DashboardGroup) String() string

type DashboardTab

type DashboardTab struct {

	// The name of the dashboard tab to display in the client.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the TestGroup specifying the test results for this tab.
	TestGroupName string `protobuf:"bytes,2,opt,name=test_group_name,json=testGroupName,proto3" json:"test_group_name,omitempty"`
	// Default bug component for manually filing bugs from the dashboard
	BugComponent int32 `protobuf:"varint,3,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	// Default code search path for searching regressions. This value overrides
	// the default in the TestGroup config so that dashboards may be customized
	// separately.
	CodeSearchPath string `protobuf:"bytes,4,opt,name=code_search_path,json=codeSearchPath,proto3" json:"code_search_path,omitempty"`
	// See TestGroup.num_columns_recent. This value overrides the default in the
	// TestGroup config so that dashboards may be customized separately.
	NumColumnsRecent int32 `protobuf:"varint,5,opt,name=num_columns_recent,json=numColumnsRecent,proto3" json:"num_columns_recent,omitempty"`
	// Base options to always include, for example:
	// width=20&include-filter-by-regex=level_tests
	// This is taken from the #fragment part of the testgrid url.
	// Best way to create these is to setup the options on testgrid and then
	// copy the #fragment part.
	BaseOptions string `protobuf:"bytes,6,opt,name=base_options,json=baseOptions,proto3" json:"base_options,omitempty"`
	// The URL template to visit after clicking on a cell.
	OpenTestTemplate *LinkTemplate `protobuf:"bytes,7,opt,name=open_test_template,json=openTestTemplate,proto3" json:"open_test_template,omitempty"`
	// The URL template to visit when filing a bug.
	FileBugTemplate *LinkTemplate `protobuf:"bytes,8,opt,name=file_bug_template,json=fileBugTemplate,proto3" json:"file_bug_template,omitempty"`
	// The URL template to visit when attaching a bug
	AttachBugTemplate *LinkTemplate `protobuf:"bytes,9,opt,name=attach_bug_template,json=attachBugTemplate,proto3" json:"attach_bug_template,omitempty"`
	// Text to show in the about menu as a link to another view of the results.
	ResultsText string `protobuf:"bytes,10,opt,name=results_text,json=resultsText,proto3" json:"results_text,omitempty"`
	// The URL template to visit after clicking.
	ResultsUrlTemplate *LinkTemplate `protobuf:"bytes,11,opt,name=results_url_template,json=resultsUrlTemplate,proto3" json:"results_url_template,omitempty"`
	// The URL template to visit when searching for code changes, such as pull
	// requests
	CodeSearchUrlTemplate *LinkTemplate `` /* 129-byte string literal not displayed */
	// A description paragraph to be displayed.
	Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
	// A regular expression that uses the named group syntax to specify how to
	// show names in a table.
	TabularNamesRegex string `protobuf:"bytes,14,opt,name=tabular_names_regex,json=tabularNamesRegex,proto3" json:"tabular_names_regex,omitempty"`
	// Configuration options for dashboard tab alerts.
	AlertOptions *DashboardTabAlertOptions `protobuf:"bytes,15,opt,name=alert_options,json=alertOptions,proto3" json:"alert_options,omitempty"`
	// Configuration options for dashboard tab flakiness alerts.
	FlakinessAlertOptions *DashboardTabFlakinessAlertOptions `` /* 127-byte string literal not displayed */
	// Configuration options for customizing dashboard tab status calculation.
	StatusCustomizationOptions *DashboardTabStatusCustomizationOptions `` /* 142-byte string literal not displayed */
	// A URL for the "About this Dashboard" menu option
	AboutDashboardUrl string `protobuf:"bytes,16,opt,name=about_dashboard_url,json=aboutDashboardUrl,proto3" json:"about_dashboard_url,omitempty"`
	// The URL template to visit when viewing an associated bug.
	OpenBugTemplate *LinkTemplate `protobuf:"bytes,17,opt,name=open_bug_template,json=openBugTemplate,proto3" json:"open_bug_template,omitempty"`
	// If true, auto-file bugs when new alerts occur. This requires that the
	// backing test group has `bug_component` set and uses the backing test
	// group's `auto_bug_options`.
	AutoFileBugs bool `protobuf:"varint,18,opt,name=auto_file_bugs,json=autoFileBugs,proto3" json:"auto_file_bugs,omitempty"`
	// Display user local time on the dashboard when set to true (by default).
	// If false, uses Pacific Timezone for this DashboardTab.
	DisplayLocalTime bool `protobuf:"varint,19,opt,name=display_local_time,json=displayLocalTime,proto3" json:"display_local_time,omitempty"`
	// A set of optional LinkTemplates that will become right-click context menu
	// items.
	// TODO(b/159042168) in the near future this should be re-implemented as a
	// generic list of repeated LinkTemplates which users may specify in their
	// reqpective configurations as right-click context menus with names and
	// actions upon being clicked.
	ContextMenuTemplate *LinkTemplate `protobuf:"bytes,20,opt,name=context_menu_template,json=contextMenuTemplate,proto3" json:"context_menu_template,omitempty"`
	// When specified, treat a tab as BROKEN as long as one of the most recent
	// columns are "broken" (ratio of failed to total tests exceeds <threshold>).
	BrokenColumnThreshold float32 `` /* 129-byte string literal not displayed */
	// Options for auto-filed bugs.
	// Using this for a dashboard tab requires specifying `beta_autobug_component`
	// and will opt you into the beta AutoBug.
	BetaAutobugOptions *AutoBugOptions `protobuf:"bytes,22,opt,name=beta_autobug_options,json=betaAutobugOptions,proto3" json:"beta_autobug_options,omitempty"`
	// Options for the configuration of the flakiness analysis tool, on a per tab
	// basis
	HealthAnalysisOptions *HealthAnalysisOptions `` /* 127-byte string literal not displayed */
	// A set of optional Link Templates when search for diffs between columns.
	ColumnDiffLinkTemplates []*LinkTemplate `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

A single tab on a dashboard.

func (*DashboardTab) Descriptor deprecated

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

Deprecated: Use DashboardTab.ProtoReflect.Descriptor instead.

func (*DashboardTab) GetAboutDashboardUrl

func (x *DashboardTab) GetAboutDashboardUrl() string

func (*DashboardTab) GetAlertOptions

func (x *DashboardTab) GetAlertOptions() *DashboardTabAlertOptions

func (*DashboardTab) GetAttachBugTemplate

func (x *DashboardTab) GetAttachBugTemplate() *LinkTemplate

func (*DashboardTab) GetAutoFileBugs added in v0.0.11

func (x *DashboardTab) GetAutoFileBugs() bool

func (*DashboardTab) GetBaseOptions

func (x *DashboardTab) GetBaseOptions() string

func (*DashboardTab) GetBetaAutobugOptions added in v0.0.12

func (x *DashboardTab) GetBetaAutobugOptions() *AutoBugOptions

func (*DashboardTab) GetBrokenColumnThreshold added in v0.0.11

func (x *DashboardTab) GetBrokenColumnThreshold() float32

func (*DashboardTab) GetBugComponent

func (x *DashboardTab) GetBugComponent() int32

func (*DashboardTab) GetCodeSearchPath

func (x *DashboardTab) GetCodeSearchPath() string

func (*DashboardTab) GetCodeSearchUrlTemplate

func (x *DashboardTab) GetCodeSearchUrlTemplate() *LinkTemplate

func (*DashboardTab) GetColumnDiffLinkTemplates added in v0.0.71

func (x *DashboardTab) GetColumnDiffLinkTemplates() []*LinkTemplate

func (*DashboardTab) GetContextMenuTemplate added in v0.0.11

func (x *DashboardTab) GetContextMenuTemplate() *LinkTemplate

func (*DashboardTab) GetDescription

func (x *DashboardTab) GetDescription() string

func (*DashboardTab) GetDisplayLocalTime added in v0.0.11

func (x *DashboardTab) GetDisplayLocalTime() bool

func (*DashboardTab) GetFileBugTemplate

func (x *DashboardTab) GetFileBugTemplate() *LinkTemplate

func (*DashboardTab) GetFlakinessAlertOptions added in v0.0.23

func (x *DashboardTab) GetFlakinessAlertOptions() *DashboardTabFlakinessAlertOptions

func (*DashboardTab) GetHealthAnalysisOptions added in v0.0.14

func (x *DashboardTab) GetHealthAnalysisOptions() *HealthAnalysisOptions

func (*DashboardTab) GetName

func (x *DashboardTab) GetName() string

func (*DashboardTab) GetNumColumnsRecent

func (x *DashboardTab) GetNumColumnsRecent() int32

func (*DashboardTab) GetOpenBugTemplate

func (x *DashboardTab) GetOpenBugTemplate() *LinkTemplate

func (*DashboardTab) GetOpenTestTemplate

func (x *DashboardTab) GetOpenTestTemplate() *LinkTemplate

func (*DashboardTab) GetResultsText

func (x *DashboardTab) GetResultsText() string

func (*DashboardTab) GetResultsUrlTemplate

func (x *DashboardTab) GetResultsUrlTemplate() *LinkTemplate

func (*DashboardTab) GetStatusCustomizationOptions added in v0.0.147

func (x *DashboardTab) GetStatusCustomizationOptions() *DashboardTabStatusCustomizationOptions

func (*DashboardTab) GetTabularNamesRegex

func (x *DashboardTab) GetTabularNamesRegex() string

func (*DashboardTab) GetTestGroupName

func (x *DashboardTab) GetTestGroupName() string

func (*DashboardTab) ProtoMessage

func (*DashboardTab) ProtoMessage()

func (*DashboardTab) ProtoReflect added in v0.0.91

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

func (*DashboardTab) Reset

func (x *DashboardTab) Reset()

func (*DashboardTab) String

func (x *DashboardTab) String() string

type DashboardTabAlertOptions

type DashboardTabAlertOptions struct {

	// Time in hours before an alert will be added to a test results table if the
	// run date of the latest results are older than this time.  If zero, no
	// alerts are raised.
	AlertStaleResultsHours int32 `` /* 132-byte string literal not displayed */
	// The number of consecutive test result failures to see before alerting of
	// a consistent failure. If zero, no alerts are raised.
	NumFailuresToAlert int32 `protobuf:"varint,2,opt,name=num_failures_to_alert,json=numFailuresToAlert,proto3" json:"num_failures_to_alert,omitempty"`
	// The comma-separated addresses to send mail.
	AlertMailToAddresses string `protobuf:"bytes,3,opt,name=alert_mail_to_addresses,json=alertMailToAddresses,proto3" json:"alert_mail_to_addresses,omitempty"`
	// The number of consecutive test passes to close the alert.
	NumPassesToDisableAlert int32 `` /* 137-byte string literal not displayed */
	// Custom subject for alert mails.
	Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	// Custom link for further help/instructions on debugging this alert.
	DebugUrl string `protobuf:"bytes,6,opt,name=debug_url,json=debugUrl,proto3" json:"debug_url,omitempty"`
	// Custom text to show for the debug link.
	DebugMessage string `protobuf:"bytes,7,opt,name=debug_message,json=debugMessage,proto3" json:"debug_message,omitempty"`
	// Wait time between emails. If unset or zero, an email will be sent only once
	// it becomes a consistent failure, and not again until it succeeds.
	// TestGrid does not pester about staleness
	WaitMinutesBetweenEmails int32 `` /* 138-byte string literal not displayed */
	// A custom message
	AlertMailFailureMessage string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration options for dashboard tab alerts.

func (*DashboardTabAlertOptions) Descriptor deprecated

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

Deprecated: Use DashboardTabAlertOptions.ProtoReflect.Descriptor instead.

func (*DashboardTabAlertOptions) GetAlertMailFailureMessage added in v0.0.21

func (x *DashboardTabAlertOptions) GetAlertMailFailureMessage() string

func (*DashboardTabAlertOptions) GetAlertMailToAddresses

func (x *DashboardTabAlertOptions) GetAlertMailToAddresses() string

func (*DashboardTabAlertOptions) GetAlertStaleResultsHours

func (x *DashboardTabAlertOptions) GetAlertStaleResultsHours() int32

func (*DashboardTabAlertOptions) GetDebugMessage

func (x *DashboardTabAlertOptions) GetDebugMessage() string

func (*DashboardTabAlertOptions) GetDebugUrl

func (x *DashboardTabAlertOptions) GetDebugUrl() string

func (*DashboardTabAlertOptions) GetNumFailuresToAlert

func (x *DashboardTabAlertOptions) GetNumFailuresToAlert() int32

func (*DashboardTabAlertOptions) GetNumPassesToDisableAlert

func (x *DashboardTabAlertOptions) GetNumPassesToDisableAlert() int32

func (*DashboardTabAlertOptions) GetSubject

func (x *DashboardTabAlertOptions) GetSubject() string

func (*DashboardTabAlertOptions) GetWaitMinutesBetweenEmails added in v0.0.21

func (x *DashboardTabAlertOptions) GetWaitMinutesBetweenEmails() int32

func (*DashboardTabAlertOptions) ProtoMessage

func (*DashboardTabAlertOptions) ProtoMessage()

func (*DashboardTabAlertOptions) ProtoReflect added in v0.0.91

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

func (*DashboardTabAlertOptions) Reset

func (x *DashboardTabAlertOptions) Reset()

func (*DashboardTabAlertOptions) String

func (x *DashboardTabAlertOptions) String() string

type DashboardTabFlakinessAlertOptions added in v0.0.23

type DashboardTabFlakinessAlertOptions struct {

	// The minimum amount of flakiness needed to trigger a flakiness alert.
	// 0=Disable alerts
	// This is a percentage; expected values go from 0 to 100 (100 = 100% flaky)
	MinimumFlakinessToAlert float32 `` /* 136-byte string literal not displayed */
	// The comma-separated addresses to send mail.
	AlertMailToAddresses string `protobuf:"bytes,2,opt,name=alert_mail_to_addresses,json=alertMailToAddresses,proto3" json:"alert_mail_to_addresses,omitempty"`
	// Custom subject for alert mails.
	Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// Minimum time between sending mails.
	WaitMinutesBetweenEmails int32 `` /* 138-byte string literal not displayed */
	// A custom message
	// TODO(RonWeber): This should be a template
	AlertMailFailureMessage string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration options for dashboard tab flakiness alerts.

func (*DashboardTabFlakinessAlertOptions) Descriptor deprecated added in v0.0.23

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

Deprecated: Use DashboardTabFlakinessAlertOptions.ProtoReflect.Descriptor instead.

func (*DashboardTabFlakinessAlertOptions) GetAlertMailFailureMessage added in v0.0.23

func (x *DashboardTabFlakinessAlertOptions) GetAlertMailFailureMessage() string

func (*DashboardTabFlakinessAlertOptions) GetAlertMailToAddresses added in v0.0.23

func (x *DashboardTabFlakinessAlertOptions) GetAlertMailToAddresses() string

func (*DashboardTabFlakinessAlertOptions) GetMinimumFlakinessToAlert added in v0.0.23

func (x *DashboardTabFlakinessAlertOptions) GetMinimumFlakinessToAlert() float32

func (*DashboardTabFlakinessAlertOptions) GetSubject added in v0.0.23

func (x *DashboardTabFlakinessAlertOptions) GetSubject() string

func (*DashboardTabFlakinessAlertOptions) GetWaitMinutesBetweenEmails added in v0.0.23

func (x *DashboardTabFlakinessAlertOptions) GetWaitMinutesBetweenEmails() int32

func (*DashboardTabFlakinessAlertOptions) ProtoMessage added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) ProtoMessage()

func (*DashboardTabFlakinessAlertOptions) ProtoReflect added in v0.0.91

func (*DashboardTabFlakinessAlertOptions) Reset added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) String added in v0.0.23

type DashboardTabStatusCustomizationOptions added in v0.0.147

type DashboardTabStatusCustomizationOptions struct {

	// Maximum amount of flakiness tolerated to categorize tab as acceptable. Will
	// supplement dashboard tab status message, and mark the tab as ACCEPTABLE in
	// the dashboard group view. Set to "0" to disable. This is configured as a
	// percentage of valid (non-ignored) columns; expected values go from 0.0 to
	// 100.0 (100% = no passing columns is acceptable)
	MaxAcceptableFlakiness float32                                                    `` /* 131-byte string literal not displayed */
	IgnoredTestStatuses    []DashboardTabStatusCustomizationOptions_IgnoredTestStatus `` /* 206-byte string literal not displayed */
	// Minimum number of runs required excluding ignored ones.
	// If the non-ignored columns is less than this, tab status will be PENDING.
	MinAcceptableRuns int32 `protobuf:"varint,3,opt,name=min_acceptable_runs,json=minAcceptableRuns,proto3" json:"min_acceptable_runs,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for customizing the tab status calculation.

func (*DashboardTabStatusCustomizationOptions) Descriptor deprecated added in v0.0.147

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

Deprecated: Use DashboardTabStatusCustomizationOptions.ProtoReflect.Descriptor instead.

func (*DashboardTabStatusCustomizationOptions) GetIgnoredTestStatuses added in v0.0.149

func (*DashboardTabStatusCustomizationOptions) GetMaxAcceptableFlakiness added in v0.0.147

func (x *DashboardTabStatusCustomizationOptions) GetMaxAcceptableFlakiness() float32

func (*DashboardTabStatusCustomizationOptions) GetMinAcceptableRuns added in v0.0.149

func (x *DashboardTabStatusCustomizationOptions) GetMinAcceptableRuns() int32

func (*DashboardTabStatusCustomizationOptions) ProtoMessage added in v0.0.147

func (*DashboardTabStatusCustomizationOptions) ProtoReflect added in v0.0.147

func (*DashboardTabStatusCustomizationOptions) Reset added in v0.0.147

func (*DashboardTabStatusCustomizationOptions) String added in v0.0.147

type DashboardTabStatusCustomizationOptions_IgnoredTestStatus added in v0.0.149

type DashboardTabStatusCustomizationOptions_IgnoredTestStatus int32

Columns which contain cells with any status configure below will be ignored. Ignored columns affect the computation of flakiness and non-ignored number of runs.

const (
	DashboardTabStatusCustomizationOptions_TEST_STATUS_UNSPECIFIED DashboardTabStatusCustomizationOptions_IgnoredTestStatus = 0
	DashboardTabStatusCustomizationOptions_CATEGORIZED_ABORT       DashboardTabStatusCustomizationOptions_IgnoredTestStatus = 1
	DashboardTabStatusCustomizationOptions_UNKNOWN                 DashboardTabStatusCustomizationOptions_IgnoredTestStatus = 2
	DashboardTabStatusCustomizationOptions_CANCEL                  DashboardTabStatusCustomizationOptions_IgnoredTestStatus = 3
	DashboardTabStatusCustomizationOptions_BLOCKED                 DashboardTabStatusCustomizationOptions_IgnoredTestStatus = 4
)

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) Descriptor added in v0.0.149

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) Enum added in v0.0.149

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) EnumDescriptor deprecated added in v0.0.149

Deprecated: Use DashboardTabStatusCustomizationOptions_IgnoredTestStatus.Descriptor instead.

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) Number added in v0.0.149

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) String added in v0.0.149

func (DashboardTabStatusCustomizationOptions_IgnoredTestStatus) Type added in v0.0.149

type DefaultConfiguration

type DefaultConfiguration struct {

	// A default testgroup with default initialization data
	//
	// Deprecated: Do not use.
	DefaultTestGroup *TestGroup `protobuf:"bytes,1,opt,name=default_test_group,json=defaultTestGroup,proto3" json:"default_test_group,omitempty"`
	// A default dashboard tab with default initialization data
	//
	// Deprecated: Do not use.
	DefaultDashboardTab *DashboardTab `protobuf:"bytes,2,opt,name=default_dashboard_tab,json=defaultDashboardTab,proto3" json:"default_dashboard_tab,omitempty"`
	// contains filtered or unexported fields
}

The DefaultConfiguration Proto is deprecated, and will be deleted after Nov 1, 2019. For defaulting behavior, use the yamlcfg library instead.

func (*DefaultConfiguration) Descriptor deprecated

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

Deprecated: Use DefaultConfiguration.ProtoReflect.Descriptor instead.

func (*DefaultConfiguration) GetDefaultDashboardTab deprecated

func (x *DefaultConfiguration) GetDefaultDashboardTab() *DashboardTab

Deprecated: Do not use.

func (*DefaultConfiguration) GetDefaultTestGroup deprecated

func (x *DefaultConfiguration) GetDefaultTestGroup() *TestGroup

Deprecated: Do not use.

func (*DefaultConfiguration) ProtoMessage

func (*DefaultConfiguration) ProtoMessage()

func (*DefaultConfiguration) ProtoReflect added in v0.0.91

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

func (*DefaultConfiguration) Reset

func (x *DefaultConfiguration) Reset()

func (*DefaultConfiguration) String

func (x *DefaultConfiguration) String() string

type GCSConfig added in v0.0.91

type GCSConfig struct {

	// Path to the test result stored in gcs (some-bucket/some/optional/path).
	GcsPrefix string `protobuf:"bytes,1,opt,name=gcs_prefix,json=gcsPrefix,proto3" json:"gcs_prefix,omitempty"`
	// The GCP project where GCS sends notifications for the above prefix.
	PubsubProject string `protobuf:"bytes,2,opt,name=pubsub_project,json=pubsubProject,proto3" json:"pubsub_project,omitempty"`
	// The pubsub subscription ID in the above topic
	PubsubSubscription string `protobuf:"bytes,3,opt,name=pubsub_subscription,json=pubsubSubscription,proto3" json:"pubsub_subscription,omitempty"`
	// contains filtered or unexported fields
}

GCSConfig specifies results stored in GCS, typically created by prow.

Each invocation is stored in a GCS path, containing json metadata files as well as junit and other artifacts specifying the result of the run.

More info: https://github.com/GoogleCloudPlatform/testgrid/tree/master/metadata

func (*GCSConfig) Descriptor deprecated added in v0.0.91

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

Deprecated: Use GCSConfig.ProtoReflect.Descriptor instead.

func (*GCSConfig) GetGcsPrefix added in v0.0.91

func (x *GCSConfig) GetGcsPrefix() string

func (*GCSConfig) GetPubsubProject added in v0.0.91

func (x *GCSConfig) GetPubsubProject() string

func (*GCSConfig) GetPubsubSubscription added in v0.0.91

func (x *GCSConfig) GetPubsubSubscription() string

func (*GCSConfig) ProtoMessage added in v0.0.91

func (*GCSConfig) ProtoMessage()

func (*GCSConfig) ProtoReflect added in v0.0.91

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

func (*GCSConfig) Reset added in v0.0.91

func (x *GCSConfig) Reset()

func (*GCSConfig) String added in v0.0.91

func (x *GCSConfig) String() string

type HealthAnalysisOptions added in v0.0.14

type HealthAnalysisOptions struct {

	// Defaults to false; flakiness analysis is opt-in
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	// Defines the number of days for one interval of analysis.
	// i.e. flakiness will be analyzed for the previous N days starting from Now,
	// and it will be compared to the calculated N days before that for trend
	// analysis.
	DaysOfAnalysis int32 `protobuf:"varint,2,opt,name=days_of_analysis,json=daysOfAnalysis,proto3" json:"days_of_analysis,omitempty"`
	// When to send healthiness emails out, uses cron string format.
	EmailSchedule string `protobuf:"bytes,3,opt,name=email_schedule,json=emailSchedule,proto3" json:"email_schedule,omitempty"`
	// A comma-separated list of healthiness email recipients.
	EmailRecipients string `protobuf:"bytes,4,opt,name=email_recipients,json=emailRecipients,proto3" json:"email_recipients,omitempty"`
	// A compilable regex string for grouping tests by name.
	// Works the same as the group-by-regex-mask option of base_options:
	// go/testgrid/users/dashboard_guide#grouping-tests
	// An empty string means no grouping.
	// e.g. test name: "//path/to/test - env", regex: ` - \w+`
	// The regex will match " - env" in the above test name and give a group of:
	// //path/to/test  <- Group Name
	//     - env       <- Group Member
	GroupingRegex string `protobuf:"bytes,5,opt,name=grouping_regex,json=groupingRegex,proto3" json:"grouping_regex,omitempty"`
	// contains filtered or unexported fields
}

A grouping of configuration options for the flakiness analysis tool. Later configuration options could include the ability to choose different kinds of flakiness and choosing if and who to email a copy of the flakiness report.

func (*HealthAnalysisOptions) Descriptor deprecated added in v0.0.14

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

Deprecated: Use HealthAnalysisOptions.ProtoReflect.Descriptor instead.

func (*HealthAnalysisOptions) GetDaysOfAnalysis added in v0.0.14

func (x *HealthAnalysisOptions) GetDaysOfAnalysis() int32

func (*HealthAnalysisOptions) GetEmailRecipients added in v0.0.32

func (x *HealthAnalysisOptions) GetEmailRecipients() string

func (*HealthAnalysisOptions) GetEmailSchedule added in v0.0.32

func (x *HealthAnalysisOptions) GetEmailSchedule() string

func (*HealthAnalysisOptions) GetEnable added in v0.0.14

func (x *HealthAnalysisOptions) GetEnable() bool

func (*HealthAnalysisOptions) GetGroupingRegex added in v0.0.32

func (x *HealthAnalysisOptions) GetGroupingRegex() string

func (*HealthAnalysisOptions) ProtoMessage added in v0.0.14

func (*HealthAnalysisOptions) ProtoMessage()

func (*HealthAnalysisOptions) ProtoReflect added in v0.0.91

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

func (*HealthAnalysisOptions) Reset added in v0.0.14

func (x *HealthAnalysisOptions) Reset()

func (*HealthAnalysisOptions) String added in v0.0.14

func (x *HealthAnalysisOptions) String() string

type HotlistIdFromSource

type HotlistIdFromSource struct {

	// Types that are assignable to HotlistIdSource:
	//	*HotlistIdFromSource_Value
	//	*HotlistIdFromSource_Label
	HotlistIdSource isHotlistIdFromSource_HotlistIdSource `protobuf_oneof:"hotlist_id_source"`
	// contains filtered or unexported fields
}

func (*HotlistIdFromSource) Descriptor deprecated

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

Deprecated: Use HotlistIdFromSource.ProtoReflect.Descriptor instead.

func (*HotlistIdFromSource) GetHotlistIdSource

func (m *HotlistIdFromSource) GetHotlistIdSource() isHotlistIdFromSource_HotlistIdSource

func (*HotlistIdFromSource) GetLabel

func (x *HotlistIdFromSource) GetLabel() string

func (*HotlistIdFromSource) GetValue

func (x *HotlistIdFromSource) GetValue() int64

func (*HotlistIdFromSource) ProtoMessage

func (*HotlistIdFromSource) ProtoMessage()

func (*HotlistIdFromSource) ProtoReflect added in v0.0.91

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

func (*HotlistIdFromSource) Reset

func (x *HotlistIdFromSource) Reset()

func (*HotlistIdFromSource) String

func (x *HotlistIdFromSource) String() string

type HotlistIdFromSource_Label

type HotlistIdFromSource_Label struct {
	// A label prefix
	Label string `protobuf:"bytes,2,opt,name=label,proto3,oneof"`
}

type HotlistIdFromSource_Value

type HotlistIdFromSource_Value struct {
	// ID value of hotlists
	Value int64 `protobuf:"varint,1,opt,name=value,proto3,oneof"`
}

type IssueGatherOptions added in v0.0.153

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

Options for where to gather linked issues from.

func (*IssueGatherOptions) Descriptor deprecated added in v0.0.153

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

Deprecated: Use IssueGatherOptions.ProtoReflect.Descriptor instead.

func (*IssueGatherOptions) ProtoMessage added in v0.0.153

func (*IssueGatherOptions) ProtoMessage()

func (*IssueGatherOptions) ProtoReflect added in v0.0.153

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

func (*IssueGatherOptions) Reset added in v0.0.153

func (x *IssueGatherOptions) Reset()

func (*IssueGatherOptions) String added in v0.0.153

func (x *IssueGatherOptions) String() string

type LinkOptionsTemplate

type LinkOptionsTemplate struct {

	// The key for the option. This is not expanded.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value for the option. This is expanded the same as the LinkTemplate.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A simple key/value pair for link options.

func (*LinkOptionsTemplate) Descriptor deprecated

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

Deprecated: Use LinkOptionsTemplate.ProtoReflect.Descriptor instead.

func (*LinkOptionsTemplate) GetKey

func (x *LinkOptionsTemplate) GetKey() string

func (*LinkOptionsTemplate) GetValue

func (x *LinkOptionsTemplate) GetValue() string

func (*LinkOptionsTemplate) ProtoMessage

func (*LinkOptionsTemplate) ProtoMessage()

func (*LinkOptionsTemplate) ProtoReflect added in v0.0.91

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

func (*LinkOptionsTemplate) Reset

func (x *LinkOptionsTemplate) Reset()

func (*LinkOptionsTemplate) String

func (x *LinkOptionsTemplate) String() string

type LinkTemplate

type LinkTemplate struct {

	// The URL template.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The options templates.
	Options []*LinkOptionsTemplate `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// An optional name, used for the context menu
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkTemplate) Descriptor deprecated

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

Deprecated: Use LinkTemplate.ProtoReflect.Descriptor instead.

func (*LinkTemplate) GetName added in v0.0.11

func (x *LinkTemplate) GetName() string

func (*LinkTemplate) GetOptions

func (x *LinkTemplate) GetOptions() []*LinkOptionsTemplate

func (*LinkTemplate) GetUrl

func (x *LinkTemplate) GetUrl() string

func (*LinkTemplate) ProtoMessage

func (*LinkTemplate) ProtoMessage()

func (*LinkTemplate) ProtoReflect added in v0.0.91

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

func (*LinkTemplate) Reset

func (x *LinkTemplate) Reset()

func (*LinkTemplate) String

func (x *LinkTemplate) String() string

type Notification

type Notification struct {

	// Required: Text summary of the issue or notice.
	Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	// Optional: Link to further information, such as a bug, email, document, etc.
	ContextLink string `protobuf:"bytes,2,opt,name=context_link,json=contextLink,proto3" json:"context_link,omitempty"`
	// contains filtered or unexported fields
}

A single notification.

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (x *Notification) GetContextLink() string

func (*Notification) GetSummary

func (x *Notification) GetSummary() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect added in v0.0.91

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type ResultStoreConfig added in v0.0.164

type ResultStoreConfig struct {

	// Google Cloud Platform project ID where ResultStore results are stored.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// A simple query to filter for particular results.
	// Currently, only allows a query in the form of `target:"<target>"`.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

ResultStoreConfig specifies results stored in ResultStore.

func (*ResultStoreConfig) Descriptor deprecated added in v0.0.164

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

Deprecated: Use ResultStoreConfig.ProtoReflect.Descriptor instead.

func (*ResultStoreConfig) GetProject added in v0.0.164

func (x *ResultStoreConfig) GetProject() string

func (*ResultStoreConfig) GetQuery added in v0.0.171

func (x *ResultStoreConfig) GetQuery() string

func (*ResultStoreConfig) ProtoMessage added in v0.0.164

func (*ResultStoreConfig) ProtoMessage()

func (*ResultStoreConfig) ProtoReflect added in v0.0.164

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

func (*ResultStoreConfig) Reset added in v0.0.164

func (x *ResultStoreConfig) Reset()

func (*ResultStoreConfig) String added in v0.0.164

func (x *ResultStoreConfig) String() string

type TestGroup

type TestGroup struct {

	// Name of this TestGroup, for mapping dashboard tabs to tests.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Path to the test result stored in gcs (some-bucket/some/optional/path).
	GcsPrefix string `protobuf:"bytes,2,opt,name=gcs_prefix,json=gcsPrefix,proto3" json:"gcs_prefix,omitempty"`
	// Number of days of test results to gather and serve.
	DaysOfResults int32 `protobuf:"varint,3,opt,name=days_of_results,json=daysOfResults,proto3" json:"days_of_results,omitempty"`
	// Whether to ignore pending (currently running) test results.
	IgnorePending bool `protobuf:"varint,4,opt,name=ignore_pending,json=ignorePending,proto3" json:"ignore_pending,omitempty"`
	// Whether to ignore reported build results. It is recommended that tests
	// report BUILD_FAIL instead of relying on this being disabled.
	IgnoreBuilt bool `protobuf:"varint,5,opt,name=ignore_built,json=ignoreBuilt,proto3" json:"ignore_built,omitempty"`
	// What to do with the 'Tests name' configuration value. It can replace the
	// name of the test, be appended to the name of the test, or ignored. If it is
	// ignored, then the name of the tests will be the build target.
	TestsNamePolicy TestGroup_TestsName `` /* 150-byte string literal not displayed */
	// Tests with names that include these substrings will be removed from the
	// table.
	IgnoreTestSubstring []string                  `protobuf:"bytes,8,rep,name=ignore_test_substring,json=ignoreTestSubstring,proto3" json:"ignore_test_substring,omitempty"`
	ColumnHeader        []*TestGroup_ColumnHeader `protobuf:"bytes,9,rep,name=column_header,json=columnHeader,proto3" json:"column_header,omitempty"`
	// A test grouping option used if not specified by primary_grouping (#29)
	FallbackGrouping TestGroup_FallbackGrouping `` /* 159-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > alert_stale_result_hours
	//
	// Deprecated: Do not use.
	AlertStaleResultsHours int32 `` /* 133-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > num_failures_to_alert
	//
	// Deprecated: Do not use.
	NumFailuresToAlert int32 `protobuf:"varint,12,opt,name=num_failures_to_alert,json=numFailuresToAlert,proto3" json:"num_failures_to_alert,omitempty"`
	// DEPRECATED: use dashboard_tab.beta_autobug_options.beta_autobug_component
	// instead.
	//
	// Deprecated: Do not use.
	BugComponent int32 `protobuf:"varint,13,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	// Default code search path for searching regressions. Overridden by
	// code_search_path in DashboardTab.
	CodeSearchPath string `protobuf:"bytes,14,opt,name=code_search_path,json=codeSearchPath,proto3" json:"code_search_path,omitempty"`
	// The number of columns to consider "recent" for a variety of purposes.
	NumColumnsRecent int32 `protobuf:"varint,15,opt,name=num_columns_recent,json=numColumnsRecent,proto3" json:"num_columns_recent,omitempty"`
	// Whether to read test metadata from the test results. Information
	// from the test metadata is used to determine where bugs are filed in
	// specific cases.
	UseTestMetadata bool `protobuf:"varint,16,opt,name=use_test_metadata,json=useTestMetadata,proto3" json:"use_test_metadata,omitempty"`
	// DEPRECATED: use DashboardTabAlertOptions > alert_mail_to_address instead
	//
	// Deprecated: Do not use.
	AlertMailToAddresses string `` /* 126-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > subject
	//
	// Deprecated: Do not use.
	AlertMailSubject string `protobuf:"bytes,18,opt,name=alert_mail_subject,json=alertMailSubject,proto3" json:"alert_mail_subject,omitempty"`
	// DEPRECATED: use DashboardTabAlertOptions > alert_mail_failure_message
	//
	// Deprecated: Do not use.
	AlertMailFailureMessage string `` /* 135-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > debug_url
	//
	// Deprecated: Do not use.
	AlertMailDebugUrl string `protobuf:"bytes,20,opt,name=alert_mail_debug_url,json=alertMailDebugUrl,proto3" json:"alert_mail_debug_url,omitempty"`
	// DEPRECATED: use DashboardTabAlertOptions > wait_minutes_between_emails
	//
	// Deprecated: Do not use.
	MinElapsedMinutesBetweenMails int32 `` /* 156-byte string literal not displayed */
	// Whether to treat a combination of passes and failures within one test as a
	// flaky status.
	EnableFlakyStatus bool `protobuf:"varint,23,opt,name=enable_flaky_status,json=enableFlakyStatus,proto3" json:"enable_flaky_status,omitempty"`
	// disable_merged_status will restores deprecated behavior of
	// splitting multiple foo rows into foo [2], etc rather a single
	// potentially flaky row.
	DisableMergedStatus bool `protobuf:"varint,60,opt,name=disable_merged_status,json=disableMergedStatus,proto3" json:"disable_merged_status,omitempty"`
	// deprecated - always set to true
	//
	// Deprecated: Do not use.
	UseKubernetesClient bool `protobuf:"varint,24,opt,name=use_kubernetes_client,json=useKubernetesClient,proto3" json:"use_kubernetes_client,omitempty"`
	// When use_kubernetes_client is on testgrid expects these results
	// to come from prow, which should include a prowjob.json and podinfo.json
	// to help debugging. If you do not expect these files to exist, you
	// can optionally disable this analysis.
	DisableProwjobAnalysis bool `` /* 131-byte string literal not displayed */
	// deprecated - always set to true
	IsExternal bool `protobuf:"varint,25,opt,name=is_external,json=isExternal,proto3" json:"is_external,omitempty"`
	// Specifies the test name for a test.
	TestNameConfig *TestNameConfig `protobuf:"bytes,26,opt,name=test_name_config,json=testNameConfig,proto3" json:"test_name_config,omitempty"`
	// A list of notifications attached to this test group.
	// This is displayed on any dashboard tab backed by this test group.
	Notifications []*Notification `protobuf:"bytes,27,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// A primary grouping strategy for grouping test results in columns.
	// If a primary grouping is specified, the fallback grouping is ignored.
	PrimaryGrouping TestGroup_PrimaryGrouping `` /* 155-byte string literal not displayed */
	// Whether to collect pass-fail data for test methods. Additional test cases
	// will be added for each test method in a target.
	EnableTestMethods bool `protobuf:"varint,30,opt,name=enable_test_methods,json=enableTestMethods,proto3" json:"enable_test_methods,omitempty"`
	// Test annotations to look for. Adds custom icon to results.
	TestAnnotations []*TestGroup_TestAnnotation `protobuf:"bytes,31,rep,name=test_annotations,json=testAnnotations,proto3" json:"test_annotations,omitempty"`
	// Maximum number of individual test methods to collect for any given test
	// row. If a test has more than this many methods, no methods will be
	// displayed.
	MaxTestMethodsPerTest int32 `` /* 132-byte string literal not displayed */
	// Default metadata that should be applied for opening bugs, if a given regex
	// matches against a test's name.
	// Requires 'use_test_metadata = true'.
	TestMetadataOptions []*TestMetadataOptions `protobuf:"bytes,34,rep,name=test_metadata_options,json=testMetadataOptions,proto3" json:"test_metadata_options,omitempty"`
	// A space-delimited string of tags that are used to filter test targets.
	// A leading - before the tag means this tag should not be present
	// in the target.
	// Example:
	//  contains tag1, but not tag2: test_tag_pattern = 'tag1 -tag2'
	TestTagPattern string `protobuf:"bytes,35,opt,name=test_tag_pattern,json=testTagPattern,proto3" json:"test_tag_pattern,omitempty"`
	// DEPRECATED: use dashboard_tab.beta_autobug_options instead.
	//
	// Deprecated: Do not use.
	AutoBugOptions *AutoBugOptions `protobuf:"bytes,36,opt,name=auto_bug_options,json=autoBugOptions,proto3" json:"auto_bug_options,omitempty"`
	// Max number of days any single test can take.
	MaxTestRuntimeHours int32 `protobuf:"varint,37,opt,name=max_test_runtime_hours,json=maxTestRuntimeHours,proto3" json:"max_test_runtime_hours,omitempty"`
	// The number of consecutive test passes to close the alert.
	NumPassesToDisableAlert int32 `` /* 138-byte string literal not displayed */
	// If true, also associate bugs with tests if the test result's overview/group
	// ID is in the bug.
	LinkBugsByGroup bool `protobuf:"varint,39,opt,name=link_bugs_by_group,json=linkBugsByGroup,proto3" json:"link_bugs_by_group,omitempty"`
	// Only show test methods with all required properties
	TestMethodProperties []*TestGroup_KeyValue `protobuf:"bytes,41,rep,name=test_method_properties,json=testMethodProperties,proto3" json:"test_method_properties,omitempty"`
	// If true, allows gathering and associating bugs with targets in the
	// dashboard. Required in order to auto-file bugs.
	GatherBugs bool `protobuf:"varint,42,opt,name=gather_bugs,json=gatherBugs,proto3" json:"gather_bugs,omitempty"`
	// Numeric property metric value to be used for short text. If this property
	// is present, it will override all the other short text values.
	ShortTextMetric string `protobuf:"bytes,43,opt,name=short_text_metric,json=shortTextMetric,proto3" json:"short_text_metric,omitempty"`
	// The key of a key-value pair in metadata (a 'configuration value').
	// This overrides the default build with the value from the key-value pair.
	BuildOverrideConfigurationValue string `` /* 159-byte string literal not displayed */
	// If true, only associate bugs with test methods if that test method is
	// mentioned in the bug. If false, bugs will be associated with all test
	// methods.
	LinkBugsByTestMethods bool `` /* 132-byte string literal not displayed */
	// Regex to match test methods. Only test methods with names that match
	// this regex will be included in the table.
	TestMethodMatchRegex string `` /* 126-byte string literal not displayed */
	// Regex to exclude test methods. Test methods with names that match
	// this regex will be excluded from the table, even if they match
	// test_method_match_regex.
	TestMethodUnmatchRegex string `` /* 132-byte string literal not displayed */
	// If true, test method names are printed with the full class names.
	UseFullMethodNames bool `protobuf:"varint,47,opt,name=use_full_method_names,json=useFullMethodNames,proto3" json:"use_full_method_names,omitempty"`
	// A configuration value that is used as a fallback grouping.
	// This is useful for cases where there are builds that shared the same
	// commit but are run at separate times of day.
	FallbackGroupingConfigurationValue string `` /* 168-byte string literal not displayed */
	// Configuration type of the result source.
	ResultSource *TestGroup_ResultSource `protobuf:"bytes,50,opt,name=result_source,json=resultSource,proto3" json:"result_source,omitempty"`
	// Set of rules that are evaluated with each test result. If an evaluation is
	// successful, the status of that test result will be whatever is specified
	// for a given rule. For more information, look at RuleSet documention
	CustomEvaluatorRuleSet *custom_evaluator.RuleSet `` /* 132-byte string literal not displayed */
	// If true, instead of updating the group, read the state proto from storage
	// and update summary, alerts, etc. from that state.
	// This only applies to test group state, not bug state for a test group.
	// This assumes that the state proto is updated through other means (another
	// updater, manually, etc).
	ReadStateFromStorage bool `` /* 127-byte string literal not displayed */
	// If true, only add the most recent result for a test when multiple results
	// for a test with the same name are encountered.
	IgnoreOldResults bool `protobuf:"varint,53,opt,name=ignore_old_results,json=ignoreOldResults,proto3" json:"ignore_old_results,omitempty"`
	// If True, ignore the 'pass with skips' status (show as a blank cell).
	IgnoreSkip bool `protobuf:"varint,54,opt,name=ignore_skip,json=ignoreSkip,proto3" json:"ignore_skip,omitempty"`
	// A string containing python formatting specifiers that overrides the
	// commit with the date formatted according to this string. This is useful
	// for aggregating multiple columns that don't have a matching commit.
	BuildOverrideStrftime string `` /* 127-byte string literal not displayed */
	// Specify a property that will be read into state in the user_property field.
	// These can be substituted into LinkTemplates.
	UserProperty string `protobuf:"bytes,56,opt,name=user_property,json=userProperty,proto3" json:"user_property,omitempty"`
	// Where to gather linked issues from. (Currently a no-op).
	IssueGatherOptions *IssueGatherOptions `protobuf:"bytes,63,opt,name=issue_gather_options,json=issueGatherOptions,proto3" json:"issue_gather_options,omitempty"`
	// contains filtered or unexported fields
}

Specifies a group of tests to gather.

func (*TestGroup) Descriptor deprecated

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

Deprecated: Use TestGroup.ProtoReflect.Descriptor instead.

func (*TestGroup) GetAlertMailDebugUrl deprecated

func (x *TestGroup) GetAlertMailDebugUrl() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailFailureMessage deprecated

func (x *TestGroup) GetAlertMailFailureMessage() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailSubject deprecated

func (x *TestGroup) GetAlertMailSubject() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailToAddresses deprecated

func (x *TestGroup) GetAlertMailToAddresses() string

Deprecated: Do not use.

func (*TestGroup) GetAlertStaleResultsHours deprecated

func (x *TestGroup) GetAlertStaleResultsHours() int32

Deprecated: Do not use.

func (*TestGroup) GetAutoBugOptions deprecated

func (x *TestGroup) GetAutoBugOptions() *AutoBugOptions

Deprecated: Do not use.

func (*TestGroup) GetBugComponent deprecated

func (x *TestGroup) GetBugComponent() int32

Deprecated: Do not use.

func (*TestGroup) GetBuildOverrideConfigurationValue added in v0.0.126

func (x *TestGroup) GetBuildOverrideConfigurationValue() string

func (*TestGroup) GetBuildOverrideStrftime added in v0.0.66

func (x *TestGroup) GetBuildOverrideStrftime() string

func (*TestGroup) GetCodeSearchPath

func (x *TestGroup) GetCodeSearchPath() string

func (*TestGroup) GetColumnHeader

func (x *TestGroup) GetColumnHeader() []*TestGroup_ColumnHeader

func (*TestGroup) GetCustomEvaluatorRuleSet

func (x *TestGroup) GetCustomEvaluatorRuleSet() *custom_evaluator.RuleSet

func (*TestGroup) GetDaysOfResults

func (x *TestGroup) GetDaysOfResults() int32

func (*TestGroup) GetDisableMergedStatus added in v0.0.53

func (x *TestGroup) GetDisableMergedStatus() bool

func (*TestGroup) GetDisableProwjobAnalysis added in v0.0.55

func (x *TestGroup) GetDisableProwjobAnalysis() bool

func (*TestGroup) GetEnableFlakyStatus

func (x *TestGroup) GetEnableFlakyStatus() bool

func (*TestGroup) GetEnableTestMethods

func (x *TestGroup) GetEnableTestMethods() bool

func (*TestGroup) GetFallbackGrouping

func (x *TestGroup) GetFallbackGrouping() TestGroup_FallbackGrouping

func (*TestGroup) GetFallbackGroupingConfigurationValue

func (x *TestGroup) GetFallbackGroupingConfigurationValue() string

func (*TestGroup) GetGatherBugs

func (x *TestGroup) GetGatherBugs() bool

func (*TestGroup) GetGcsPrefix added in v0.0.6

func (x *TestGroup) GetGcsPrefix() string

func (*TestGroup) GetIgnoreBuilt

func (x *TestGroup) GetIgnoreBuilt() bool

func (*TestGroup) GetIgnoreOldResults

func (x *TestGroup) GetIgnoreOldResults() bool

func (*TestGroup) GetIgnorePending

func (x *TestGroup) GetIgnorePending() bool

func (*TestGroup) GetIgnoreSkip

func (x *TestGroup) GetIgnoreSkip() bool

func (*TestGroup) GetIgnoreTestSubstring

func (x *TestGroup) GetIgnoreTestSubstring() []string

func (*TestGroup) GetIsExternal

func (x *TestGroup) GetIsExternal() bool

func (*TestGroup) GetIssueGatherOptions added in v0.0.153

func (x *TestGroup) GetIssueGatherOptions() *IssueGatherOptions

func (*TestGroup) GetLinkBugsByGroup

func (x *TestGroup) GetLinkBugsByGroup() bool

func (*TestGroup) GetLinkBugsByTestMethods

func (x *TestGroup) GetLinkBugsByTestMethods() bool

func (*TestGroup) GetMaxTestMethodsPerTest

func (x *TestGroup) GetMaxTestMethodsPerTest() int32

func (*TestGroup) GetMaxTestRuntimeHours

func (x *TestGroup) GetMaxTestRuntimeHours() int32

func (*TestGroup) GetMinElapsedMinutesBetweenMails deprecated

func (x *TestGroup) GetMinElapsedMinutesBetweenMails() int32

Deprecated: Do not use.

func (*TestGroup) GetName

func (x *TestGroup) GetName() string

func (*TestGroup) GetNotifications

func (x *TestGroup) GetNotifications() []*Notification

func (*TestGroup) GetNumColumnsRecent

func (x *TestGroup) GetNumColumnsRecent() int32

func (*TestGroup) GetNumFailuresToAlert deprecated

func (x *TestGroup) GetNumFailuresToAlert() int32

Deprecated: Do not use.

func (*TestGroup) GetNumPassesToDisableAlert

func (x *TestGroup) GetNumPassesToDisableAlert() int32

func (*TestGroup) GetPrimaryGrouping

func (x *TestGroup) GetPrimaryGrouping() TestGroup_PrimaryGrouping

func (*TestGroup) GetReadStateFromStorage

func (x *TestGroup) GetReadStateFromStorage() bool

func (*TestGroup) GetResultSource

func (x *TestGroup) GetResultSource() *TestGroup_ResultSource

func (*TestGroup) GetShortTextMetric

func (x *TestGroup) GetShortTextMetric() string

func (*TestGroup) GetTestAnnotations

func (x *TestGroup) GetTestAnnotations() []*TestGroup_TestAnnotation

func (*TestGroup) GetTestMetadataOptions

func (x *TestGroup) GetTestMetadataOptions() []*TestMetadataOptions

func (*TestGroup) GetTestMethodMatchRegex

func (x *TestGroup) GetTestMethodMatchRegex() string

func (*TestGroup) GetTestMethodProperties

func (x *TestGroup) GetTestMethodProperties() []*TestGroup_KeyValue

func (*TestGroup) GetTestMethodUnmatchRegex added in v0.0.57

func (x *TestGroup) GetTestMethodUnmatchRegex() string

func (*TestGroup) GetTestNameConfig

func (x *TestGroup) GetTestNameConfig() *TestNameConfig

func (*TestGroup) GetTestTagPattern

func (x *TestGroup) GetTestTagPattern() string

func (*TestGroup) GetTestsNamePolicy

func (x *TestGroup) GetTestsNamePolicy() TestGroup_TestsName

func (*TestGroup) GetUseFullMethodNames

func (x *TestGroup) GetUseFullMethodNames() bool

func (*TestGroup) GetUseKubernetesClient deprecated

func (x *TestGroup) GetUseKubernetesClient() bool

Deprecated: Do not use.

func (*TestGroup) GetUseTestMetadata

func (x *TestGroup) GetUseTestMetadata() bool

func (*TestGroup) GetUserProperty added in v0.0.11

func (x *TestGroup) GetUserProperty() string

func (*TestGroup) ProtoMessage

func (*TestGroup) ProtoMessage()

func (*TestGroup) ProtoReflect added in v0.0.91

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

func (*TestGroup) Reset

func (x *TestGroup) Reset()

func (*TestGroup) String

func (x *TestGroup) String() string

type TestGroup_ColumnHeader

type TestGroup_ColumnHeader struct {
	Label              string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Property           string `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
	ConfigurationValue string `protobuf:"bytes,3,opt,name=configuration_value,json=configurationValue,proto3" json:"configuration_value,omitempty"`
	// If true, list all distinct values. Else, list multiple distinct values as
	// "*".
	ListAllValues bool `protobuf:"varint,4,opt,name=list_all_values,json=listAllValues,proto3" json:"list_all_values,omitempty"`
	// contains filtered or unexported fields
}

Custom column headers for defining extra column-heading rows from values in the test result.

func (*TestGroup_ColumnHeader) Descriptor deprecated

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

Deprecated: Use TestGroup_ColumnHeader.ProtoReflect.Descriptor instead.

func (*TestGroup_ColumnHeader) GetConfigurationValue

func (x *TestGroup_ColumnHeader) GetConfigurationValue() string

func (*TestGroup_ColumnHeader) GetLabel

func (x *TestGroup_ColumnHeader) GetLabel() string

func (*TestGroup_ColumnHeader) GetListAllValues added in v0.0.104

func (x *TestGroup_ColumnHeader) GetListAllValues() bool

func (*TestGroup_ColumnHeader) GetProperty

func (x *TestGroup_ColumnHeader) GetProperty() string

func (*TestGroup_ColumnHeader) ProtoMessage

func (*TestGroup_ColumnHeader) ProtoMessage()

func (*TestGroup_ColumnHeader) ProtoReflect added in v0.0.91

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

func (*TestGroup_ColumnHeader) Reset

func (x *TestGroup_ColumnHeader) Reset()

func (*TestGroup_ColumnHeader) String

func (x *TestGroup_ColumnHeader) String() string

type TestGroup_FallbackGrouping

type TestGroup_FallbackGrouping int32
const (
	TestGroup_FALLBACK_GROUPING_NONE   TestGroup_FallbackGrouping = 0
	TestGroup_FALLBACK_GROUPING_DATE   TestGroup_FallbackGrouping = 1
	TestGroup_FALLBACK_GROUPING_LABELS TestGroup_FallbackGrouping = 2
	TestGroup_FALLBACK_GROUPING_ID     TestGroup_FallbackGrouping = 3
	TestGroup_FALLBACK_GROUPING_BUILD  TestGroup_FallbackGrouping = 4
	// When using this, ensure fallback_grouping_configuration_value is
	// also set.
	TestGroup_FALLBACK_GROUPING_CONFIGURATION_VALUE TestGroup_FallbackGrouping = 5
)

func (TestGroup_FallbackGrouping) Descriptor added in v0.0.91

func (TestGroup_FallbackGrouping) Enum added in v0.0.91

func (TestGroup_FallbackGrouping) EnumDescriptor deprecated

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

Deprecated: Use TestGroup_FallbackGrouping.Descriptor instead.

func (TestGroup_FallbackGrouping) Number added in v0.0.91

func (TestGroup_FallbackGrouping) String

func (TestGroup_FallbackGrouping) Type added in v0.0.91

type TestGroup_KeyValue

type TestGroup_KeyValue 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"`
	// contains filtered or unexported fields
}

A string key value pair message

func (*TestGroup_KeyValue) Descriptor deprecated

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

Deprecated: Use TestGroup_KeyValue.ProtoReflect.Descriptor instead.

func (*TestGroup_KeyValue) GetKey

func (x *TestGroup_KeyValue) GetKey() string

func (*TestGroup_KeyValue) GetValue

func (x *TestGroup_KeyValue) GetValue() string

func (*TestGroup_KeyValue) ProtoMessage

func (*TestGroup_KeyValue) ProtoMessage()

func (*TestGroup_KeyValue) ProtoReflect added in v0.0.91

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

func (*TestGroup_KeyValue) Reset

func (x *TestGroup_KeyValue) Reset()

func (*TestGroup_KeyValue) String

func (x *TestGroup_KeyValue) String() string

type TestGroup_PrimaryGrouping

type TestGroup_PrimaryGrouping int32
const (
	TestGroup_PRIMARY_GROUPING_NONE  TestGroup_PrimaryGrouping = 0
	TestGroup_PRIMARY_GROUPING_BUILD TestGroup_PrimaryGrouping = 1
)

func (TestGroup_PrimaryGrouping) Descriptor added in v0.0.91

func (TestGroup_PrimaryGrouping) Enum added in v0.0.91

func (TestGroup_PrimaryGrouping) EnumDescriptor deprecated

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

Deprecated: Use TestGroup_PrimaryGrouping.Descriptor instead.

func (TestGroup_PrimaryGrouping) Number added in v0.0.91

func (TestGroup_PrimaryGrouping) String

func (x TestGroup_PrimaryGrouping) String() string

func (TestGroup_PrimaryGrouping) Type added in v0.0.91

type TestGroup_ResultSource

type TestGroup_ResultSource struct {

	// Types that are assignable to ResultSourceConfig:
	//	*TestGroup_ResultSource_GcsConfig
	//	*TestGroup_ResultSource_ResultstoreConfig
	ResultSourceConfig isTestGroup_ResultSource_ResultSourceConfig `protobuf_oneof:"result_source_config"`
	// contains filtered or unexported fields
}

func (*TestGroup_ResultSource) Descriptor deprecated

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

Deprecated: Use TestGroup_ResultSource.ProtoReflect.Descriptor instead.

func (*TestGroup_ResultSource) GetGcsConfig added in v0.0.91

func (x *TestGroup_ResultSource) GetGcsConfig() *GCSConfig

func (*TestGroup_ResultSource) GetResultSourceConfig

func (m *TestGroup_ResultSource) GetResultSourceConfig() isTestGroup_ResultSource_ResultSourceConfig

func (*TestGroup_ResultSource) GetResultstoreConfig added in v0.0.164

func (x *TestGroup_ResultSource) GetResultstoreConfig() *ResultStoreConfig

func (*TestGroup_ResultSource) ProtoMessage

func (*TestGroup_ResultSource) ProtoMessage()

func (*TestGroup_ResultSource) ProtoReflect added in v0.0.91

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

func (*TestGroup_ResultSource) Reset

func (x *TestGroup_ResultSource) Reset()

func (*TestGroup_ResultSource) String

func (x *TestGroup_ResultSource) String() string

type TestGroup_ResultSource_GcsConfig added in v0.0.91

type TestGroup_ResultSource_GcsConfig struct {
	// GCS buckets holding junit and json results, typically created by prow.
	GcsConfig *GCSConfig `protobuf:"bytes,2,opt,name=gcs_config,json=gcsConfig,proto3,oneof"`
}

type TestGroup_ResultSource_ResultstoreConfig added in v0.0.164

type TestGroup_ResultSource_ResultstoreConfig struct {
	// Invocations stored in ResultStore.
	ResultstoreConfig *ResultStoreConfig `protobuf:"bytes,6,opt,name=resultstore_config,json=resultstoreConfig,proto3,oneof"`
}

type TestGroup_TestAnnotation

type TestGroup_TestAnnotation struct {
	ShortText string `protobuf:"bytes,1,opt,name=short_text,json=shortText,proto3" json:"short_text,omitempty"`
	// Types that are assignable to ShortTextMessageSource:
	//	*TestGroup_TestAnnotation_PropertyName
	ShortTextMessageSource isTestGroup_TestAnnotation_ShortTextMessageSource `protobuf_oneof:"short_text_message_source"`
	// contains filtered or unexported fields
}

Associates the presence of a named test property with a custom short text displayed over the results. Short text must be <=5 characters long.

func (*TestGroup_TestAnnotation) Descriptor deprecated

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

Deprecated: Use TestGroup_TestAnnotation.ProtoReflect.Descriptor instead.

func (*TestGroup_TestAnnotation) GetPropertyName

func (x *TestGroup_TestAnnotation) GetPropertyName() string

func (*TestGroup_TestAnnotation) GetShortText

func (x *TestGroup_TestAnnotation) GetShortText() string

func (*TestGroup_TestAnnotation) GetShortTextMessageSource

func (m *TestGroup_TestAnnotation) GetShortTextMessageSource() isTestGroup_TestAnnotation_ShortTextMessageSource

func (*TestGroup_TestAnnotation) ProtoMessage

func (*TestGroup_TestAnnotation) ProtoMessage()

func (*TestGroup_TestAnnotation) ProtoReflect added in v0.0.91

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

func (*TestGroup_TestAnnotation) Reset

func (x *TestGroup_TestAnnotation) Reset()

func (*TestGroup_TestAnnotation) String

func (x *TestGroup_TestAnnotation) String() string

type TestGroup_TestAnnotation_PropertyName

type TestGroup_TestAnnotation_PropertyName struct {
	PropertyName string `protobuf:"bytes,2,opt,name=property_name,json=propertyName,proto3,oneof"`
}

type TestGroup_TestsName

type TestGroup_TestsName int32
const (
	TestGroup_TESTS_NAME_UNSPECIFIED TestGroup_TestsName = 0
	TestGroup_TESTS_NAME_IGNORE      TestGroup_TestsName = 1
	TestGroup_TESTS_NAME_REPLACE     TestGroup_TestsName = 2
	TestGroup_TESTS_NAME_APPEND      TestGroup_TestsName = 3
)

func (TestGroup_TestsName) Descriptor added in v0.0.91

func (TestGroup_TestsName) Enum added in v0.0.91

func (TestGroup_TestsName) EnumDescriptor deprecated

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

Deprecated: Use TestGroup_TestsName.Descriptor instead.

func (TestGroup_TestsName) Number added in v0.0.91

func (TestGroup_TestsName) String

func (x TestGroup_TestsName) String() string

func (TestGroup_TestsName) Type added in v0.0.91

type TestMetadataOptions

type TestMetadataOptions struct {

	// Apply the following metadata if this regex matches a test's name.
	TestNameRegex string `protobuf:"bytes,1,opt,name=test_name_regex,json=testNameRegex,proto3" json:"test_name_regex,omitempty"`
	// Default bug component to open a bug in.
	BugComponent int32 `protobuf:"varint,2,opt,name=bug_component,json=bugComponent,proto3" json:"bug_component,omitempty"`
	// Default owner to assign a bug to.
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// List of default users to CC a bug to.
	Cc []string `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"`
	// Apply following metadata if this regex matches a test’s failure message.
	MessageRegex string `protobuf:"bytes,5,opt,name=message_regex,json=messageRegex,proto3" json:"message_regex,omitempty"`
	// contains filtered or unexported fields
}

Default metadata to apply when opening bugs.

func (*TestMetadataOptions) Descriptor deprecated

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

Deprecated: Use TestMetadataOptions.ProtoReflect.Descriptor instead.

func (*TestMetadataOptions) GetBugComponent

func (x *TestMetadataOptions) GetBugComponent() int32

func (*TestMetadataOptions) GetCc

func (x *TestMetadataOptions) GetCc() []string

func (*TestMetadataOptions) GetMessageRegex

func (x *TestMetadataOptions) GetMessageRegex() string

func (*TestMetadataOptions) GetOwner

func (x *TestMetadataOptions) GetOwner() string

func (*TestMetadataOptions) GetTestNameRegex

func (x *TestMetadataOptions) GetTestNameRegex() string

func (*TestMetadataOptions) ProtoMessage

func (*TestMetadataOptions) ProtoMessage()

func (*TestMetadataOptions) ProtoReflect added in v0.0.91

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

func (*TestMetadataOptions) Reset

func (x *TestMetadataOptions) Reset()

func (*TestMetadataOptions) String

func (x *TestMetadataOptions) String() string

type TestNameConfig

type TestNameConfig struct {

	// The name elements specifying the target test name for this tab.
	NameElements []*TestNameConfig_NameElement `protobuf:"bytes,1,rep,name=name_elements,json=nameElements,proto3" json:"name_elements,omitempty"`
	// Specifies a printf-style format string for name elements. The format
	// string should have as many conversions as there are name_elements.
	// For example, two name_elements could be used with name_format="%s: %s".
	NameFormat string `protobuf:"bytes,2,opt,name=name_format,json=nameFormat,proto3" json:"name_format,omitempty"`
	// contains filtered or unexported fields
}

Specifies the test name, and its source

func (*TestNameConfig) Descriptor deprecated

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

Deprecated: Use TestNameConfig.ProtoReflect.Descriptor instead.

func (*TestNameConfig) GetNameElements

func (x *TestNameConfig) GetNameElements() []*TestNameConfig_NameElement

func (*TestNameConfig) GetNameFormat

func (x *TestNameConfig) GetNameFormat() string

func (*TestNameConfig) ProtoMessage

func (*TestNameConfig) ProtoMessage()

func (*TestNameConfig) ProtoReflect added in v0.0.91

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

func (*TestNameConfig) Reset

func (x *TestNameConfig) Reset()

func (*TestNameConfig) String

func (x *TestNameConfig) String() string

type TestNameConfig_NameElement

type TestNameConfig_NameElement struct {

	// A space-delimited string of labels
	Labels string `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"`
	// Configuration value to use.
	// Valid choice are:
	// 'Tests name': The name of a test case
	// 'Commit': The commit number of the build
	// 'Context', 'Thread': The info extracted from each junit files:
	//    - junit_core-os_01.xml -> Context: core-os, Thread: 01
	//    - junit_runner.xml -> Context: runner
	//    - junit_01.xml -> Thread: 01
	// or any metadata key from finished.json, which is copied from your test
	// suite.
	//
	// A valid sample TestNameConfig looks like:
	// test_name_config:
	//   name_elements:
	//   - target_config: Tests name
	//   - target_config: Context
	//   name_format: '%s [%s]'
	TargetConfig string `protobuf:"bytes,2,opt,name=target_config,json=targetConfig,proto3" json:"target_config,omitempty"`
	// Whether to use the build-target name
	BuildTarget bool `protobuf:"varint,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// A space-delimited string of Bazel build tags.
	Tags string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"`
	// The key of a test result's property.
	TestProperty string `protobuf:"bytes,5,opt,name=test_property,json=testProperty,proto3" json:"test_property,omitempty"`
	// contains filtered or unexported fields
}

Specifies name elements to be selected from configuration values

func (*TestNameConfig_NameElement) Descriptor deprecated

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

Deprecated: Use TestNameConfig_NameElement.ProtoReflect.Descriptor instead.

func (*TestNameConfig_NameElement) GetBuildTarget

func (x *TestNameConfig_NameElement) GetBuildTarget() bool

func (*TestNameConfig_NameElement) GetLabels

func (x *TestNameConfig_NameElement) GetLabels() string

func (*TestNameConfig_NameElement) GetTags

func (x *TestNameConfig_NameElement) GetTags() string

func (*TestNameConfig_NameElement) GetTargetConfig

func (x *TestNameConfig_NameElement) GetTargetConfig() string

func (*TestNameConfig_NameElement) GetTestProperty

func (x *TestNameConfig_NameElement) GetTestProperty() string

func (*TestNameConfig_NameElement) ProtoMessage

func (*TestNameConfig_NameElement) ProtoMessage()

func (*TestNameConfig_NameElement) ProtoReflect added in v0.0.91

func (*TestNameConfig_NameElement) Reset

func (x *TestNameConfig_NameElement) Reset()

func (*TestNameConfig_NameElement) String

func (x *TestNameConfig_NameElement) String() string

Jump to

Keyboard shortcuts

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