config

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AutoBugOptions_Priority_name = map[int32]string{
	0: "PRIORITY_UNSPECIFIED",
	1: "P0",
	2: "P1",
	3: "P2",
	4: "P3",
	5: "P4",
}
View Source
var AutoBugOptions_Priority_value = map[string]int32{
	"PRIORITY_UNSPECIFIED": 0,
	"P0":                   1,
	"P1":                   2,
	"P2":                   3,
	"P3":                   4,
	"P4":                   5,
}
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",
}
View Source
var 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,
}
View Source
var TestGroup_PrimaryGrouping_name = map[int32]string{
	0: "PRIMARY_GROUPING_NONE",
	1: "PRIMARY_GROUPING_BUILD",
}
View Source
var TestGroup_PrimaryGrouping_value = map[string]int32{
	"PRIMARY_GROUPING_NONE":  0,
	"PRIMARY_GROUPING_BUILD": 1,
}
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",
}
View Source
var TestGroup_TestsName_value = map[string]int32{
	"TESTS_NAME_UNSPECIFIED": 0,
	"TESTS_NAME_IGNORE":      1,
	"TESTS_NAME_REPLACE":     2,
	"TESTS_NAME_APPEND":      3,
}

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.
	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=AutoBugOptions_Priority" json:"priority,omitempty"`
	// A list of hotlist id sources
	// Corresponds with the list hotlist_ids (#2)
	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. This also requires `auto_close` and
	// `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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AutoBugOptions) Descriptor

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

func (*AutoBugOptions) GetAdvancedTestMetadata added in v0.0.41

func (m *AutoBugOptions) GetAdvancedTestMetadata() bool

func (*AutoBugOptions) GetAutoClose

func (m *AutoBugOptions) GetAutoClose() bool

func (*AutoBugOptions) GetBetaAutobugComponent added in v0.0.12

func (m *AutoBugOptions) GetBetaAutobugComponent() int32

func (*AutoBugOptions) GetDefaultTestMetadata added in v0.0.11

func (m *AutoBugOptions) GetDefaultTestMetadata() *AutoBugOptions_DefaultTestMetadata

func (*AutoBugOptions) GetFileIndividual

func (m *AutoBugOptions) GetFileIndividual() bool

func (*AutoBugOptions) GetFileOverall

func (m *AutoBugOptions) GetFileOverall() bool

func (*AutoBugOptions) GetHotlistIds

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

func (*AutoBugOptions) GetHotlistIdsFromSource

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

func (*AutoBugOptions) GetMaxAllowedIndividualBugs

func (m *AutoBugOptions) GetMaxAllowedIndividualBugs() int32

func (*AutoBugOptions) GetPriority

func (m *AutoBugOptions) GetPriority() AutoBugOptions_Priority

func (*AutoBugOptions) GetSingletonAutobug

func (m *AutoBugOptions) GetSingletonAutobug() bool

func (*AutoBugOptions) ProtoMessage

func (*AutoBugOptions) ProtoMessage()

func (*AutoBugOptions) Reset

func (m *AutoBugOptions) Reset()

func (*AutoBugOptions) String

func (m *AutoBugOptions) String() string

func (*AutoBugOptions) XXX_DiscardUnknown

func (m *AutoBugOptions) XXX_DiscardUnknown()

func (*AutoBugOptions) XXX_Marshal

func (m *AutoBugOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AutoBugOptions) XXX_Merge

func (m *AutoBugOptions) XXX_Merge(src proto.Message)

func (*AutoBugOptions) XXX_Size

func (m *AutoBugOptions) XXX_Size() int

func (*AutoBugOptions) XXX_Unmarshal

func (m *AutoBugOptions) XXX_Unmarshal(b []byte) error

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,opt,name=cc,proto3" json:"cc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AutoBugOptions_DefaultTestMetadata) Descriptor added in v0.0.11

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

func (*AutoBugOptions_DefaultTestMetadata) GetBugComponent added in v0.0.11

func (m *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) Reset added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) String added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) XXX_DiscardUnknown added in v0.0.11

func (m *AutoBugOptions_DefaultTestMetadata) XXX_DiscardUnknown()

func (*AutoBugOptions_DefaultTestMetadata) XXX_Marshal added in v0.0.11

func (m *AutoBugOptions_DefaultTestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AutoBugOptions_DefaultTestMetadata) XXX_Merge added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) XXX_Size added in v0.0.11

func (*AutoBugOptions_DefaultTestMetadata) XXX_Unmarshal added in v0.0.11

func (m *AutoBugOptions_DefaultTestMetadata) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (AutoBugOptions_Priority) String

func (x AutoBugOptions_Priority) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

A service configuration consisting of multiple test groups and dashboards.

func (*Configuration) Descriptor

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

func (*Configuration) GetDashboardGroups

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

func (*Configuration) GetDashboards

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

func (*Configuration) GetTestGroups

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

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) Reset

func (m *Configuration) Reset()

func (*Configuration) String

func (m *Configuration) String() string

func (*Configuration) XXX_DiscardUnknown

func (m *Configuration) XXX_DiscardUnknown()

func (*Configuration) XXX_Marshal

func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Configuration) XXX_Merge

func (m *Configuration) XXX_Merge(src proto.Message)

func (*Configuration) XXX_Size

func (m *Configuration) XXX_Size() int

func (*Configuration) XXX_Unmarshal

func (m *Configuration) XXX_Unmarshal(b []byte) error

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'
	HighlightFailingTabs bool `protobuf:"varint,6,opt,name=highlight_failing_tabs,json=highlightFailingTabs,proto3" json:"highlight_failing_tabs,omitempty"` // Deprecated: Do not use.
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies a dashboard.

func (*Dashboard) Descriptor

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

func (*Dashboard) GetDashboardTab

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

func (*Dashboard) GetDefaultTab

func (m *Dashboard) GetDefaultTab() string

func (*Dashboard) GetDownplayFailingTabs

func (m *Dashboard) GetDownplayFailingTabs() bool

func (*Dashboard) GetHighlightFailingTabs deprecated

func (m *Dashboard) GetHighlightFailingTabs() bool

Deprecated: Do not use.

func (*Dashboard) GetHighlightToday

func (m *Dashboard) GetHighlightToday() bool

func (*Dashboard) GetName

func (m *Dashboard) GetName() string

func (*Dashboard) GetNotifications

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

func (*Dashboard) ProtoMessage

func (*Dashboard) ProtoMessage()

func (*Dashboard) Reset

func (m *Dashboard) Reset()

func (*Dashboard) String

func (m *Dashboard) String() string

func (*Dashboard) XXX_DiscardUnknown

func (m *Dashboard) XXX_DiscardUnknown()

func (*Dashboard) XXX_Marshal

func (m *Dashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dashboard) XXX_Merge

func (m *Dashboard) XXX_Merge(src proto.Message)

func (*Dashboard) XXX_Size

func (m *Dashboard) XXX_Size() int

func (*Dashboard) XXX_Unmarshal

func (m *Dashboard) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies a dashboard group.

func (*DashboardGroup) Descriptor

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

func (*DashboardGroup) GetDashboardNames

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

func (*DashboardGroup) GetName

func (m *DashboardGroup) GetName() string

func (*DashboardGroup) ProtoMessage

func (*DashboardGroup) ProtoMessage()

func (*DashboardGroup) Reset

func (m *DashboardGroup) Reset()

func (*DashboardGroup) String

func (m *DashboardGroup) String() string

func (*DashboardGroup) XXX_DiscardUnknown

func (m *DashboardGroup) XXX_DiscardUnknown()

func (*DashboardGroup) XXX_Marshal

func (m *DashboardGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DashboardGroup) XXX_Merge

func (m *DashboardGroup) XXX_Merge(src proto.Message)

func (*DashboardGroup) XXX_Size

func (m *DashboardGroup) XXX_Size() int

func (*DashboardGroup) XXX_Unmarshal

func (m *DashboardGroup) XXX_Unmarshal(b []byte) error

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 */
	// 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 */
	XXX_NoUnkeyedLiteral  struct{}               `json:"-"`
	XXX_unrecognized      []byte                 `json:"-"`
	XXX_sizecache         int32                  `json:"-"`
}

A single tab on a dashboard.

func (*DashboardTab) Descriptor

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

func (*DashboardTab) GetAboutDashboardUrl

func (m *DashboardTab) GetAboutDashboardUrl() string

func (*DashboardTab) GetAlertOptions

func (m *DashboardTab) GetAlertOptions() *DashboardTabAlertOptions

func (*DashboardTab) GetAttachBugTemplate

func (m *DashboardTab) GetAttachBugTemplate() *LinkTemplate

func (*DashboardTab) GetAutoFileBugs added in v0.0.11

func (m *DashboardTab) GetAutoFileBugs() bool

func (*DashboardTab) GetBaseOptions

func (m *DashboardTab) GetBaseOptions() string

func (*DashboardTab) GetBetaAutobugOptions added in v0.0.12

func (m *DashboardTab) GetBetaAutobugOptions() *AutoBugOptions

func (*DashboardTab) GetBrokenColumnThreshold added in v0.0.11

func (m *DashboardTab) GetBrokenColumnThreshold() float32

func (*DashboardTab) GetBugComponent

func (m *DashboardTab) GetBugComponent() int32

func (*DashboardTab) GetCodeSearchPath

func (m *DashboardTab) GetCodeSearchPath() string

func (*DashboardTab) GetCodeSearchUrlTemplate

func (m *DashboardTab) GetCodeSearchUrlTemplate() *LinkTemplate

func (*DashboardTab) GetContextMenuTemplate added in v0.0.11

func (m *DashboardTab) GetContextMenuTemplate() *LinkTemplate

func (*DashboardTab) GetDescription

func (m *DashboardTab) GetDescription() string

func (*DashboardTab) GetDisplayLocalTime added in v0.0.11

func (m *DashboardTab) GetDisplayLocalTime() bool

func (*DashboardTab) GetFileBugTemplate

func (m *DashboardTab) GetFileBugTemplate() *LinkTemplate

func (*DashboardTab) GetFlakinessAlertOptions added in v0.0.23

func (m *DashboardTab) GetFlakinessAlertOptions() *DashboardTabFlakinessAlertOptions

func (*DashboardTab) GetHealthAnalysisOptions added in v0.0.14

func (m *DashboardTab) GetHealthAnalysisOptions() *HealthAnalysisOptions

func (*DashboardTab) GetName

func (m *DashboardTab) GetName() string

func (*DashboardTab) GetNumColumnsRecent

func (m *DashboardTab) GetNumColumnsRecent() int32

func (*DashboardTab) GetOpenBugTemplate

func (m *DashboardTab) GetOpenBugTemplate() *LinkTemplate

func (*DashboardTab) GetOpenTestTemplate

func (m *DashboardTab) GetOpenTestTemplate() *LinkTemplate

func (*DashboardTab) GetResultsText

func (m *DashboardTab) GetResultsText() string

func (*DashboardTab) GetResultsUrlTemplate

func (m *DashboardTab) GetResultsUrlTemplate() *LinkTemplate

func (*DashboardTab) GetTabularNamesRegex

func (m *DashboardTab) GetTabularNamesRegex() string

func (*DashboardTab) GetTestGroupName

func (m *DashboardTab) GetTestGroupName() string

func (*DashboardTab) ProtoMessage

func (*DashboardTab) ProtoMessage()

func (*DashboardTab) Reset

func (m *DashboardTab) Reset()

func (*DashboardTab) String

func (m *DashboardTab) String() string

func (*DashboardTab) XXX_DiscardUnknown

func (m *DashboardTab) XXX_DiscardUnknown()

func (*DashboardTab) XXX_Marshal

func (m *DashboardTab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DashboardTab) XXX_Merge

func (m *DashboardTab) XXX_Merge(src proto.Message)

func (*DashboardTab) XXX_Size

func (m *DashboardTab) XXX_Size() int

func (*DashboardTab) XXX_Unmarshal

func (m *DashboardTab) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

Configuration options for dashboard tab alerts.

func (*DashboardTabAlertOptions) Descriptor

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

func (*DashboardTabAlertOptions) GetAlertMailFailureMessage added in v0.0.21

func (m *DashboardTabAlertOptions) GetAlertMailFailureMessage() string

func (*DashboardTabAlertOptions) GetAlertMailToAddresses

func (m *DashboardTabAlertOptions) GetAlertMailToAddresses() string

func (*DashboardTabAlertOptions) GetAlertStaleResultsHours

func (m *DashboardTabAlertOptions) GetAlertStaleResultsHours() int32

func (*DashboardTabAlertOptions) GetDebugMessage

func (m *DashboardTabAlertOptions) GetDebugMessage() string

func (*DashboardTabAlertOptions) GetDebugUrl

func (m *DashboardTabAlertOptions) GetDebugUrl() string

func (*DashboardTabAlertOptions) GetNumFailuresToAlert

func (m *DashboardTabAlertOptions) GetNumFailuresToAlert() int32

func (*DashboardTabAlertOptions) GetNumPassesToDisableAlert

func (m *DashboardTabAlertOptions) GetNumPassesToDisableAlert() int32

func (*DashboardTabAlertOptions) GetSubject

func (m *DashboardTabAlertOptions) GetSubject() string

func (*DashboardTabAlertOptions) GetWaitMinutesBetweenEmails added in v0.0.21

func (m *DashboardTabAlertOptions) GetWaitMinutesBetweenEmails() int32

func (*DashboardTabAlertOptions) ProtoMessage

func (*DashboardTabAlertOptions) ProtoMessage()

func (*DashboardTabAlertOptions) Reset

func (m *DashboardTabAlertOptions) Reset()

func (*DashboardTabAlertOptions) String

func (m *DashboardTabAlertOptions) String() string

func (*DashboardTabAlertOptions) XXX_DiscardUnknown

func (m *DashboardTabAlertOptions) XXX_DiscardUnknown()

func (*DashboardTabAlertOptions) XXX_Marshal

func (m *DashboardTabAlertOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DashboardTabAlertOptions) XXX_Merge

func (m *DashboardTabAlertOptions) XXX_Merge(src proto.Message)

func (*DashboardTabAlertOptions) XXX_Size

func (m *DashboardTabAlertOptions) XXX_Size() int

func (*DashboardTabAlertOptions) XXX_Unmarshal

func (m *DashboardTabAlertOptions) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

Configuration options for dashboard tab flakiness alerts.

func (*DashboardTabFlakinessAlertOptions) Descriptor added in v0.0.23

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

func (*DashboardTabFlakinessAlertOptions) GetAlertMailFailureMessage added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) GetAlertMailFailureMessage() string

func (*DashboardTabFlakinessAlertOptions) GetAlertMailToAddresses added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) GetAlertMailToAddresses() string

func (*DashboardTabFlakinessAlertOptions) GetMinimumFlakinessToAlert added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) GetMinimumFlakinessToAlert() float32

func (*DashboardTabFlakinessAlertOptions) GetSubject added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) GetSubject() string

func (*DashboardTabFlakinessAlertOptions) GetWaitMinutesBetweenEmails added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) GetWaitMinutesBetweenEmails() int32

func (*DashboardTabFlakinessAlertOptions) ProtoMessage added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) ProtoMessage()

func (*DashboardTabFlakinessAlertOptions) Reset added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) String added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) XXX_DiscardUnknown added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) XXX_DiscardUnknown()

func (*DashboardTabFlakinessAlertOptions) XXX_Marshal added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DashboardTabFlakinessAlertOptions) XXX_Merge added in v0.0.23

func (*DashboardTabFlakinessAlertOptions) XXX_Size added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) XXX_Size() int

func (*DashboardTabFlakinessAlertOptions) XXX_Unmarshal added in v0.0.23

func (m *DashboardTabFlakinessAlertOptions) XXX_Unmarshal(b []byte) error

type DefaultConfiguration

type DefaultConfiguration struct {
	// A default testgroup with default initialization data
	DefaultTestGroup *TestGroup `protobuf:"bytes,1,opt,name=default_test_group,json=defaultTestGroup,proto3" json:"default_test_group,omitempty"` // Deprecated: Do not use.
	// A default dashboard tab with default initialization data
	DefaultDashboardTab  *DashboardTab `protobuf:"bytes,2,opt,name=default_dashboard_tab,json=defaultDashboardTab,proto3" json:"default_dashboard_tab,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*DefaultConfiguration) Descriptor

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

func (*DefaultConfiguration) GetDefaultDashboardTab deprecated

func (m *DefaultConfiguration) GetDefaultDashboardTab() *DashboardTab

Deprecated: Do not use.

func (*DefaultConfiguration) GetDefaultTestGroup deprecated

func (m *DefaultConfiguration) GetDefaultTestGroup() *TestGroup

Deprecated: Do not use.

func (*DefaultConfiguration) ProtoMessage

func (*DefaultConfiguration) ProtoMessage()

func (*DefaultConfiguration) Reset

func (m *DefaultConfiguration) Reset()

func (*DefaultConfiguration) String

func (m *DefaultConfiguration) String() string

func (*DefaultConfiguration) XXX_DiscardUnknown

func (m *DefaultConfiguration) XXX_DiscardUnknown()

func (*DefaultConfiguration) XXX_Marshal

func (m *DefaultConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultConfiguration) XXX_Merge

func (m *DefaultConfiguration) XXX_Merge(src proto.Message)

func (*DefaultConfiguration) XXX_Size

func (m *DefaultConfiguration) XXX_Size() int

func (*DefaultConfiguration) XXX_Unmarshal

func (m *DefaultConfiguration) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 added in v0.0.14

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

func (*HealthAnalysisOptions) GetDaysOfAnalysis added in v0.0.14

func (m *HealthAnalysisOptions) GetDaysOfAnalysis() int32

func (*HealthAnalysisOptions) GetEmailRecipients added in v0.0.32

func (m *HealthAnalysisOptions) GetEmailRecipients() string

func (*HealthAnalysisOptions) GetEmailSchedule added in v0.0.32

func (m *HealthAnalysisOptions) GetEmailSchedule() string

func (*HealthAnalysisOptions) GetEnable added in v0.0.14

func (m *HealthAnalysisOptions) GetEnable() bool

func (*HealthAnalysisOptions) GetGroupingRegex added in v0.0.32

func (m *HealthAnalysisOptions) GetGroupingRegex() string

func (*HealthAnalysisOptions) ProtoMessage added in v0.0.14

func (*HealthAnalysisOptions) ProtoMessage()

func (*HealthAnalysisOptions) Reset added in v0.0.14

func (m *HealthAnalysisOptions) Reset()

func (*HealthAnalysisOptions) String added in v0.0.14

func (m *HealthAnalysisOptions) String() string

func (*HealthAnalysisOptions) XXX_DiscardUnknown added in v0.0.14

func (m *HealthAnalysisOptions) XXX_DiscardUnknown()

func (*HealthAnalysisOptions) XXX_Marshal added in v0.0.14

func (m *HealthAnalysisOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthAnalysisOptions) XXX_Merge added in v0.0.14

func (m *HealthAnalysisOptions) XXX_Merge(src proto.Message)

func (*HealthAnalysisOptions) XXX_Size added in v0.0.14

func (m *HealthAnalysisOptions) XXX_Size() int

func (*HealthAnalysisOptions) XXX_Unmarshal added in v0.0.14

func (m *HealthAnalysisOptions) XXX_Unmarshal(b []byte) error

type HotlistIdFromSource

type HotlistIdFromSource struct {
	// Types that are valid to be assigned to HotlistIdSource:
	//	*HotlistIdFromSource_Value
	//	*HotlistIdFromSource_Label
	HotlistIdSource      isHotlistIdFromSource_HotlistIdSource `protobuf_oneof:"hotlist_id_source"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*HotlistIdFromSource) Descriptor

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

func (*HotlistIdFromSource) GetHotlistIdSource

func (m *HotlistIdFromSource) GetHotlistIdSource() isHotlistIdFromSource_HotlistIdSource

func (*HotlistIdFromSource) GetLabel

func (m *HotlistIdFromSource) GetLabel() string

func (*HotlistIdFromSource) GetValue

func (m *HotlistIdFromSource) GetValue() int64

func (*HotlistIdFromSource) ProtoMessage

func (*HotlistIdFromSource) ProtoMessage()

func (*HotlistIdFromSource) Reset

func (m *HotlistIdFromSource) Reset()

func (*HotlistIdFromSource) String

func (m *HotlistIdFromSource) String() string

func (*HotlistIdFromSource) XXX_DiscardUnknown

func (m *HotlistIdFromSource) XXX_DiscardUnknown()

func (*HotlistIdFromSource) XXX_Marshal

func (m *HotlistIdFromSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HotlistIdFromSource) XXX_Merge

func (m *HotlistIdFromSource) XXX_Merge(src proto.Message)

func (*HotlistIdFromSource) XXX_OneofWrappers

func (*HotlistIdFromSource) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*HotlistIdFromSource) XXX_Size

func (m *HotlistIdFromSource) XXX_Size() int

func (*HotlistIdFromSource) XXX_Unmarshal

func (m *HotlistIdFromSource) XXX_Unmarshal(b []byte) error

type HotlistIdFromSource_Label

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

type HotlistIdFromSource_Value

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

type JUnitConfig

type JUnitConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JUnitConfig) Descriptor

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

func (*JUnitConfig) ProtoMessage

func (*JUnitConfig) ProtoMessage()

func (*JUnitConfig) Reset

func (m *JUnitConfig) Reset()

func (*JUnitConfig) String

func (m *JUnitConfig) String() string

func (*JUnitConfig) XXX_DiscardUnknown

func (m *JUnitConfig) XXX_DiscardUnknown()

func (*JUnitConfig) XXX_Marshal

func (m *JUnitConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JUnitConfig) XXX_Merge

func (m *JUnitConfig) XXX_Merge(src proto.Message)

func (*JUnitConfig) XXX_Size

func (m *JUnitConfig) XXX_Size() int

func (*JUnitConfig) XXX_Unmarshal

func (m *JUnitConfig) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A simple key/value pair for link options.

func (*LinkOptionsTemplate) Descriptor

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

func (*LinkOptionsTemplate) GetKey

func (m *LinkOptionsTemplate) GetKey() string

func (*LinkOptionsTemplate) GetValue

func (m *LinkOptionsTemplate) GetValue() string

func (*LinkOptionsTemplate) ProtoMessage

func (*LinkOptionsTemplate) ProtoMessage()

func (*LinkOptionsTemplate) Reset

func (m *LinkOptionsTemplate) Reset()

func (*LinkOptionsTemplate) String

func (m *LinkOptionsTemplate) String() string

func (*LinkOptionsTemplate) XXX_DiscardUnknown

func (m *LinkOptionsTemplate) XXX_DiscardUnknown()

func (*LinkOptionsTemplate) XXX_Marshal

func (m *LinkOptionsTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkOptionsTemplate) XXX_Merge

func (m *LinkOptionsTemplate) XXX_Merge(src proto.Message)

func (*LinkOptionsTemplate) XXX_Size

func (m *LinkOptionsTemplate) XXX_Size() int

func (*LinkOptionsTemplate) XXX_Unmarshal

func (m *LinkOptionsTemplate) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LinkTemplate) Descriptor

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

func (*LinkTemplate) GetName added in v0.0.11

func (m *LinkTemplate) GetName() string

func (*LinkTemplate) GetOptions

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

func (*LinkTemplate) GetUrl

func (m *LinkTemplate) GetUrl() string

func (*LinkTemplate) ProtoMessage

func (*LinkTemplate) ProtoMessage()

func (*LinkTemplate) Reset

func (m *LinkTemplate) Reset()

func (*LinkTemplate) String

func (m *LinkTemplate) String() string

func (*LinkTemplate) XXX_DiscardUnknown

func (m *LinkTemplate) XXX_DiscardUnknown()

func (*LinkTemplate) XXX_Marshal

func (m *LinkTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkTemplate) XXX_Merge

func (m *LinkTemplate) XXX_Merge(src proto.Message)

func (*LinkTemplate) XXX_Size

func (m *LinkTemplate) XXX_Size() int

func (*LinkTemplate) XXX_Unmarshal

func (m *LinkTemplate) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A single notification.

func (*Notification) Descriptor

func (*Notification) Descriptor() ([]byte, []int)
func (m *Notification) GetContextLink() string

func (*Notification) GetSummary

func (m *Notification) GetSummary() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) Reset

func (m *Notification) Reset()

func (*Notification) String

func (m *Notification) String() string

func (*Notification) XXX_DiscardUnknown

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal

func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Notification) XXX_Merge

func (m *Notification) XXX_Merge(src proto.Message)

func (*Notification) XXX_Size

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal

func (m *Notification) XXX_Unmarshal(b []byte) error

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 `` /* 134-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 `` /* 143-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > alert_stale_result_hours
	AlertStaleResultsHours int32 `` // Deprecated: Do not use.
	/* 133-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > num_failures_to_alert
	NumFailuresToAlert int32 `protobuf:"varint,12,opt,name=num_failures_to_alert,json=numFailuresToAlert,proto3" json:"num_failures_to_alert,omitempty"` // Deprecated: Do not use.
	// Whether to automatically file bugs, and what component to file them to.
	// Requires further implementation of additional components.
	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
	AlertMailToAddresses string `` // Deprecated: Do not use.
	/* 126-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > subject
	AlertMailSubject string `protobuf:"bytes,18,opt,name=alert_mail_subject,json=alertMailSubject,proto3" json:"alert_mail_subject,omitempty"` // Deprecated: Do not use.
	// DEPRECATED: use DashboardTabAlertOptions > alert_mail_failure_message
	AlertMailFailureMessage string `` // Deprecated: Do not use.
	/* 135-byte string literal not displayed */
	// DEPRECATED: use DashboardTabAlertOptions > debug_url
	AlertMailDebugUrl string `protobuf:"bytes,20,opt,name=alert_mail_debug_url,json=alertMailDebugUrl,proto3" json:"alert_mail_debug_url,omitempty"` // Deprecated: Do not use.
	// DEPRECATED: use DashboardTabAlertOptions > wait_minutes_between_emails
	MinElapsedMinutesBetweenMails int32 `` // Deprecated: Do not use.
	/* 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
	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 `` /* 139-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 short text overlays 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"`
	// Options for auto-filed bugs, if enabled.
	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"`
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies a group of tests to gather.

func (*TestGroup) Descriptor

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

func (*TestGroup) GetAlertMailDebugUrl deprecated

func (m *TestGroup) GetAlertMailDebugUrl() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailFailureMessage deprecated

func (m *TestGroup) GetAlertMailFailureMessage() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailSubject deprecated

func (m *TestGroup) GetAlertMailSubject() string

Deprecated: Do not use.

func (*TestGroup) GetAlertMailToAddresses deprecated

func (m *TestGroup) GetAlertMailToAddresses() string

Deprecated: Do not use.

func (*TestGroup) GetAlertStaleResultsHours deprecated

func (m *TestGroup) GetAlertStaleResultsHours() int32

Deprecated: Do not use.

func (*TestGroup) GetAutoBugOptions

func (m *TestGroup) GetAutoBugOptions() *AutoBugOptions

func (*TestGroup) GetBugComponent

func (m *TestGroup) GetBugComponent() int32

func (*TestGroup) GetBuildOverrideStrftime added in v0.0.66

func (m *TestGroup) GetBuildOverrideStrftime() string

func (*TestGroup) GetCodeSearchPath

func (m *TestGroup) GetCodeSearchPath() string

func (*TestGroup) GetColumnHeader

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

func (*TestGroup) GetCustomEvaluatorRuleSet

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

func (*TestGroup) GetDaysOfResults

func (m *TestGroup) GetDaysOfResults() int32

func (*TestGroup) GetDisableMergedStatus added in v0.0.53

func (m *TestGroup) GetDisableMergedStatus() bool

func (*TestGroup) GetDisableProwjobAnalysis added in v0.0.55

func (m *TestGroup) GetDisableProwjobAnalysis() bool

func (*TestGroup) GetEnableFlakyStatus

func (m *TestGroup) GetEnableFlakyStatus() bool

func (*TestGroup) GetEnableTestMethods

func (m *TestGroup) GetEnableTestMethods() bool

func (*TestGroup) GetFallbackGrouping

func (m *TestGroup) GetFallbackGrouping() TestGroup_FallbackGrouping

func (*TestGroup) GetFallbackGroupingConfigurationValue

func (m *TestGroup) GetFallbackGroupingConfigurationValue() string

func (*TestGroup) GetGatherBugs

func (m *TestGroup) GetGatherBugs() bool

func (*TestGroup) GetGcsPrefix added in v0.0.6

func (m *TestGroup) GetGcsPrefix() string

func (*TestGroup) GetIgnoreBuilt

func (m *TestGroup) GetIgnoreBuilt() bool

func (*TestGroup) GetIgnoreOldResults

func (m *TestGroup) GetIgnoreOldResults() bool

func (*TestGroup) GetIgnorePending

func (m *TestGroup) GetIgnorePending() bool

func (*TestGroup) GetIgnoreSkip

func (m *TestGroup) GetIgnoreSkip() bool

func (*TestGroup) GetIgnoreTestSubstring

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

func (*TestGroup) GetIsExternal

func (m *TestGroup) GetIsExternal() bool

func (*TestGroup) GetLinkBugsByGroup

func (m *TestGroup) GetLinkBugsByGroup() bool

func (*TestGroup) GetLinkBugsByTestMethods

func (m *TestGroup) GetLinkBugsByTestMethods() bool

func (*TestGroup) GetMaxTestMethodsPerTest

func (m *TestGroup) GetMaxTestMethodsPerTest() int32

func (*TestGroup) GetMaxTestRuntimeHours

func (m *TestGroup) GetMaxTestRuntimeHours() int32

func (*TestGroup) GetMinElapsedMinutesBetweenMails deprecated

func (m *TestGroup) GetMinElapsedMinutesBetweenMails() int32

Deprecated: Do not use.

func (*TestGroup) GetName

func (m *TestGroup) GetName() string

func (*TestGroup) GetNotifications

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

func (*TestGroup) GetNumColumnsRecent

func (m *TestGroup) GetNumColumnsRecent() int32

func (*TestGroup) GetNumFailuresToAlert deprecated

func (m *TestGroup) GetNumFailuresToAlert() int32

Deprecated: Do not use.

func (*TestGroup) GetNumPassesToDisableAlert

func (m *TestGroup) GetNumPassesToDisableAlert() int32

func (*TestGroup) GetPrimaryGrouping

func (m *TestGroup) GetPrimaryGrouping() TestGroup_PrimaryGrouping

func (*TestGroup) GetReadStateFromStorage

func (m *TestGroup) GetReadStateFromStorage() bool

func (*TestGroup) GetResultSource

func (m *TestGroup) GetResultSource() *TestGroup_ResultSource

func (*TestGroup) GetShortTextMetric

func (m *TestGroup) GetShortTextMetric() string

func (*TestGroup) GetTestAnnotations

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

func (*TestGroup) GetTestMetadataOptions

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

func (*TestGroup) GetTestMethodMatchRegex

func (m *TestGroup) GetTestMethodMatchRegex() string

func (*TestGroup) GetTestMethodProperties

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

func (*TestGroup) GetTestMethodUnmatchRegex added in v0.0.57

func (m *TestGroup) GetTestMethodUnmatchRegex() string

func (*TestGroup) GetTestNameConfig

func (m *TestGroup) GetTestNameConfig() *TestNameConfig

func (*TestGroup) GetTestTagPattern

func (m *TestGroup) GetTestTagPattern() string

func (*TestGroup) GetTestsNamePolicy

func (m *TestGroup) GetTestsNamePolicy() TestGroup_TestsName

func (*TestGroup) GetUseFullMethodNames

func (m *TestGroup) GetUseFullMethodNames() bool

func (*TestGroup) GetUseKubernetesClient

func (m *TestGroup) GetUseKubernetesClient() bool

func (*TestGroup) GetUseTestMetadata

func (m *TestGroup) GetUseTestMetadata() bool

func (*TestGroup) GetUserProperty added in v0.0.11

func (m *TestGroup) GetUserProperty() string

func (*TestGroup) ProtoMessage

func (*TestGroup) ProtoMessage()

func (*TestGroup) Reset

func (m *TestGroup) Reset()

func (*TestGroup) String

func (m *TestGroup) String() string

func (*TestGroup) XXX_DiscardUnknown

func (m *TestGroup) XXX_DiscardUnknown()

func (*TestGroup) XXX_Marshal

func (m *TestGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestGroup) XXX_Merge

func (m *TestGroup) XXX_Merge(src proto.Message)

func (*TestGroup) XXX_Size

func (m *TestGroup) XXX_Size() int

func (*TestGroup) XXX_Unmarshal

func (m *TestGroup) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*TestGroup_ColumnHeader) Descriptor

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

func (*TestGroup_ColumnHeader) GetConfigurationValue

func (m *TestGroup_ColumnHeader) GetConfigurationValue() string

func (*TestGroup_ColumnHeader) GetLabel

func (m *TestGroup_ColumnHeader) GetLabel() string

func (*TestGroup_ColumnHeader) GetProperty

func (m *TestGroup_ColumnHeader) GetProperty() string

func (*TestGroup_ColumnHeader) ProtoMessage

func (*TestGroup_ColumnHeader) ProtoMessage()

func (*TestGroup_ColumnHeader) Reset

func (m *TestGroup_ColumnHeader) Reset()

func (*TestGroup_ColumnHeader) String

func (m *TestGroup_ColumnHeader) String() string

func (*TestGroup_ColumnHeader) XXX_DiscardUnknown

func (m *TestGroup_ColumnHeader) XXX_DiscardUnknown()

func (*TestGroup_ColumnHeader) XXX_Marshal

func (m *TestGroup_ColumnHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestGroup_ColumnHeader) XXX_Merge

func (m *TestGroup_ColumnHeader) XXX_Merge(src proto.Message)

func (*TestGroup_ColumnHeader) XXX_Size

func (m *TestGroup_ColumnHeader) XXX_Size() int

func (*TestGroup_ColumnHeader) XXX_Unmarshal

func (m *TestGroup_ColumnHeader) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (TestGroup_FallbackGrouping) String

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A string key value pair message

func (*TestGroup_KeyValue) Descriptor

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

func (*TestGroup_KeyValue) GetKey

func (m *TestGroup_KeyValue) GetKey() string

func (*TestGroup_KeyValue) GetValue

func (m *TestGroup_KeyValue) GetValue() string

func (*TestGroup_KeyValue) ProtoMessage

func (*TestGroup_KeyValue) ProtoMessage()

func (*TestGroup_KeyValue) Reset

func (m *TestGroup_KeyValue) Reset()

func (*TestGroup_KeyValue) String

func (m *TestGroup_KeyValue) String() string

func (*TestGroup_KeyValue) XXX_DiscardUnknown

func (m *TestGroup_KeyValue) XXX_DiscardUnknown()

func (*TestGroup_KeyValue) XXX_Marshal

func (m *TestGroup_KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestGroup_KeyValue) XXX_Merge

func (m *TestGroup_KeyValue) XXX_Merge(src proto.Message)

func (*TestGroup_KeyValue) XXX_Size

func (m *TestGroup_KeyValue) XXX_Size() int

func (*TestGroup_KeyValue) XXX_Unmarshal

func (m *TestGroup_KeyValue) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (TestGroup_PrimaryGrouping) String

func (x TestGroup_PrimaryGrouping) String() string

type TestGroup_ResultSource

type TestGroup_ResultSource struct {
	// Types that are valid to be assigned to ResultSourceConfig:
	//	*TestGroup_ResultSource_JunitConfig
	ResultSourceConfig   isTestGroup_ResultSource_ResultSourceConfig `protobuf_oneof:"result_source_config"`
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

func (*TestGroup_ResultSource) Descriptor

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

func (*TestGroup_ResultSource) GetJunitConfig

func (m *TestGroup_ResultSource) GetJunitConfig() *JUnitConfig

func (*TestGroup_ResultSource) GetResultSourceConfig

func (m *TestGroup_ResultSource) GetResultSourceConfig() isTestGroup_ResultSource_ResultSourceConfig

func (*TestGroup_ResultSource) ProtoMessage

func (*TestGroup_ResultSource) ProtoMessage()

func (*TestGroup_ResultSource) Reset

func (m *TestGroup_ResultSource) Reset()

func (*TestGroup_ResultSource) String

func (m *TestGroup_ResultSource) String() string

func (*TestGroup_ResultSource) XXX_DiscardUnknown

func (m *TestGroup_ResultSource) XXX_DiscardUnknown()

func (*TestGroup_ResultSource) XXX_Marshal

func (m *TestGroup_ResultSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestGroup_ResultSource) XXX_Merge

func (m *TestGroup_ResultSource) XXX_Merge(src proto.Message)

func (*TestGroup_ResultSource) XXX_OneofWrappers

func (*TestGroup_ResultSource) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestGroup_ResultSource) XXX_Size

func (m *TestGroup_ResultSource) XXX_Size() int

func (*TestGroup_ResultSource) XXX_Unmarshal

func (m *TestGroup_ResultSource) XXX_Unmarshal(b []byte) error

type TestGroup_ResultSource_JunitConfig

type TestGroup_ResultSource_JunitConfig struct {
	JunitConfig *JUnitConfig `protobuf:"bytes,2,opt,name=junit_config,json=junitConfig,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 valid to be assigned to ShortTextMessageSource:
	//	*TestGroup_TestAnnotation_PropertyName
	ShortTextMessageSource isTestGroup_TestAnnotation_ShortTextMessageSource `protobuf_oneof:"short_text_message_source"`
	XXX_NoUnkeyedLiteral   struct{}                                          `json:"-"`
	XXX_unrecognized       []byte                                            `json:"-"`
	XXX_sizecache          int32                                             `json:"-"`
}

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

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

func (*TestGroup_TestAnnotation) GetPropertyName

func (m *TestGroup_TestAnnotation) GetPropertyName() string

func (*TestGroup_TestAnnotation) GetShortText

func (m *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) Reset

func (m *TestGroup_TestAnnotation) Reset()

func (*TestGroup_TestAnnotation) String

func (m *TestGroup_TestAnnotation) String() string

func (*TestGroup_TestAnnotation) XXX_DiscardUnknown

func (m *TestGroup_TestAnnotation) XXX_DiscardUnknown()

func (*TestGroup_TestAnnotation) XXX_Marshal

func (m *TestGroup_TestAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestGroup_TestAnnotation) XXX_Merge

func (m *TestGroup_TestAnnotation) XXX_Merge(src proto.Message)

func (*TestGroup_TestAnnotation) XXX_OneofWrappers

func (*TestGroup_TestAnnotation) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestGroup_TestAnnotation) XXX_Size

func (m *TestGroup_TestAnnotation) XXX_Size() int

func (*TestGroup_TestAnnotation) XXX_Unmarshal

func (m *TestGroup_TestAnnotation) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (TestGroup_TestsName) String

func (x TestGroup_TestsName) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Default metadata to apply when opening bugs.

func (*TestMetadataOptions) Descriptor

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

func (*TestMetadataOptions) GetBugComponent

func (m *TestMetadataOptions) GetBugComponent() int32

func (*TestMetadataOptions) GetCc

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

func (*TestMetadataOptions) GetMessageRegex

func (m *TestMetadataOptions) GetMessageRegex() string

func (*TestMetadataOptions) GetOwner

func (m *TestMetadataOptions) GetOwner() string

func (*TestMetadataOptions) GetTestNameRegex

func (m *TestMetadataOptions) GetTestNameRegex() string

func (*TestMetadataOptions) ProtoMessage

func (*TestMetadataOptions) ProtoMessage()

func (*TestMetadataOptions) Reset

func (m *TestMetadataOptions) Reset()

func (*TestMetadataOptions) String

func (m *TestMetadataOptions) String() string

func (*TestMetadataOptions) XXX_DiscardUnknown

func (m *TestMetadataOptions) XXX_DiscardUnknown()

func (*TestMetadataOptions) XXX_Marshal

func (m *TestMetadataOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestMetadataOptions) XXX_Merge

func (m *TestMetadataOptions) XXX_Merge(src proto.Message)

func (*TestMetadataOptions) XXX_Size

func (m *TestMetadataOptions) XXX_Size() int

func (*TestMetadataOptions) XXX_Unmarshal

func (m *TestMetadataOptions) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies the test name, and its source

func (*TestNameConfig) Descriptor

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

func (*TestNameConfig) GetNameElements

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

func (*TestNameConfig) GetNameFormat

func (m *TestNameConfig) GetNameFormat() string

func (*TestNameConfig) ProtoMessage

func (*TestNameConfig) ProtoMessage()

func (*TestNameConfig) Reset

func (m *TestNameConfig) Reset()

func (*TestNameConfig) String

func (m *TestNameConfig) String() string

func (*TestNameConfig) XXX_DiscardUnknown

func (m *TestNameConfig) XXX_DiscardUnknown()

func (*TestNameConfig) XXX_Marshal

func (m *TestNameConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestNameConfig) XXX_Merge

func (m *TestNameConfig) XXX_Merge(src proto.Message)

func (*TestNameConfig) XXX_Size

func (m *TestNameConfig) XXX_Size() int

func (*TestNameConfig) XXX_Unmarshal

func (m *TestNameConfig) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies name elements to be selected from configuration values

func (*TestNameConfig_NameElement) Descriptor

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

func (*TestNameConfig_NameElement) GetBuildTarget

func (m *TestNameConfig_NameElement) GetBuildTarget() bool

func (*TestNameConfig_NameElement) GetLabels

func (m *TestNameConfig_NameElement) GetLabels() string

func (*TestNameConfig_NameElement) GetTags

func (m *TestNameConfig_NameElement) GetTags() string

func (*TestNameConfig_NameElement) GetTargetConfig

func (m *TestNameConfig_NameElement) GetTargetConfig() string

func (*TestNameConfig_NameElement) GetTestProperty

func (m *TestNameConfig_NameElement) GetTestProperty() string

func (*TestNameConfig_NameElement) ProtoMessage

func (*TestNameConfig_NameElement) ProtoMessage()

func (*TestNameConfig_NameElement) Reset

func (m *TestNameConfig_NameElement) Reset()

func (*TestNameConfig_NameElement) String

func (m *TestNameConfig_NameElement) String() string

func (*TestNameConfig_NameElement) XXX_DiscardUnknown

func (m *TestNameConfig_NameElement) XXX_DiscardUnknown()

func (*TestNameConfig_NameElement) XXX_Marshal

func (m *TestNameConfig_NameElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestNameConfig_NameElement) XXX_Merge

func (m *TestNameConfig_NameElement) XXX_Merge(src proto.Message)

func (*TestNameConfig_NameElement) XXX_Size

func (m *TestNameConfig_NameElement) XXX_Size() int

func (*TestNameConfig_NameElement) XXX_Unmarshal

func (m *TestNameConfig_NameElement) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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