summary

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DashboardTabSummary_TabStatus_name = map[int32]string{
	0: "NOT_SET",
	1: "UNKNOWN",
	2: "PASS",
	3: "FAIL",
	4: "FLAKY",
	5: "STALE",
}
View Source
var DashboardTabSummary_TabStatus_value = map[string]int32{
	"NOT_SET": 0,
	"UNKNOWN": 1,
	"PASS":    2,
	"FAIL":    3,
	"FLAKY":   4,
	"STALE":   5,
}

Functions

This section is empty.

Types

type DashboardSummary

type DashboardSummary struct {
	// Summary of a dashboard tab; see config.proto.
	TabSummaries         []*DashboardTabSummary `protobuf:"bytes,1,rep,name=tab_summaries,json=tabSummaries,proto3" json:"tab_summaries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Summary state of a dashboard.

func (*DashboardSummary) Descriptor

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

func (*DashboardSummary) GetTabSummaries

func (m *DashboardSummary) GetTabSummaries() []*DashboardTabSummary

func (*DashboardSummary) ProtoMessage

func (*DashboardSummary) ProtoMessage()

func (*DashboardSummary) Reset

func (m *DashboardSummary) Reset()

func (*DashboardSummary) String

func (m *DashboardSummary) String() string

func (*DashboardSummary) XXX_DiscardUnknown

func (m *DashboardSummary) XXX_DiscardUnknown()

func (*DashboardSummary) XXX_Marshal

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

func (*DashboardSummary) XXX_Merge

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

func (*DashboardSummary) XXX_Size

func (m *DashboardSummary) XXX_Size() int

func (*DashboardSummary) XXX_Unmarshal

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

type DashboardTabSummary

type DashboardTabSummary struct {
	// The name of the dashboard.
	DashboardName string `protobuf:"bytes,1,opt,name=dashboard_name,json=dashboardName,proto3" json:"dashboard_name,omitempty"`
	// The name of the dashboard tab.
	DashboardTabName string `protobuf:"bytes,2,opt,name=dashboard_tab_name,json=dashboardTabName,proto3" json:"dashboard_tab_name,omitempty"`
	// Any top-level alert on this dashboard tab.
	Alert string `protobuf:"bytes,3,opt,name=alert,proto3" json:"alert,omitempty"`
	// List of failing test summary information.
	FailingTestSummaries []*FailingTestSummary `protobuf:"bytes,4,rep,name=failing_test_summaries,json=failingTestSummaries,proto3" json:"failing_test_summaries,omitempty"`
	// Seconds since epoch at which the test group was last updated.
	LastUpdateTimestamp float64 `protobuf:"fixed64,5,opt,name=last_update_timestamp,json=lastUpdateTimestamp,proto3" json:"last_update_timestamp,omitempty"`
	// A summary of the status of this dashboard tab.
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// The overall status for this dashboard tab.
	OverallStatus DashboardTabSummary_TabStatus `` /* 136-byte string literal not displayed */
	// The ID for the latest passing build.
	LatestGreen string `protobuf:"bytes,8,opt,name=latest_green,json=latestGreen,proto3" json:"latest_green,omitempty"`
	// Seconds since epoch at which tests last ran.
	LastRunTimestamp float64 `protobuf:"fixed64,9,opt,name=last_run_timestamp,json=lastRunTimestamp,proto3" json:"last_run_timestamp,omitempty"`
	// String indicating the URL for linking to a bug.
	BugUrl               string   `protobuf:"bytes,10,opt,name=bug_url,json=bugUrl,proto3" json:"bug_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Summary of a dashboard tab.

func (*DashboardTabSummary) Descriptor

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

func (*DashboardTabSummary) GetAlert

func (m *DashboardTabSummary) GetAlert() string

func (*DashboardTabSummary) GetBugUrl

func (m *DashboardTabSummary) GetBugUrl() string

func (*DashboardTabSummary) GetDashboardName

func (m *DashboardTabSummary) GetDashboardName() string

func (*DashboardTabSummary) GetDashboardTabName

func (m *DashboardTabSummary) GetDashboardTabName() string

func (*DashboardTabSummary) GetFailingTestSummaries

func (m *DashboardTabSummary) GetFailingTestSummaries() []*FailingTestSummary

func (*DashboardTabSummary) GetLastRunTimestamp

func (m *DashboardTabSummary) GetLastRunTimestamp() float64

func (*DashboardTabSummary) GetLastUpdateTimestamp

func (m *DashboardTabSummary) GetLastUpdateTimestamp() float64

func (*DashboardTabSummary) GetLatestGreen

func (m *DashboardTabSummary) GetLatestGreen() string

func (*DashboardTabSummary) GetOverallStatus

func (m *DashboardTabSummary) GetOverallStatus() DashboardTabSummary_TabStatus

func (*DashboardTabSummary) GetStatus

func (m *DashboardTabSummary) GetStatus() string

func (*DashboardTabSummary) ProtoMessage

func (*DashboardTabSummary) ProtoMessage()

func (*DashboardTabSummary) Reset

func (m *DashboardTabSummary) Reset()

func (*DashboardTabSummary) String

func (m *DashboardTabSummary) String() string

func (*DashboardTabSummary) XXX_DiscardUnknown

func (m *DashboardTabSummary) XXX_DiscardUnknown()

func (*DashboardTabSummary) XXX_Marshal

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

func (*DashboardTabSummary) XXX_Merge

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

func (*DashboardTabSummary) XXX_Size

func (m *DashboardTabSummary) XXX_Size() int

func (*DashboardTabSummary) XXX_Unmarshal

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

type DashboardTabSummary_TabStatus

type DashboardTabSummary_TabStatus int32
const (
	DashboardTabSummary_NOT_SET DashboardTabSummary_TabStatus = 0
	DashboardTabSummary_UNKNOWN DashboardTabSummary_TabStatus = 1
	DashboardTabSummary_PASS    DashboardTabSummary_TabStatus = 2
	DashboardTabSummary_FAIL    DashboardTabSummary_TabStatus = 3
	DashboardTabSummary_FLAKY   DashboardTabSummary_TabStatus = 4
	DashboardTabSummary_STALE   DashboardTabSummary_TabStatus = 5
)

func (DashboardTabSummary_TabStatus) EnumDescriptor

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

func (DashboardTabSummary_TabStatus) String

type FailingTestSummary

type FailingTestSummary struct {
	// Display name of the test.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Name of the test. E.g., the target for tests in Sponge.
	TestName string `protobuf:"bytes,2,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	// First build ID at which the test failed.
	FailBuildId string `protobuf:"bytes,3,opt,name=fail_build_id,json=failBuildId,proto3" json:"fail_build_id,omitempty"`
	// Timestamp for the first cycle in which the test failed.
	FailTimestamp float64 `protobuf:"fixed64,4,opt,name=fail_timestamp,json=failTimestamp,proto3" json:"fail_timestamp,omitempty"`
	// Last build ID at which the test passed.
	PassBuildId string `protobuf:"bytes,5,opt,name=pass_build_id,json=passBuildId,proto3" json:"pass_build_id,omitempty"`
	// Timestamp for the last cycle in which the test passed.
	PassTimestamp float64 `protobuf:"fixed64,6,opt,name=pass_timestamp,json=passTimestamp,proto3" json:"pass_timestamp,omitempty"`
	// Number of times the test has failed.
	FailCount int32 `protobuf:"varint,7,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"`
	// Link to search for build changes.
	BuildLink string `protobuf:"bytes,8,opt,name=build_link,json=buildLink,proto3" json:"build_link,omitempty"`
	// Text for option to search for build changes.
	BuildLinkText string `protobuf:"bytes,9,opt,name=build_link_text,json=buildLinkText,proto3" json:"build_link_text,omitempty"`
	// Text to display for link to search for build changes.
	BuildUrlText string `protobuf:"bytes,10,opt,name=build_url_text,json=buildUrlText,proto3" json:"build_url_text,omitempty"`
	// Text for failure statuses associated with this test.
	FailureMessage string `protobuf:"bytes,11,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
	// List of bug IDs for bugs associated with this test.
	LinkedBugs []string `protobuf:"bytes,12,rep,name=linked_bugs,json=linkedBugs,proto3" json:"linked_bugs,omitempty"`
	// A link to the first build in which the test failed.
	FailTestLink         string   `protobuf:"bytes,13,opt,name=fail_test_link,json=failTestLink,proto3" json:"fail_test_link,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Summary of a failing test.

func (*FailingTestSummary) Descriptor

func (*FailingTestSummary) Descriptor() ([]byte, []int)
func (m *FailingTestSummary) GetBuildLink() string

func (*FailingTestSummary) GetBuildLinkText

func (m *FailingTestSummary) GetBuildLinkText() string

func (*FailingTestSummary) GetBuildUrlText

func (m *FailingTestSummary) GetBuildUrlText() string

func (*FailingTestSummary) GetDisplayName

func (m *FailingTestSummary) GetDisplayName() string

func (*FailingTestSummary) GetFailBuildId

func (m *FailingTestSummary) GetFailBuildId() string

func (*FailingTestSummary) GetFailCount

func (m *FailingTestSummary) GetFailCount() int32
func (m *FailingTestSummary) GetFailTestLink() string

func (*FailingTestSummary) GetFailTimestamp

func (m *FailingTestSummary) GetFailTimestamp() float64

func (*FailingTestSummary) GetFailureMessage

func (m *FailingTestSummary) GetFailureMessage() string

func (*FailingTestSummary) GetLinkedBugs

func (m *FailingTestSummary) GetLinkedBugs() []string

func (*FailingTestSummary) GetPassBuildId

func (m *FailingTestSummary) GetPassBuildId() string

func (*FailingTestSummary) GetPassTimestamp

func (m *FailingTestSummary) GetPassTimestamp() float64

func (*FailingTestSummary) GetTestName

func (m *FailingTestSummary) GetTestName() string

func (*FailingTestSummary) ProtoMessage

func (*FailingTestSummary) ProtoMessage()

func (*FailingTestSummary) Reset

func (m *FailingTestSummary) Reset()

func (*FailingTestSummary) String

func (m *FailingTestSummary) String() string

func (*FailingTestSummary) XXX_DiscardUnknown

func (m *FailingTestSummary) XXX_DiscardUnknown()

func (*FailingTestSummary) XXX_Marshal

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

func (*FailingTestSummary) XXX_Merge

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

func (*FailingTestSummary) XXX_Size

func (m *FailingTestSummary) XXX_Size() int

func (*FailingTestSummary) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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