regression

package
v0.0.0-...-20525f7 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TitleWidget_TitleSize_name = map[int32]string{
		0: "TITLE_SIZE_UNSPECIFIED",
		1: "TITLE_SIZE_XS",
		2: "TITLE_SIZE_S",
		3: "TITLE_SIZE_M",
		4: "TITLE_SIZE_L",
	}
	TitleWidget_TitleSize_value = map[string]int32{
		"TITLE_SIZE_UNSPECIFIED": 0,
		"TITLE_SIZE_XS":          1,
		"TITLE_SIZE_S":           2,
		"TITLE_SIZE_M":           3,
		"TITLE_SIZE_L":           4,
	}
)

Enum value maps for TitleWidget_TitleSize.

View Source
var File_yandex_cloud_loadtesting_api_v1_regression_dashboard_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadtesting_api_v1_regression_widget_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChartWidget

type ChartWidget struct {

	// ID of the chart.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the chart.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the chart.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Test filter selector to show KPI values for.
	FilterStr string `protobuf:"bytes,4,opt,name=filter_str,json=filterStr,proto3" json:"filter_str,omitempty"`
	// Test case to show KPI values for.
	TestCase string `protobuf:"bytes,5,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
	// KPIs to show.
	Kpis []*report.Kpi `protobuf:"bytes,6,rep,name=kpis,proto3" json:"kpis,omitempty"`
	// contains filtered or unexported fields
}

Regression chart.

func (*ChartWidget) Descriptor deprecated

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

Deprecated: Use ChartWidget.ProtoReflect.Descriptor instead.

func (*ChartWidget) GetDescription

func (x *ChartWidget) GetDescription() string

func (*ChartWidget) GetFilterStr

func (x *ChartWidget) GetFilterStr() string

func (*ChartWidget) GetId

func (x *ChartWidget) GetId() string

func (*ChartWidget) GetKpis

func (x *ChartWidget) GetKpis() []*report.Kpi

func (*ChartWidget) GetName

func (x *ChartWidget) GetName() string

func (*ChartWidget) GetTestCase

func (x *ChartWidget) GetTestCase() string

func (*ChartWidget) ProtoMessage

func (*ChartWidget) ProtoMessage()

func (*ChartWidget) ProtoReflect

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

func (*ChartWidget) Reset

func (x *ChartWidget) Reset()

func (*ChartWidget) SetDescription

func (m *ChartWidget) SetDescription(v string)

func (*ChartWidget) SetFilterStr

func (m *ChartWidget) SetFilterStr(v string)

func (*ChartWidget) SetId

func (m *ChartWidget) SetId(v string)

func (*ChartWidget) SetKpis

func (m *ChartWidget) SetKpis(v []*report.Kpi)

func (*ChartWidget) SetName

func (m *ChartWidget) SetName(v string)

func (*ChartWidget) SetTestCase

func (m *ChartWidget) SetTestCase(v string)

func (*ChartWidget) String

func (x *ChartWidget) String() string

type Dashboard

type Dashboard struct {

	// ID of the dashboard.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the dashboard.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the dashboard.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// UA or SA that created the dashboard.
	CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// UA or SA that updated the dashboard last time.
	UpdatedBy string `protobuf:"bytes,7,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	// Etag of the dashboard.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Dashboard content.
	Content *Dashboard_Content `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

Regression dashboard.

func (*Dashboard) Descriptor deprecated

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

Deprecated: Use Dashboard.ProtoReflect.Descriptor instead.

func (*Dashboard) GetContent

func (x *Dashboard) GetContent() *Dashboard_Content

func (*Dashboard) GetCreatedAt

func (x *Dashboard) GetCreatedAt() *timestamppb.Timestamp

func (*Dashboard) GetCreatedBy

func (x *Dashboard) GetCreatedBy() string

func (*Dashboard) GetDescription

func (x *Dashboard) GetDescription() string

func (*Dashboard) GetEtag

func (x *Dashboard) GetEtag() string

func (*Dashboard) GetId

func (x *Dashboard) GetId() string

func (*Dashboard) GetName

func (x *Dashboard) GetName() string

func (*Dashboard) GetUpdatedAt

func (x *Dashboard) GetUpdatedAt() *timestamppb.Timestamp

func (*Dashboard) GetUpdatedBy

func (x *Dashboard) GetUpdatedBy() string

func (*Dashboard) ProtoMessage

func (*Dashboard) ProtoMessage()

func (*Dashboard) ProtoReflect

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

func (*Dashboard) Reset

func (x *Dashboard) Reset()

func (*Dashboard) SetContent

func (m *Dashboard) SetContent(v *Dashboard_Content)

func (*Dashboard) SetCreatedAt

func (m *Dashboard) SetCreatedAt(v *timestamppb.Timestamp)

func (*Dashboard) SetCreatedBy

func (m *Dashboard) SetCreatedBy(v string)

func (*Dashboard) SetDescription

func (m *Dashboard) SetDescription(v string)

func (*Dashboard) SetEtag

func (m *Dashboard) SetEtag(v string)

func (*Dashboard) SetId

func (m *Dashboard) SetId(v string)

func (*Dashboard) SetName

func (m *Dashboard) SetName(v string)

func (*Dashboard) SetUpdatedAt

func (m *Dashboard) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Dashboard) SetUpdatedBy

func (m *Dashboard) SetUpdatedBy(v string)

func (*Dashboard) String

func (x *Dashboard) String() string

type Dashboard_Content

type Dashboard_Content struct {

	// Widgets.
	Widgets []*Widget `protobuf:"bytes,1,rep,name=widgets,proto3" json:"widgets,omitempty"`
	// contains filtered or unexported fields
}

Content of regression dashboard.

func (*Dashboard_Content) Descriptor deprecated

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

Deprecated: Use Dashboard_Content.ProtoReflect.Descriptor instead.

func (*Dashboard_Content) GetWidgets

func (x *Dashboard_Content) GetWidgets() []*Widget

func (*Dashboard_Content) ProtoMessage

func (*Dashboard_Content) ProtoMessage()

func (*Dashboard_Content) ProtoReflect

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

func (*Dashboard_Content) Reset

func (x *Dashboard_Content) Reset()

func (*Dashboard_Content) SetWidgets

func (m *Dashboard_Content) SetWidgets(v []*Widget)

func (*Dashboard_Content) String

func (x *Dashboard_Content) String() string

type TextWidget

type TextWidget struct {

	// Text string.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

Text widget.

func (*TextWidget) Descriptor deprecated

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

Deprecated: Use TextWidget.ProtoReflect.Descriptor instead.

func (*TextWidget) GetText

func (x *TextWidget) GetText() string

func (*TextWidget) ProtoMessage

func (*TextWidget) ProtoMessage()

func (*TextWidget) ProtoReflect

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

func (*TextWidget) Reset

func (x *TextWidget) Reset()

func (*TextWidget) SetText

func (m *TextWidget) SetText(v string)

func (*TextWidget) String

func (x *TextWidget) String() string

type TitleWidget

type TitleWidget struct {

	// Title string.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Title size.
	Size TitleWidget_TitleSize `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

Title widget.

func (*TitleWidget) Descriptor deprecated

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

Deprecated: Use TitleWidget.ProtoReflect.Descriptor instead.

func (*TitleWidget) GetSize

func (x *TitleWidget) GetSize() TitleWidget_TitleSize

func (*TitleWidget) GetText

func (x *TitleWidget) GetText() string

func (*TitleWidget) ProtoMessage

func (*TitleWidget) ProtoMessage()

func (*TitleWidget) ProtoReflect

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

func (*TitleWidget) Reset

func (x *TitleWidget) Reset()

func (*TitleWidget) SetSize

func (m *TitleWidget) SetSize(v TitleWidget_TitleSize)

func (*TitleWidget) SetText

func (m *TitleWidget) SetText(v string)

func (*TitleWidget) String

func (x *TitleWidget) String() string

type TitleWidget_TitleSize

type TitleWidget_TitleSize int32

Title size.

const (
	// Unspecified.
	TitleWidget_TITLE_SIZE_UNSPECIFIED TitleWidget_TitleSize = 0
	// Extra small.
	TitleWidget_TITLE_SIZE_XS TitleWidget_TitleSize = 1
	// Small.
	TitleWidget_TITLE_SIZE_S TitleWidget_TitleSize = 2
	// Medium.
	TitleWidget_TITLE_SIZE_M TitleWidget_TitleSize = 3
	// Large.
	TitleWidget_TITLE_SIZE_L TitleWidget_TitleSize = 4
)

func (TitleWidget_TitleSize) Descriptor

func (TitleWidget_TitleSize) Enum

func (TitleWidget_TitleSize) EnumDescriptor deprecated

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

Deprecated: Use TitleWidget_TitleSize.Descriptor instead.

func (TitleWidget_TitleSize) Number

func (TitleWidget_TitleSize) String

func (x TitleWidget_TitleSize) String() string

func (TitleWidget_TitleSize) Type

type Widget

type Widget struct {

	// Widget position.
	Position *Widget_LayoutPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	// Types that are assignable to Widget:
	//
	//	*Widget_Chart
	//	*Widget_Text
	//	*Widget_Title
	Widget isWidget_Widget `protobuf_oneof:"widget"`
	// contains filtered or unexported fields
}

Regression dashboard widget.

func (*Widget) Descriptor deprecated

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

Deprecated: Use Widget.ProtoReflect.Descriptor instead.

func (*Widget) GetChart

func (x *Widget) GetChart() *ChartWidget

func (*Widget) GetPosition

func (x *Widget) GetPosition() *Widget_LayoutPosition

func (*Widget) GetText

func (x *Widget) GetText() *TextWidget

func (*Widget) GetTitle

func (x *Widget) GetTitle() *TitleWidget

func (*Widget) GetWidget

func (m *Widget) GetWidget() isWidget_Widget

func (*Widget) ProtoMessage

func (*Widget) ProtoMessage()

func (*Widget) ProtoReflect

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

func (*Widget) Reset

func (x *Widget) Reset()

func (*Widget) SetChart

func (m *Widget) SetChart(v *ChartWidget)

func (*Widget) SetPosition

func (m *Widget) SetPosition(v *Widget_LayoutPosition)

func (*Widget) SetText

func (m *Widget) SetText(v *TextWidget)

func (*Widget) SetTitle

func (m *Widget) SetTitle(v *TitleWidget)

func (*Widget) SetWidget

func (m *Widget) SetWidget(v Widget_Widget)

func (*Widget) String

func (x *Widget) String() string

type Widget_Chart

type Widget_Chart struct {
	// Chart widget.
	Chart *ChartWidget `protobuf:"bytes,2,opt,name=chart,proto3,oneof"`
}

type Widget_LayoutPosition

type Widget_LayoutPosition struct {

	// X.
	X int64 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	// Y.
	Y int64 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	// Width.
	Width int64 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	// Height.
	Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Widget position.

func (*Widget_LayoutPosition) Descriptor deprecated

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

Deprecated: Use Widget_LayoutPosition.ProtoReflect.Descriptor instead.

func (*Widget_LayoutPosition) GetHeight

func (x *Widget_LayoutPosition) GetHeight() int64

func (*Widget_LayoutPosition) GetWidth

func (x *Widget_LayoutPosition) GetWidth() int64

func (*Widget_LayoutPosition) GetX

func (x *Widget_LayoutPosition) GetX() int64

func (*Widget_LayoutPosition) GetY

func (x *Widget_LayoutPosition) GetY() int64

func (*Widget_LayoutPosition) ProtoMessage

func (*Widget_LayoutPosition) ProtoMessage()

func (*Widget_LayoutPosition) ProtoReflect

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

func (*Widget_LayoutPosition) Reset

func (x *Widget_LayoutPosition) Reset()

func (*Widget_LayoutPosition) SetHeight

func (m *Widget_LayoutPosition) SetHeight(v int64)

func (*Widget_LayoutPosition) SetWidth

func (m *Widget_LayoutPosition) SetWidth(v int64)

func (*Widget_LayoutPosition) SetX

func (m *Widget_LayoutPosition) SetX(v int64)

func (*Widget_LayoutPosition) SetY

func (m *Widget_LayoutPosition) SetY(v int64)

func (*Widget_LayoutPosition) String

func (x *Widget_LayoutPosition) String() string

type Widget_Text

type Widget_Text struct {
	// Text widget.
	Text *TextWidget `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}

type Widget_Title

type Widget_Title struct {
	// Title widget.
	Title *TitleWidget `protobuf:"bytes,4,opt,name=title,proto3,oneof"`
}

type Widget_Widget

type Widget_Widget = isWidget_Widget

Jump to

Keyboard shortcuts

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