Documentation
¶
Overview ¶
Package config is a generated protocol buffer package.
It is generated from these files:
config.proto
It has these top-level messages:
Notification TestGroup Dashboard LinkTemplate LinkOptionsTemplate DashboardTab Configuration DefaultConfiguration
Index ¶
- Variables
- type Configuration
- type Dashboard
- type DashboardTab
- func (*DashboardTab) Descriptor() ([]byte, []int)
- func (m *DashboardTab) GetAttachBugTemplate() *LinkTemplate
- func (m *DashboardTab) GetBugComponent() int32
- func (m *DashboardTab) GetCodeSearchPath() string
- func (m *DashboardTab) GetCodeSearchUrlTemplate() *LinkTemplate
- func (m *DashboardTab) GetFileBugTemplate() *LinkTemplate
- func (m *DashboardTab) GetName() string
- func (m *DashboardTab) GetOpenTestTemplate() *LinkTemplate
- func (m *DashboardTab) GetResultsText() string
- func (m *DashboardTab) GetResultsUrlTemplate() *LinkTemplate
- func (m *DashboardTab) GetTestGroupName() string
- func (*DashboardTab) ProtoMessage()
- func (m *DashboardTab) Reset()
- func (m *DashboardTab) String() string
- type DefaultConfiguration
- func (*DefaultConfiguration) Descriptor() ([]byte, []int)
- func (m *DefaultConfiguration) GetDefaultDashboardTab() *DashboardTab
- func (m *DefaultConfiguration) GetDefaultTestGroup() *TestGroup
- func (*DefaultConfiguration) ProtoMessage()
- func (m *DefaultConfiguration) Reset()
- func (m *DefaultConfiguration) String() string
- type LinkOptionsTemplate
- type LinkTemplate
- type Notification
- type TestGroup
- func (*TestGroup) Descriptor() ([]byte, []int)
- func (m *TestGroup) GetAlertStateResultsHours() int32
- func (m *TestGroup) GetColumnHeader() []*TestGroup_ColumnHeader
- func (m *TestGroup) GetDaysOfResults() int32
- func (m *TestGroup) GetGcsPrefix() string
- func (m *TestGroup) GetIsExternal() bool
- func (m *TestGroup) GetName() string
- func (m *TestGroup) GetNotifications() []*Notification
- func (m *TestGroup) GetTestsNamePolicy() TestGroup_TestsName
- func (m *TestGroup) GetUseKubernetesClient() bool
- func (*TestGroup) ProtoMessage()
- func (m *TestGroup) Reset()
- func (m *TestGroup) String() string
- type TestGroup_ColumnHeader
- type TestGroup_TestsName
Constants ¶
This section is empty.
Variables ¶
View Source
var TestGroup_TestsName_name = map[int32]string{
0: "TESTS_NAME_MIN",
1: "TESTS_NAME_IGNORE",
2: "TESTS_NAME_REPLACE",
3: "TESTS_NAME_APPEND",
}
View Source
var TestGroup_TestsName_value = map[string]int32{
"TESTS_NAME_MIN": 0,
"TESTS_NAME_IGNORE": 1,
"TESTS_NAME_REPLACE": 2,
"TESTS_NAME_APPEND": 3,
}
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
// A list of groups of tests to gather.
TestGroups []*TestGroup `protobuf:"bytes,1,rep,name=test_groups,json=testGroups" yaml:"test_groups,omitempty"`
// A list of all of the dashboards for a server.
Dashboards []*Dashboard `protobuf:"bytes,2,rep,name=dashboards" yaml:"dashboards,omitempty"`
}
A service configuration consisting of multiple test groups and dashboards.
func (*Configuration) Descriptor ¶
func (*Configuration) Descriptor() ([]byte, []int)
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
type Dashboard ¶
type Dashboard struct {
// A list of the tabs on the dashboard.
DashboardTab []*DashboardTab `protobuf:"bytes,1,rep,name=dashboard_tab,json=dashboardTab" yaml:"dashboard_tab,omitempty"`
// A name for the Dashboard.
Name string `protobuf:"bytes,2,opt,name=name" yaml:"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" yaml:"notifications,omitempty"`
}
Specifies a dashboard.
func (*Dashboard) Descriptor ¶
func (*Dashboard) GetDashboardTab ¶
func (m *Dashboard) GetDashboardTab() []*DashboardTab
func (*Dashboard) GetNotifications ¶
func (m *Dashboard) GetNotifications() []*Notification
func (*Dashboard) ProtoMessage ¶
func (*Dashboard) ProtoMessage()
type DashboardTab ¶
type DashboardTab struct {
// The name of the dashboard tab to display in the client.
Name string `protobuf:"bytes,1,opt,name=name" yaml:"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" yaml:"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" yaml:"bug_component,omitempty"`
// Default code search path for changelist search links
CodeSearchPath string `protobuf:"bytes,4,opt,name=code_search_path,json=codeSearchPath" yaml:"code_search_path,omitempty"`
// The URL template to visit after clicking on a cell.
OpenTestTemplate *LinkTemplate `protobuf:"bytes,7,opt,name=open_test_template,json=openTestTemplate" yaml:"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" yaml:"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" yaml:"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" yaml:"results_text,omitempty"`
// The URL template to visit after clicking.
ResultsUrlTemplate *LinkTemplate `protobuf:"bytes,11,opt,name=results_url_template,json=resultsUrlTemplate" yaml:"results_url_template,omitempty"`
// The URL template to visit when searching for changelists.
CodeSearchUrlTemplate *LinkTemplate `protobuf:"bytes,12,opt,name=code_search_url_template,json=codeSearchUrlTemplate" yaml:"code_search_url_template,omitempty"`
}
A single tab on a dashboard.
func (*DashboardTab) Descriptor ¶
func (*DashboardTab) Descriptor() ([]byte, []int)
func (*DashboardTab) GetAttachBugTemplate ¶
func (m *DashboardTab) GetAttachBugTemplate() *LinkTemplate
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) GetFileBugTemplate ¶
func (m *DashboardTab) GetFileBugTemplate() *LinkTemplate
func (*DashboardTab) GetName ¶
func (m *DashboardTab) GetName() string
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) 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
type DefaultConfiguration ¶
type DefaultConfiguration struct {
// A default testgroup with default initialization data
DefaultTestGroup *TestGroup `protobuf:"bytes,1,opt,name=default_test_group,json=defaultTestGroup" yaml:"default_test_group,omitempty"`
// A default dashboard with default initialization data
DefaultDashboardTab *DashboardTab `protobuf:"bytes,2,opt,name=default_dashboard_tab,json=defaultDashboardTab" yaml:"default_dashboard_tab,omitempty"`
}
func (*DefaultConfiguration) Descriptor ¶
func (*DefaultConfiguration) Descriptor() ([]byte, []int)
func (*DefaultConfiguration) GetDefaultDashboardTab ¶
func (m *DefaultConfiguration) GetDefaultDashboardTab() *DashboardTab
func (*DefaultConfiguration) GetDefaultTestGroup ¶
func (m *DefaultConfiguration) GetDefaultTestGroup() *TestGroup
func (*DefaultConfiguration) ProtoMessage ¶
func (*DefaultConfiguration) ProtoMessage()
func (*DefaultConfiguration) Reset ¶
func (m *DefaultConfiguration) Reset()
func (*DefaultConfiguration) String ¶
func (m *DefaultConfiguration) String() string
type LinkOptionsTemplate ¶
type LinkOptionsTemplate struct {
// The key for the option. This is not expanded.
Key string `protobuf:"bytes,1,opt,name=key" yaml:"key,omitempty"`
// The value for the option. This is expanded the same as the LinkTemplate.
Value string `protobuf:"bytes,2,opt,name=value" yaml:"value,omitempty"`
}
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
type LinkTemplate ¶
type LinkTemplate struct {
// The URL template.
Url string `protobuf:"bytes,1,opt,name=url" yaml:"url,omitempty"`
// The options templates.
Options []*LinkOptionsTemplate `protobuf:"bytes,2,rep,name=options" yaml:"options,omitempty"`
}
func (*LinkTemplate) Descriptor ¶
func (*LinkTemplate) Descriptor() ([]byte, []int)
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
type Notification ¶
type Notification struct {
// Required: Text summary of the issue or notice.
Summary string `protobuf:"bytes,1,opt,name=summary" yaml:"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" yaml:"context_link,omitempty"`
}
A single notification.
func (*Notification) Descriptor ¶
func (*Notification) Descriptor() ([]byte, []int)
func (*Notification) GetContextLink ¶
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
type TestGroup ¶
type TestGroup struct {
// Name of this TestGroup, for mapping dashboard tabs to tests.
Name string `protobuf:"bytes,1,opt,name=name" yaml:"name,omitempty"`
// Path to the test result stored in gcs
GcsPrefix string `protobuf:"bytes,2,opt,name=gcs_prefix,json=gcsPrefix" yaml:"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" yaml:"days_of_results,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 `` /* 127-byte string literal not displayed */
ColumnHeader []*TestGroup_ColumnHeader `protobuf:"bytes,9,rep,name=column_header,json=columnHeader" yaml:"column_header,omitempty"`
// deprecated - do not touch
AlertStateResultsHours int32 `` /* 126-byte string literal not displayed */
// deprecated - always set to true
UseKubernetesClient bool `protobuf:"varint,24,opt,name=use_kubernetes_client,json=useKubernetesClient" yaml:"use_kubernetes_client,omitempty"`
// deprecated - always set to true
IsExternal bool `protobuf:"varint,25,opt,name=is_external,json=isExternal" yaml:"is_external,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" yaml:"notifications,omitempty"`
}
Specifies a group of tests to gather.
func (*TestGroup) Descriptor ¶
func (*TestGroup) GetAlertStateResultsHours ¶
func (*TestGroup) GetColumnHeader ¶
func (m *TestGroup) GetColumnHeader() []*TestGroup_ColumnHeader
func (*TestGroup) GetDaysOfResults ¶
func (*TestGroup) GetGcsPrefix ¶
func (*TestGroup) GetIsExternal ¶
func (*TestGroup) GetNotifications ¶
func (m *TestGroup) GetNotifications() []*Notification
func (*TestGroup) GetTestsNamePolicy ¶
func (m *TestGroup) GetTestsNamePolicy() TestGroup_TestsName
func (*TestGroup) GetUseKubernetesClient ¶
func (*TestGroup) ProtoMessage ¶
func (*TestGroup) ProtoMessage()
type TestGroup_ColumnHeader ¶
type TestGroup_ColumnHeader struct {
ConfigurationValue string `protobuf:"bytes,3,opt,name=configuration_value,json=configurationValue" yaml:"configuration_value,omitempty"`
}
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) ProtoMessage ¶
func (*TestGroup_ColumnHeader) ProtoMessage()
func (*TestGroup_ColumnHeader) Reset ¶
func (m *TestGroup_ColumnHeader) Reset()
func (*TestGroup_ColumnHeader) String ¶
func (m *TestGroup_ColumnHeader) String() string
type TestGroup_TestsName ¶
type TestGroup_TestsName int32
const ( TestGroup_TESTS_NAME_MIN 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
Click to show internal directories.
Click to hide internal directories.