testgrid_api_v1

package
v0.0.87 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetDashboardGroupResponse

type GetDashboardGroupResponse struct {
	Dashboards           []*Resource `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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

func (*GetDashboardGroupResponse) Descriptor

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

func (*GetDashboardGroupResponse) GetDashboards

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

func (*GetDashboardGroupResponse) ProtoMessage

func (*GetDashboardGroupResponse) ProtoMessage()

func (*GetDashboardGroupResponse) Reset

func (m *GetDashboardGroupResponse) Reset()

func (*GetDashboardGroupResponse) String

func (m *GetDashboardGroupResponse) String() string

func (*GetDashboardGroupResponse) XXX_DiscardUnknown

func (m *GetDashboardGroupResponse) XXX_DiscardUnknown()

func (*GetDashboardGroupResponse) XXX_Marshal

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

func (*GetDashboardGroupResponse) XXX_Merge

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

func (*GetDashboardGroupResponse) XXX_Size

func (m *GetDashboardGroupResponse) XXX_Size() int

func (*GetDashboardGroupResponse) XXX_Unmarshal

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

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

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

func (*GetDashboardResponse) Descriptor

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

func (*GetDashboardResponse) GetDefaultTab

func (m *GetDashboardResponse) GetDefaultTab() string

func (*GetDashboardResponse) GetHighlightToday

func (m *GetDashboardResponse) GetHighlightToday() bool

func (*GetDashboardResponse) GetNotifications

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

func (*GetDashboardResponse) GetSuppressFailingTabs

func (m *GetDashboardResponse) GetSuppressFailingTabs() bool

func (*GetDashboardResponse) ProtoMessage

func (*GetDashboardResponse) ProtoMessage()

func (*GetDashboardResponse) Reset

func (m *GetDashboardResponse) Reset()

func (*GetDashboardResponse) String

func (m *GetDashboardResponse) String() string

func (*GetDashboardResponse) XXX_DiscardUnknown

func (m *GetDashboardResponse) XXX_DiscardUnknown()

func (*GetDashboardResponse) XXX_Marshal

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

func (*GetDashboardResponse) XXX_Merge

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

func (*GetDashboardResponse) XXX_Size

func (m *GetDashboardResponse) XXX_Size() int

func (*GetDashboardResponse) XXX_Unmarshal

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

type ListDashboardGroupResponse

type ListDashboardGroupResponse struct {
	DashboardGroups      []*Resource `protobuf:"bytes,1,rep,name=dashboard_groups,json=dashboardGroups,proto3" json:"dashboard_groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

GET /dashboard-groups Lists the dashboard group names

func (*ListDashboardGroupResponse) Descriptor

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

func (*ListDashboardGroupResponse) GetDashboardGroups

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

func (*ListDashboardGroupResponse) ProtoMessage

func (*ListDashboardGroupResponse) ProtoMessage()

func (*ListDashboardGroupResponse) Reset

func (m *ListDashboardGroupResponse) Reset()

func (*ListDashboardGroupResponse) String

func (m *ListDashboardGroupResponse) String() string

func (*ListDashboardGroupResponse) XXX_DiscardUnknown

func (m *ListDashboardGroupResponse) XXX_DiscardUnknown()

func (*ListDashboardGroupResponse) XXX_Marshal

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

func (*ListDashboardGroupResponse) XXX_Merge

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

func (*ListDashboardGroupResponse) XXX_Size

func (m *ListDashboardGroupResponse) XXX_Size() int

func (*ListDashboardGroupResponse) XXX_Unmarshal

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

type ListDashboardResponse

type ListDashboardResponse struct {
	Dashboards           []*Resource `protobuf:"bytes,1,rep,name=dashboards,proto3" json:"dashboards,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

GET /dashboards Lists dashboard names

func (*ListDashboardResponse) Descriptor

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

func (*ListDashboardResponse) GetDashboards

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

func (*ListDashboardResponse) ProtoMessage

func (*ListDashboardResponse) ProtoMessage()

func (*ListDashboardResponse) Reset

func (m *ListDashboardResponse) Reset()

func (*ListDashboardResponse) String

func (m *ListDashboardResponse) String() string

func (*ListDashboardResponse) XXX_DiscardUnknown

func (m *ListDashboardResponse) XXX_DiscardUnknown()

func (*ListDashboardResponse) XXX_Marshal

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

func (*ListDashboardResponse) XXX_Merge

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

func (*ListDashboardResponse) XXX_Size

func (m *ListDashboardResponse) XXX_Size() int

func (*ListDashboardResponse) XXX_Unmarshal

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

type ListDashboardTabsResponse

type ListDashboardTabsResponse struct {
	DashboardTabs        []*Resource `protobuf:"bytes,1,rep,name=dashboard_tabs,json=dashboardTabs,proto3" json:"dashboard_tabs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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

func (*ListDashboardTabsResponse) Descriptor

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

func (*ListDashboardTabsResponse) GetDashboardTabs

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

func (*ListDashboardTabsResponse) ProtoMessage

func (*ListDashboardTabsResponse) ProtoMessage()

func (*ListDashboardTabsResponse) Reset

func (m *ListDashboardTabsResponse) Reset()

func (*ListDashboardTabsResponse) String

func (m *ListDashboardTabsResponse) String() string

func (*ListDashboardTabsResponse) XXX_DiscardUnknown

func (m *ListDashboardTabsResponse) XXX_DiscardUnknown()

func (*ListDashboardTabsResponse) XXX_Marshal

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

func (*ListDashboardTabsResponse) XXX_Merge

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

func (*ListDashboardTabsResponse) XXX_Size

func (m *ListDashboardTabsResponse) XXX_Size() int

func (*ListDashboardTabsResponse) XXX_Unmarshal

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

type ListHeadersResponse

type ListHeadersResponse struct {
	Headers              []*ListHeadersResponse_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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

func (*ListHeadersResponse) Descriptor

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

func (*ListHeadersResponse) GetHeaders

func (*ListHeadersResponse) ProtoMessage

func (*ListHeadersResponse) ProtoMessage()

func (*ListHeadersResponse) Reset

func (m *ListHeadersResponse) Reset()

func (*ListHeadersResponse) String

func (m *ListHeadersResponse) String() string

func (*ListHeadersResponse) XXX_DiscardUnknown

func (m *ListHeadersResponse) XXX_DiscardUnknown()

func (*ListHeadersResponse) XXX_Marshal

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

func (*ListHeadersResponse) XXX_Merge

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

func (*ListHeadersResponse) XXX_Size

func (m *ListHeadersResponse) XXX_Size() int

func (*ListHeadersResponse) XXX_Unmarshal

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

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

func (*ListHeadersResponse_Header) Descriptor

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

func (*ListHeadersResponse_Header) GetBuild

func (m *ListHeadersResponse_Header) GetBuild() string

func (*ListHeadersResponse_Header) GetExtra

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

func (*ListHeadersResponse_Header) GetHotlistIds

func (m *ListHeadersResponse_Header) GetHotlistIds() string

func (*ListHeadersResponse_Header) GetName

func (m *ListHeadersResponse_Header) GetName() string

func (*ListHeadersResponse_Header) GetStarted

func (*ListHeadersResponse_Header) ProtoMessage

func (*ListHeadersResponse_Header) ProtoMessage()

func (*ListHeadersResponse_Header) Reset

func (m *ListHeadersResponse_Header) Reset()

func (*ListHeadersResponse_Header) String

func (m *ListHeadersResponse_Header) String() string

func (*ListHeadersResponse_Header) XXX_DiscardUnknown

func (m *ListHeadersResponse_Header) XXX_DiscardUnknown()

func (*ListHeadersResponse_Header) XXX_Marshal

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

func (*ListHeadersResponse_Header) XXX_Merge

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

func (*ListHeadersResponse_Header) XXX_Size

func (m *ListHeadersResponse_Header) XXX_Size() int

func (*ListHeadersResponse_Header) XXX_Unmarshal

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

type ListRowsResponse

type ListRowsResponse struct {
	Rows                 []*ListRowsResponse_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

func (*ListRowsResponse) Descriptor

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

func (*ListRowsResponse) GetRows

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

func (*ListRowsResponse) ProtoMessage

func (*ListRowsResponse) ProtoMessage()

func (*ListRowsResponse) Reset

func (m *ListRowsResponse) Reset()

func (*ListRowsResponse) String

func (m *ListRowsResponse) String() string

func (*ListRowsResponse) XXX_DiscardUnknown

func (m *ListRowsResponse) XXX_DiscardUnknown()

func (*ListRowsResponse) XXX_Marshal

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

func (*ListRowsResponse) XXX_Merge

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

func (*ListRowsResponse) XXX_Size

func (m *ListRowsResponse) XXX_Size() int

func (*ListRowsResponse) XXX_Unmarshal

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

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

func (*ListRowsResponse_Cell) Descriptor

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

func (*ListRowsResponse_Cell) GetCellId

func (m *ListRowsResponse_Cell) GetCellId() string

func (*ListRowsResponse_Cell) GetIcon

func (m *ListRowsResponse_Cell) GetIcon() string

func (*ListRowsResponse_Cell) GetMessage

func (m *ListRowsResponse_Cell) GetMessage() string

func (*ListRowsResponse_Cell) GetResult

func (m *ListRowsResponse_Cell) GetResult() int32

func (*ListRowsResponse_Cell) ProtoMessage

func (*ListRowsResponse_Cell) ProtoMessage()

func (*ListRowsResponse_Cell) Reset

func (m *ListRowsResponse_Cell) Reset()

func (*ListRowsResponse_Cell) String

func (m *ListRowsResponse_Cell) String() string

func (*ListRowsResponse_Cell) XXX_DiscardUnknown

func (m *ListRowsResponse_Cell) XXX_DiscardUnknown()

func (*ListRowsResponse_Cell) XXX_Marshal

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

func (*ListRowsResponse_Cell) XXX_Merge

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

func (*ListRowsResponse_Cell) XXX_Size

func (m *ListRowsResponse_Cell) XXX_Size() int

func (*ListRowsResponse_Cell) XXX_Unmarshal

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

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

func (*ListRowsResponse_Row) Descriptor

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

func (*ListRowsResponse_Row) GetAlert

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

func (*ListRowsResponse_Row) GetCells

func (*ListRowsResponse_Row) GetIssues

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

func (*ListRowsResponse_Row) GetName

func (m *ListRowsResponse_Row) GetName() string

func (*ListRowsResponse_Row) ProtoMessage

func (*ListRowsResponse_Row) ProtoMessage()

func (*ListRowsResponse_Row) Reset

func (m *ListRowsResponse_Row) Reset()

func (*ListRowsResponse_Row) String

func (m *ListRowsResponse_Row) String() string

func (*ListRowsResponse_Row) XXX_DiscardUnknown

func (m *ListRowsResponse_Row) XXX_DiscardUnknown()

func (*ListRowsResponse_Row) XXX_Marshal

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

func (*ListRowsResponse_Row) XXX_Merge

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

func (*ListRowsResponse_Row) XXX_Size

func (m *ListRowsResponse_Row) XXX_Size() int

func (*ListRowsResponse_Row) XXX_Unmarshal

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

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

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

func (*Resource) Descriptor() ([]byte, []int)
func (m *Resource) GetLink() string

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

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

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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