testgrid_api_v1

package
v0.0.114 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GetDashboardGroupResponse

type GetDashboardGroupResponse struct {
	Dashboards []*Resource `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboard-groups/{dashboard-group} Lists the dashboard names in that group

func (*GetDashboardGroupResponse) Descriptor deprecated

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

Deprecated: Use GetDashboardGroupResponse.ProtoReflect.Descriptor instead.

func (*GetDashboardGroupResponse) GetDashboards

func (x *GetDashboardGroupResponse) GetDashboards() []*Resource

func (*GetDashboardGroupResponse) ProtoMessage

func (*GetDashboardGroupResponse) ProtoMessage()

func (*GetDashboardGroupResponse) ProtoReflect added in v0.0.91

func (*GetDashboardGroupResponse) Reset

func (x *GetDashboardGroupResponse) Reset()

func (*GetDashboardGroupResponse) String

func (x *GetDashboardGroupResponse) String() string

type GetDashboardResponse

type GetDashboardResponse struct {

	// A list of notifications attached to this dashboard.
	// This is displayed on any dashboard tab in this dashboard.
	Notifications []*config.Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// Control which tab is displayed when first opening a dashboard.
	// Defaults to Summary
	DefaultTab string `protobuf:"bytes,2,opt,name=default_tab,json=defaultTab,proto3" json:"default_tab,omitempty"`
	// Controls whether to suppress highlighting of failing tabs.
	SuppressFailingTabs bool `protobuf:"varint,3,opt,name=suppress_failing_tabs,json=suppressFailingTabs,proto3" json:"suppress_failing_tabs,omitempty"`
	// Controls whether to apply special highlighting to result header columns for
	// the current day.
	HighlightToday bool `protobuf:"varint,4,opt,name=highlight_today,json=highlightToday,proto3" json:"highlight_today,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboards/{dashboard} Returns a Dashboard config's metadata Excludes subtabs, accessed through the /tabs list method instead

func (*GetDashboardResponse) Descriptor deprecated

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

Deprecated: Use GetDashboardResponse.ProtoReflect.Descriptor instead.

func (*GetDashboardResponse) GetDefaultTab

func (x *GetDashboardResponse) GetDefaultTab() string

func (*GetDashboardResponse) GetHighlightToday

func (x *GetDashboardResponse) GetHighlightToday() bool

func (*GetDashboardResponse) GetNotifications

func (x *GetDashboardResponse) GetNotifications() []*config.Notification

func (*GetDashboardResponse) GetSuppressFailingTabs

func (x *GetDashboardResponse) GetSuppressFailingTabs() bool

func (*GetDashboardResponse) ProtoMessage

func (*GetDashboardResponse) ProtoMessage()

func (*GetDashboardResponse) ProtoReflect added in v0.0.91

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

func (*GetDashboardResponse) Reset

func (x *GetDashboardResponse) Reset()

func (*GetDashboardResponse) String

func (x *GetDashboardResponse) String() string

type ListDashboardGroupResponse

type ListDashboardGroupResponse struct {
	DashboardGroups []*Resource `protobuf:"bytes,1,rep,name=dashboard_groups,json=dashboardGroups,proto3" json:"dashboard_groups,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboard-groups Lists the dashboard group names

func (*ListDashboardGroupResponse) Descriptor deprecated

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

Deprecated: Use ListDashboardGroupResponse.ProtoReflect.Descriptor instead.

func (*ListDashboardGroupResponse) GetDashboardGroups

func (x *ListDashboardGroupResponse) GetDashboardGroups() []*Resource

func (*ListDashboardGroupResponse) ProtoMessage

func (*ListDashboardGroupResponse) ProtoMessage()

func (*ListDashboardGroupResponse) ProtoReflect added in v0.0.91

func (*ListDashboardGroupResponse) Reset

func (x *ListDashboardGroupResponse) Reset()

func (*ListDashboardGroupResponse) String

func (x *ListDashboardGroupResponse) String() string

type ListDashboardResponse

type ListDashboardResponse struct {
	Dashboards []*Resource `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboards Lists dashboard names

func (*ListDashboardResponse) Descriptor deprecated

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

Deprecated: Use ListDashboardResponse.ProtoReflect.Descriptor instead.

func (*ListDashboardResponse) GetDashboards

func (x *ListDashboardResponse) GetDashboards() []*Resource

func (*ListDashboardResponse) ProtoMessage

func (*ListDashboardResponse) ProtoMessage()

func (*ListDashboardResponse) ProtoReflect added in v0.0.91

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

func (*ListDashboardResponse) Reset

func (x *ListDashboardResponse) Reset()

func (*ListDashboardResponse) String

func (x *ListDashboardResponse) String() string

type ListDashboardTabsResponse

type ListDashboardTabsResponse struct {
	DashboardTabs []*Resource `protobuf:"bytes,1,rep,name=dashboard_tabs,json=dashboardTabs,proto3" json:"dashboard_tabs,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboards/{dashboard}/tabs Lists the dashboard tab names

func (*ListDashboardTabsResponse) Descriptor deprecated

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

Deprecated: Use ListDashboardTabsResponse.ProtoReflect.Descriptor instead.

func (*ListDashboardTabsResponse) GetDashboardTabs

func (x *ListDashboardTabsResponse) GetDashboardTabs() []*Resource

func (*ListDashboardTabsResponse) ProtoMessage

func (*ListDashboardTabsResponse) ProtoMessage()

func (*ListDashboardTabsResponse) ProtoReflect added in v0.0.91

func (*ListDashboardTabsResponse) Reset

func (x *ListDashboardTabsResponse) Reset()

func (*ListDashboardTabsResponse) String

func (x *ListDashboardTabsResponse) String() string

type ListHeadersResponse

type ListHeadersResponse struct {
	Headers []*ListHeadersResponse_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboards/{dashboard}/tabs/{tab}/headers Returns the headers for grid results

func (*ListHeadersResponse) Descriptor deprecated

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

Deprecated: Use ListHeadersResponse.ProtoReflect.Descriptor instead.

func (*ListHeadersResponse) GetHeaders

func (*ListHeadersResponse) ProtoMessage

func (*ListHeadersResponse) ProtoMessage()

func (*ListHeadersResponse) ProtoReflect added in v0.0.91

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

func (*ListHeadersResponse) Reset

func (x *ListHeadersResponse) Reset()

func (*ListHeadersResponse) String

func (x *ListHeadersResponse) String() string

type ListHeadersResponse_Header

type ListHeadersResponse_Header struct {

	// Unique instance of the job, typically BUILD_NUMBER from prow or a guid
	Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
	// Name associated with the column (such as the run/invocation ID). No two
	// columns should have the same build_id and name. The name field allows the
	// display of multiple columns with the same build_id.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// When the build started running
	Started *timestamp.Timestamp `protobuf:"bytes,3,opt,name=started,proto3" json:"started,omitempty"`
	// Additional custom headers like commit, image used, etc.
	Extra []string `protobuf:"bytes,4,rep,name=extra,proto3" json:"extra,omitempty"`
	// Custom hotlist ids.
	HotlistIds string `protobuf:"bytes,5,opt,name=hotlist_ids,json=hotlistIds,proto3" json:"hotlist_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHeadersResponse_Header) Descriptor deprecated

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

Deprecated: Use ListHeadersResponse_Header.ProtoReflect.Descriptor instead.

func (*ListHeadersResponse_Header) GetBuild

func (x *ListHeadersResponse_Header) GetBuild() string

func (*ListHeadersResponse_Header) GetExtra

func (x *ListHeadersResponse_Header) GetExtra() []string

func (*ListHeadersResponse_Header) GetHotlistIds

func (x *ListHeadersResponse_Header) GetHotlistIds() string

func (*ListHeadersResponse_Header) GetName

func (x *ListHeadersResponse_Header) GetName() string

func (*ListHeadersResponse_Header) GetStarted

func (*ListHeadersResponse_Header) ProtoMessage

func (*ListHeadersResponse_Header) ProtoMessage()

func (*ListHeadersResponse_Header) ProtoReflect added in v0.0.91

func (*ListHeadersResponse_Header) Reset

func (x *ListHeadersResponse_Header) Reset()

func (*ListHeadersResponse_Header) String

func (x *ListHeadersResponse_Header) String() string

type ListRowsResponse

type ListRowsResponse struct {
	Rows []*ListRowsResponse_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

GET /dashboards/{dashboard}/tabs/{tab}/rows Returns information on grid rows, and data within those rows

func (*ListRowsResponse) Descriptor deprecated

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

Deprecated: Use ListRowsResponse.ProtoReflect.Descriptor instead.

func (*ListRowsResponse) GetRows

func (x *ListRowsResponse) GetRows() []*ListRowsResponse_Row

func (*ListRowsResponse) ProtoMessage

func (*ListRowsResponse) ProtoMessage()

func (*ListRowsResponse) ProtoReflect added in v0.0.91

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

func (*ListRowsResponse) Reset

func (x *ListRowsResponse) Reset()

func (*ListRowsResponse) String

func (x *ListRowsResponse) String() string

type ListRowsResponse_Cell

type ListRowsResponse_Cell struct {
	Result  int32  `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	CellId  string `protobuf:"bytes,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Icon    string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRowsResponse_Cell) Descriptor deprecated

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

Deprecated: Use ListRowsResponse_Cell.ProtoReflect.Descriptor instead.

func (*ListRowsResponse_Cell) GetCellId

func (x *ListRowsResponse_Cell) GetCellId() string

func (*ListRowsResponse_Cell) GetIcon

func (x *ListRowsResponse_Cell) GetIcon() string

func (*ListRowsResponse_Cell) GetMessage

func (x *ListRowsResponse_Cell) GetMessage() string

func (*ListRowsResponse_Cell) GetResult

func (x *ListRowsResponse_Cell) GetResult() int32

func (*ListRowsResponse_Cell) ProtoMessage

func (*ListRowsResponse_Cell) ProtoMessage()

func (*ListRowsResponse_Cell) ProtoReflect added in v0.0.91

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

func (*ListRowsResponse_Cell) Reset

func (x *ListRowsResponse_Cell) Reset()

func (*ListRowsResponse_Cell) String

func (x *ListRowsResponse_Cell) String() string

type ListRowsResponse_Row

type ListRowsResponse_Row struct {

	// Display name of the test case
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Historical results of the test case. Unencoded.
	Cells []*ListRowsResponse_Cell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"`
	// Issue or Bug IDs associated with the test case
	Issues []string `protobuf:"bytes,3,rep,name=issues,proto3" json:"issues,omitempty"`
	// Alert associated with the test case
	Alert *state.AlertInfo `protobuf:"bytes,4,opt,name=alert,proto3" json:"alert,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRowsResponse_Row) Descriptor deprecated

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

Deprecated: Use ListRowsResponse_Row.ProtoReflect.Descriptor instead.

func (*ListRowsResponse_Row) GetAlert

func (x *ListRowsResponse_Row) GetAlert() *state.AlertInfo

func (*ListRowsResponse_Row) GetCells

func (*ListRowsResponse_Row) GetIssues

func (x *ListRowsResponse_Row) GetIssues() []string

func (*ListRowsResponse_Row) GetName

func (x *ListRowsResponse_Row) GetName() string

func (*ListRowsResponse_Row) ProtoMessage

func (*ListRowsResponse_Row) ProtoMessage()

func (*ListRowsResponse_Row) ProtoReflect added in v0.0.91

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

func (*ListRowsResponse_Row) Reset

func (x *ListRowsResponse_Row) Reset()

func (*ListRowsResponse_Row) String

func (x *ListRowsResponse_Row) String() string

type Resource

type Resource struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

A Resource is a REST resource, often returned by a LIST command It includes the name of the resource and a link to the resource

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (x *Resource) GetLink() string

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect added in v0.0.91

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

Jump to

Keyboard shortcuts

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