loadtesting

package
v0.0.0-...-5fa7aab Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AgentService_Create_FullMethodName = "/yandex.cloud.loadtesting.api.v1.AgentService/Create"
	AgentService_Get_FullMethodName    = "/yandex.cloud.loadtesting.api.v1.AgentService/Get"
	AgentService_List_FullMethodName   = "/yandex.cloud.loadtesting.api.v1.AgentService/List"
	AgentService_Delete_FullMethodName = "/yandex.cloud.loadtesting.api.v1.AgentService/Delete"
	AgentService_Update_FullMethodName = "/yandex.cloud.loadtesting.api.v1.AgentService/Update"
)
View Source
const (
	ConfigService_Create_FullMethodName = "/yandex.cloud.loadtesting.api.v1.ConfigService/Create"
	ConfigService_Get_FullMethodName    = "/yandex.cloud.loadtesting.api.v1.ConfigService/Get"
	ConfigService_List_FullMethodName   = "/yandex.cloud.loadtesting.api.v1.ConfigService/List"
	ConfigService_Delete_FullMethodName = "/yandex.cloud.loadtesting.api.v1.ConfigService/Delete"
)
View Source
const (
	TestService_Create_FullMethodName = "/yandex.cloud.loadtesting.api.v1.TestService/Create"
	TestService_Get_FullMethodName    = "/yandex.cloud.loadtesting.api.v1.TestService/Get"
	TestService_Stop_FullMethodName   = "/yandex.cloud.loadtesting.api.v1.TestService/Stop"
	TestService_Delete_FullMethodName = "/yandex.cloud.loadtesting.api.v1.TestService/Delete"
	TestService_List_FullMethodName   = "/yandex.cloud.loadtesting.api.v1.TestService/List"
)
View Source
const (
	ReportService_GetTable_FullMethodName = "/yandex.cloud.loadtesting.api.v1.ReportService/GetTable"
)

Variables

View Source
var AgentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadtesting.api.v1.AgentService",
	HandlerType: (*AgentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _AgentService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _AgentService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _AgentService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _AgentService_Delete_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _AgentService_Update_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadtesting/api/v1/agent_service.proto",
}

AgentService_ServiceDesc is the grpc.ServiceDesc for AgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadtesting.api.v1.ConfigService",
	HandlerType: (*ConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _ConfigService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ConfigService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ConfigService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ConfigService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadtesting/api/v1/config_service.proto",
}

ConfigService_ServiceDesc is the grpc.ServiceDesc for ConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_loadtesting_api_v1_agent_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadtesting_api_v1_config_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadtesting_api_v1_report_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadtesting_api_v1_test_service_proto protoreflect.FileDescriptor
View Source
var ReportService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadtesting.api.v1.ReportService",
	HandlerType: (*ReportServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTable",
			Handler:    _ReportService_GetTable_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadtesting/api/v1/report_service.proto",
}

ReportService_ServiceDesc is the grpc.ServiceDesc for ReportService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadtesting.api.v1.TestService",
	HandlerType: (*TestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _TestService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _TestService_Get_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _TestService_Stop_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _TestService_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _TestService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadtesting/api/v1/test_service.proto",
}

TestService_ServiceDesc is the grpc.ServiceDesc for TestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAgentServiceServer

func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)

func RegisterConfigServiceServer

func RegisterConfigServiceServer(s grpc.ServiceRegistrar, srv ConfigServiceServer)

func RegisterReportServiceServer

func RegisterReportServiceServer(s grpc.ServiceRegistrar, srv ReportServiceServer)

func RegisterTestServiceServer

func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)

Types

type AgentServiceClient

type AgentServiceClient interface {
	// Creates an agent in the specified folder.
	//
	// Also creates a corresponding compute instance.
	Create(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified agent.
	//
	// To get the list of all available agents, make a [List] request.
	Get(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*agent.Agent, error)
	// Retrieves the list of agents in the specified folder.
	List(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
	// Deletes the specified agent.
	//
	// Also deletes a corresponding compute instance.
	Delete(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified agent.
	Update(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

AgentServiceClient is the client API for AgentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AgentServiceServer

type AgentServiceServer interface {
	// Creates an agent in the specified folder.
	//
	// Also creates a corresponding compute instance.
	Create(context.Context, *CreateAgentRequest) (*operation.Operation, error)
	// Returns the specified agent.
	//
	// To get the list of all available agents, make a [List] request.
	Get(context.Context, *GetAgentRequest) (*agent.Agent, error)
	// Retrieves the list of agents in the specified folder.
	List(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
	// Deletes the specified agent.
	//
	// Also deletes a corresponding compute instance.
	Delete(context.Context, *DeleteAgentRequest) (*operation.Operation, error)
	// Updates the specified agent.
	Update(context.Context, *UpdateAgentRequest) (*operation.Operation, error)
}

AgentServiceServer is the server API for AgentService service. All implementations should embed UnimplementedAgentServiceServer for forward compatibility

type ConfigServiceClient

type ConfigServiceClient interface {
	// Creates a test config in the specified folder.
	Create(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified config.
	//
	// To get the list of all available configs, make a [List] request.
	Get(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*config.Config, error)
	// Retrieves the list of configs in the specified folder.
	List(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error)
	// Deletes the specified config.
	Delete(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ConfigServiceClient is the client API for ConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ConfigServiceServer

type ConfigServiceServer interface {
	// Creates a test config in the specified folder.
	Create(context.Context, *CreateConfigRequest) (*operation.Operation, error)
	// Returns the specified config.
	//
	// To get the list of all available configs, make a [List] request.
	Get(context.Context, *GetConfigRequest) (*config.Config, error)
	// Retrieves the list of configs in the specified folder.
	List(context.Context, *ListConfigsRequest) (*ListConfigsResponse, error)
	// Deletes the specified config.
	Delete(context.Context, *DeleteConfigRequest) (*operation.Operation, error)
}

ConfigServiceServer is the server API for ConfigService service. All implementations should embed UnimplementedConfigServiceServer for forward compatibility

type CreateAgentMetadata

type CreateAgentMetadata struct {

	// ID of the agent that is being created.
	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAgentMetadata) Descriptor deprecated

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

Deprecated: Use CreateAgentMetadata.ProtoReflect.Descriptor instead.

func (*CreateAgentMetadata) GetAgentId

func (x *CreateAgentMetadata) GetAgentId() string

func (*CreateAgentMetadata) ProtoMessage

func (*CreateAgentMetadata) ProtoMessage()

func (*CreateAgentMetadata) ProtoReflect

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

func (*CreateAgentMetadata) Reset

func (x *CreateAgentMetadata) Reset()

func (*CreateAgentMetadata) SetAgentId

func (m *CreateAgentMetadata) SetAgentId(v string)

func (*CreateAgentMetadata) String

func (x *CreateAgentMetadata) String() string

type CreateAgentRequest

type CreateAgentRequest struct {

	// ID of the folder to create an agent in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the agent.
	//
	// A created compute instance will have the same name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the agent.
	//
	// A created compute instance will have the same description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Parameters for compute instance to be created.
	ComputeInstanceParams *agent.CreateComputeInstance `` /* 126-byte string literal not displayed */
	// Version of the agent.
	//
	// If not provided, the most recent agent version will be used.
	AgentVersion string `protobuf:"bytes,5,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// Agent labels as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateAgentRequest) Descriptor deprecated

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

Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.

func (*CreateAgentRequest) GetAgentVersion

func (x *CreateAgentRequest) GetAgentVersion() string

func (*CreateAgentRequest) GetComputeInstanceParams

func (x *CreateAgentRequest) GetComputeInstanceParams() *agent.CreateComputeInstance

func (*CreateAgentRequest) GetDescription

func (x *CreateAgentRequest) GetDescription() string

func (*CreateAgentRequest) GetFolderId

func (x *CreateAgentRequest) GetFolderId() string

func (*CreateAgentRequest) GetLabels

func (x *CreateAgentRequest) GetLabels() map[string]string

func (*CreateAgentRequest) GetName

func (x *CreateAgentRequest) GetName() string

func (*CreateAgentRequest) ProtoMessage

func (*CreateAgentRequest) ProtoMessage()

func (*CreateAgentRequest) ProtoReflect

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

func (*CreateAgentRequest) Reset

func (x *CreateAgentRequest) Reset()

func (*CreateAgentRequest) SetAgentVersion

func (m *CreateAgentRequest) SetAgentVersion(v string)

func (*CreateAgentRequest) SetComputeInstanceParams

func (m *CreateAgentRequest) SetComputeInstanceParams(v *agent.CreateComputeInstance)

func (*CreateAgentRequest) SetDescription

func (m *CreateAgentRequest) SetDescription(v string)

func (*CreateAgentRequest) SetFolderId

func (m *CreateAgentRequest) SetFolderId(v string)

func (*CreateAgentRequest) SetLabels

func (m *CreateAgentRequest) SetLabels(v map[string]string)

func (*CreateAgentRequest) SetName

func (m *CreateAgentRequest) SetName(v string)

func (*CreateAgentRequest) String

func (x *CreateAgentRequest) String() string

type CreateConfigMetadata

type CreateConfigMetadata struct {

	// ID of the config that is being created.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConfigMetadata) Descriptor deprecated

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

Deprecated: Use CreateConfigMetadata.ProtoReflect.Descriptor instead.

func (*CreateConfigMetadata) GetConfigId

func (x *CreateConfigMetadata) GetConfigId() string

func (*CreateConfigMetadata) ProtoMessage

func (*CreateConfigMetadata) ProtoMessage()

func (*CreateConfigMetadata) ProtoReflect

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

func (*CreateConfigMetadata) Reset

func (x *CreateConfigMetadata) Reset()

func (*CreateConfigMetadata) SetConfigId

func (m *CreateConfigMetadata) SetConfigId(v string)

func (*CreateConfigMetadata) String

func (x *CreateConfigMetadata) String() string

type CreateConfigRequest

type CreateConfigRequest struct {

	// ID of the folder to create a config in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Config content.
	//
	// Types that are assignable to Config:
	//
	//	*CreateConfigRequest_YamlString
	Config isCreateConfigRequest_Config `protobuf_oneof:"config"`
	// Name of the config.
	Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConfigRequest) Descriptor deprecated

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

Deprecated: Use CreateConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateConfigRequest) GetConfig

func (m *CreateConfigRequest) GetConfig() isCreateConfigRequest_Config

func (*CreateConfigRequest) GetFolderId

func (x *CreateConfigRequest) GetFolderId() string

func (*CreateConfigRequest) GetName

func (x *CreateConfigRequest) GetName() string

func (*CreateConfigRequest) GetYamlString

func (x *CreateConfigRequest) GetYamlString() string

func (*CreateConfigRequest) ProtoMessage

func (*CreateConfigRequest) ProtoMessage()

func (*CreateConfigRequest) ProtoReflect

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

func (*CreateConfigRequest) Reset

func (x *CreateConfigRequest) Reset()

func (*CreateConfigRequest) SetConfig

func (*CreateConfigRequest) SetFolderId

func (m *CreateConfigRequest) SetFolderId(v string)

func (*CreateConfigRequest) SetName

func (m *CreateConfigRequest) SetName(v string)

func (*CreateConfigRequest) SetYamlString

func (m *CreateConfigRequest) SetYamlString(v string)

func (*CreateConfigRequest) String

func (x *CreateConfigRequest) String() string

type CreateConfigRequest_Config

type CreateConfigRequest_Config = isCreateConfigRequest_Config

type CreateConfigRequest_YamlString

type CreateConfigRequest_YamlString struct {
	// Config content provided as a string in YAML format.
	YamlString string `protobuf:"bytes,2,opt,name=yaml_string,json=yamlString,proto3,oneof"`
}

type CreateTestMetadata

type CreateTestMetadata struct {

	// ID of the test that is being created.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTestMetadata) Descriptor deprecated

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

Deprecated: Use CreateTestMetadata.ProtoReflect.Descriptor instead.

func (*CreateTestMetadata) GetTestId

func (x *CreateTestMetadata) GetTestId() string

func (*CreateTestMetadata) ProtoMessage

func (*CreateTestMetadata) ProtoMessage()

func (*CreateTestMetadata) ProtoReflect

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

func (*CreateTestMetadata) Reset

func (x *CreateTestMetadata) Reset()

func (*CreateTestMetadata) SetTestId

func (m *CreateTestMetadata) SetTestId(v string)

func (*CreateTestMetadata) String

func (x *CreateTestMetadata) String() string

type CreateTestRequest

type CreateTestRequest struct {

	// ID of the folder to create a test in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Test configuration associated with agents on which they will be executed.
	// In case of multiple configurations, a multitest will be created.
	Configurations []*test.SingleAgentConfiguration `protobuf:"bytes,2,rep,name=configurations,proto3" json:"configurations,omitempty"`
	// Test details. Name, tags etc.
	TestDetails *test.Details `protobuf:"bytes,3,opt,name=test_details,json=testDetails,proto3" json:"test_details,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTestRequest) Descriptor deprecated

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

Deprecated: Use CreateTestRequest.ProtoReflect.Descriptor instead.

func (*CreateTestRequest) GetConfigurations

func (x *CreateTestRequest) GetConfigurations() []*test.SingleAgentConfiguration

func (*CreateTestRequest) GetFolderId

func (x *CreateTestRequest) GetFolderId() string

func (*CreateTestRequest) GetTestDetails

func (x *CreateTestRequest) GetTestDetails() *test.Details

func (*CreateTestRequest) ProtoMessage

func (*CreateTestRequest) ProtoMessage()

func (*CreateTestRequest) ProtoReflect

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

func (*CreateTestRequest) Reset

func (x *CreateTestRequest) Reset()

func (*CreateTestRequest) SetConfigurations

func (m *CreateTestRequest) SetConfigurations(v []*test.SingleAgentConfiguration)

func (*CreateTestRequest) SetFolderId

func (m *CreateTestRequest) SetFolderId(v string)

func (*CreateTestRequest) SetTestDetails

func (m *CreateTestRequest) SetTestDetails(v *test.Details)

func (*CreateTestRequest) String

func (x *CreateTestRequest) String() string

type DeleteAgentMetadata

type DeleteAgentMetadata struct {

	// ID of the agent that is being deleted.
	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAgentMetadata) Descriptor deprecated

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

Deprecated: Use DeleteAgentMetadata.ProtoReflect.Descriptor instead.

func (*DeleteAgentMetadata) GetAgentId

func (x *DeleteAgentMetadata) GetAgentId() string

func (*DeleteAgentMetadata) ProtoMessage

func (*DeleteAgentMetadata) ProtoMessage()

func (*DeleteAgentMetadata) ProtoReflect

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

func (*DeleteAgentMetadata) Reset

func (x *DeleteAgentMetadata) Reset()

func (*DeleteAgentMetadata) SetAgentId

func (m *DeleteAgentMetadata) SetAgentId(v string)

func (*DeleteAgentMetadata) String

func (x *DeleteAgentMetadata) String() string

type DeleteAgentRequest

type DeleteAgentRequest struct {

	// ID of the agent to delete.
	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAgentRequest) Descriptor deprecated

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetAgentId

func (x *DeleteAgentRequest) GetAgentId() string

func (*DeleteAgentRequest) ProtoMessage

func (*DeleteAgentRequest) ProtoMessage()

func (*DeleteAgentRequest) ProtoReflect

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

func (*DeleteAgentRequest) Reset

func (x *DeleteAgentRequest) Reset()

func (*DeleteAgentRequest) SetAgentId

func (m *DeleteAgentRequest) SetAgentId(v string)

func (*DeleteAgentRequest) String

func (x *DeleteAgentRequest) String() string

type DeleteConfigMetadata

type DeleteConfigMetadata struct {

	// ID of the config that is being deleted.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigMetadata) Descriptor deprecated

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

Deprecated: Use DeleteConfigMetadata.ProtoReflect.Descriptor instead.

func (*DeleteConfigMetadata) GetConfigId

func (x *DeleteConfigMetadata) GetConfigId() string

func (*DeleteConfigMetadata) ProtoMessage

func (*DeleteConfigMetadata) ProtoMessage()

func (*DeleteConfigMetadata) ProtoReflect

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

func (*DeleteConfigMetadata) Reset

func (x *DeleteConfigMetadata) Reset()

func (*DeleteConfigMetadata) SetConfigId

func (m *DeleteConfigMetadata) SetConfigId(v string)

func (*DeleteConfigMetadata) String

func (x *DeleteConfigMetadata) String() string

type DeleteConfigRequest

type DeleteConfigRequest struct {

	// ID of the config to deleted.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteConfigRequest) GetConfigId

func (x *DeleteConfigRequest) GetConfigId() string

func (*DeleteConfigRequest) ProtoMessage

func (*DeleteConfigRequest) ProtoMessage()

func (*DeleteConfigRequest) ProtoReflect

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

func (*DeleteConfigRequest) Reset

func (x *DeleteConfigRequest) Reset()

func (*DeleteConfigRequest) SetConfigId

func (m *DeleteConfigRequest) SetConfigId(v string)

func (*DeleteConfigRequest) String

func (x *DeleteConfigRequest) String() string

type DeleteTestMetadata

type DeleteTestMetadata struct {

	// ID of the test that is being deleted.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTestMetadata) Descriptor deprecated

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

Deprecated: Use DeleteTestMetadata.ProtoReflect.Descriptor instead.

func (*DeleteTestMetadata) GetTestId

func (x *DeleteTestMetadata) GetTestId() string

func (*DeleteTestMetadata) ProtoMessage

func (*DeleteTestMetadata) ProtoMessage()

func (*DeleteTestMetadata) ProtoReflect

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

func (*DeleteTestMetadata) Reset

func (x *DeleteTestMetadata) Reset()

func (*DeleteTestMetadata) SetTestId

func (m *DeleteTestMetadata) SetTestId(v string)

func (*DeleteTestMetadata) String

func (x *DeleteTestMetadata) String() string

type DeleteTestRequest

type DeleteTestRequest struct {

	// ID of the test to delete.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTestRequest) Descriptor deprecated

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

Deprecated: Use DeleteTestRequest.ProtoReflect.Descriptor instead.

func (*DeleteTestRequest) GetTestId

func (x *DeleteTestRequest) GetTestId() string

func (*DeleteTestRequest) ProtoMessage

func (*DeleteTestRequest) ProtoMessage()

func (*DeleteTestRequest) ProtoReflect

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

func (*DeleteTestRequest) Reset

func (x *DeleteTestRequest) Reset()

func (*DeleteTestRequest) SetTestId

func (m *DeleteTestRequest) SetTestId(v string)

func (*DeleteTestRequest) String

func (x *DeleteTestRequest) String() string

type GetAgentRequest

type GetAgentRequest struct {

	// ID of the agent to return.
	AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAgentRequest) Descriptor deprecated

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

Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.

func (*GetAgentRequest) GetAgentId

func (x *GetAgentRequest) GetAgentId() string

func (*GetAgentRequest) ProtoMessage

func (*GetAgentRequest) ProtoMessage()

func (*GetAgentRequest) ProtoReflect

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

func (*GetAgentRequest) Reset

func (x *GetAgentRequest) Reset()

func (*GetAgentRequest) SetAgentId

func (m *GetAgentRequest) SetAgentId(v string)

func (*GetAgentRequest) String

func (x *GetAgentRequest) String() string

type GetConfigRequest

type GetConfigRequest struct {

	// ID of the config to return.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetConfigId

func (x *GetConfigRequest) GetConfigId() string

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) SetConfigId

func (m *GetConfigRequest) SetConfigId(v string)

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetTableReportRequest

type GetTableReportRequest struct {

	// ID of the test for which report table will be returned.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTableReportRequest) Descriptor deprecated

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

Deprecated: Use GetTableReportRequest.ProtoReflect.Descriptor instead.

func (*GetTableReportRequest) GetTestId

func (x *GetTableReportRequest) GetTestId() string

func (*GetTableReportRequest) ProtoMessage

func (*GetTableReportRequest) ProtoMessage()

func (*GetTableReportRequest) ProtoReflect

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

func (*GetTableReportRequest) Reset

func (x *GetTableReportRequest) Reset()

func (*GetTableReportRequest) SetTestId

func (m *GetTableReportRequest) SetTestId(v string)

func (*GetTableReportRequest) String

func (x *GetTableReportRequest) String() string

type GetTableReportResponse

type GetTableReportResponse struct {

	// Status of report table.
	Status report.Status `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.loadtesting.api.v1.report.Status" json:"status,omitempty"`
	// Result for all test cases combined ("overall" test case).
	Overall *table.Report `protobuf:"bytes,2,opt,name=overall,proto3" json:"overall,omitempty"`
	// Results for individual test cases, mapped as `case_name:report`.
	Cases map[string]*table.Report `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTableReportResponse) Descriptor deprecated

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

Deprecated: Use GetTableReportResponse.ProtoReflect.Descriptor instead.

func (*GetTableReportResponse) GetCases

func (x *GetTableReportResponse) GetCases() map[string]*table.Report

func (*GetTableReportResponse) GetOverall

func (x *GetTableReportResponse) GetOverall() *table.Report

func (*GetTableReportResponse) GetStatus

func (x *GetTableReportResponse) GetStatus() report.Status

func (*GetTableReportResponse) ProtoMessage

func (*GetTableReportResponse) ProtoMessage()

func (*GetTableReportResponse) ProtoReflect

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

func (*GetTableReportResponse) Reset

func (x *GetTableReportResponse) Reset()

func (*GetTableReportResponse) SetCases

func (m *GetTableReportResponse) SetCases(v map[string]*table.Report)

func (*GetTableReportResponse) SetOverall

func (m *GetTableReportResponse) SetOverall(v *table.Report)

func (*GetTableReportResponse) SetStatus

func (m *GetTableReportResponse) SetStatus(v report.Status)

func (*GetTableReportResponse) String

func (x *GetTableReportResponse) String() string

type GetTestRequest

type GetTestRequest struct {

	// ID of the test to return.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTestRequest) Descriptor deprecated

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

Deprecated: Use GetTestRequest.ProtoReflect.Descriptor instead.

func (*GetTestRequest) GetTestId

func (x *GetTestRequest) GetTestId() string

func (*GetTestRequest) ProtoMessage

func (*GetTestRequest) ProtoMessage()

func (*GetTestRequest) ProtoReflect

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

func (*GetTestRequest) Reset

func (x *GetTestRequest) Reset()

func (*GetTestRequest) SetTestId

func (m *GetTestRequest) SetTestId(v string)

func (*GetTestRequest) String

func (x *GetTestRequest) String() string

type ListAgentsRequest

type ListAgentsRequest struct {

	// ID of the folder to list agents in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns a [ListAgentsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the
	// [ListAgentsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters agents listed in the response.
	//
	// The filter expression may contain multiple field expressions joined by `AND`.
	// The field expression must specify:
	// 1. The field name.
	// 2. An operator:
	//   - `=`, `!=`, `CONTAINS`, for single values.
	//   - `IN` or `NOT IN` for lists of values.
	//
	// 3. The value. String values must be encosed in `"`, boolean values are {`true`, `false`}, timestamp values in ISO-8601.
	//
	// Currently supported fields:
	// - `id` [yandex.cloud.loadtesting.api.v1.agent.Agent.id]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`
	//
	// - `name` [yandex.cloud.loadtesting.api.v1.agent.Agent.name]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`, `CONTAINS`
	//
	// Examples:
	// - `id IN ("1", "2", "3")`
	// - `name CONTAINS "compute-agent-large" AND id NOT IN ("4", "5")`
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsRequest) Descriptor deprecated

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

Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.

func (*ListAgentsRequest) GetFilter

func (x *ListAgentsRequest) GetFilter() string

func (*ListAgentsRequest) GetFolderId

func (x *ListAgentsRequest) GetFolderId() string

func (*ListAgentsRequest) GetPageSize

func (x *ListAgentsRequest) GetPageSize() int64

func (*ListAgentsRequest) GetPageToken

func (x *ListAgentsRequest) GetPageToken() string

func (*ListAgentsRequest) ProtoMessage

func (*ListAgentsRequest) ProtoMessage()

func (*ListAgentsRequest) ProtoReflect

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

func (*ListAgentsRequest) Reset

func (x *ListAgentsRequest) Reset()

func (*ListAgentsRequest) SetFilter

func (m *ListAgentsRequest) SetFilter(v string)

func (*ListAgentsRequest) SetFolderId

func (m *ListAgentsRequest) SetFolderId(v string)

func (*ListAgentsRequest) SetPageSize

func (m *ListAgentsRequest) SetPageSize(v int64)

func (*ListAgentsRequest) SetPageToken

func (m *ListAgentsRequest) SetPageToken(v string)

func (*ListAgentsRequest) String

func (x *ListAgentsRequest) String() string

type ListAgentsResponse

type ListAgentsResponse struct {

	// List of agents in the specified folder.
	Agents []*agent.Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListAgentsRequest.page_size], use `next_page_token` as the value
	// for the [ListAgentsRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsResponse) Descriptor deprecated

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

Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.

func (*ListAgentsResponse) GetAgents

func (x *ListAgentsResponse) GetAgents() []*agent.Agent

func (*ListAgentsResponse) GetNextPageToken

func (x *ListAgentsResponse) GetNextPageToken() string

func (*ListAgentsResponse) ProtoMessage

func (*ListAgentsResponse) ProtoMessage()

func (*ListAgentsResponse) ProtoReflect

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

func (*ListAgentsResponse) Reset

func (x *ListAgentsResponse) Reset()

func (*ListAgentsResponse) SetAgents

func (m *ListAgentsResponse) SetAgents(v []*agent.Agent)

func (*ListAgentsResponse) SetNextPageToken

func (m *ListAgentsResponse) SetNextPageToken(v string)

func (*ListAgentsResponse) String

func (x *ListAgentsResponse) String() string

type ListConfigsRequest

type ListConfigsRequest struct {

	// ID of the folder to list configs in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns a [ListConfigsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the
	// [ListConfigsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters tests listed in the response.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConfigsRequest) Descriptor deprecated

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

Deprecated: Use ListConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListConfigsRequest) GetFilter

func (x *ListConfigsRequest) GetFilter() string

func (*ListConfigsRequest) GetFolderId

func (x *ListConfigsRequest) GetFolderId() string

func (*ListConfigsRequest) GetPageSize

func (x *ListConfigsRequest) GetPageSize() int64

func (*ListConfigsRequest) GetPageToken

func (x *ListConfigsRequest) GetPageToken() string

func (*ListConfigsRequest) ProtoMessage

func (*ListConfigsRequest) ProtoMessage()

func (*ListConfigsRequest) ProtoReflect

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

func (*ListConfigsRequest) Reset

func (x *ListConfigsRequest) Reset()

func (*ListConfigsRequest) SetFilter

func (m *ListConfigsRequest) SetFilter(v string)

func (*ListConfigsRequest) SetFolderId

func (m *ListConfigsRequest) SetFolderId(v string)

func (*ListConfigsRequest) SetPageSize

func (m *ListConfigsRequest) SetPageSize(v int64)

func (*ListConfigsRequest) SetPageToken

func (m *ListConfigsRequest) SetPageToken(v string)

func (*ListConfigsRequest) String

func (x *ListConfigsRequest) String() string

type ListConfigsResponse

type ListConfigsResponse struct {

	// List of configs in the specified folder.
	Configs []*config.Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListConfigsRequest.page_size], use `next_page_token` as the value
	// for the [ListConfigsRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConfigsResponse) Descriptor deprecated

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

Deprecated: Use ListConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListConfigsResponse) GetConfigs

func (x *ListConfigsResponse) GetConfigs() []*config.Config

func (*ListConfigsResponse) GetNextPageToken

func (x *ListConfigsResponse) GetNextPageToken() string

func (*ListConfigsResponse) ProtoMessage

func (*ListConfigsResponse) ProtoMessage()

func (*ListConfigsResponse) ProtoReflect

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

func (*ListConfigsResponse) Reset

func (x *ListConfigsResponse) Reset()

func (*ListConfigsResponse) SetConfigs

func (m *ListConfigsResponse) SetConfigs(v []*config.Config)

func (*ListConfigsResponse) SetNextPageToken

func (m *ListConfigsResponse) SetNextPageToken(v string)

func (*ListConfigsResponse) String

func (x *ListConfigsResponse) String() string

type ListTestsRequest

type ListTestsRequest struct {

	// ID of the folder to list tests in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns a [ListTestsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the
	// [ListTestsResponse.next_page_token] returned by a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters tests listed in the response.
	//
	// The filter expression may contain multiple field expressions joined by `AND`.
	// The field expression must specify:
	// 1. The field name.
	// 2. An operator:
	//   - `=`, `!=`, `<`, `<=`, `>`, `>=`, `CONTAINS`, `:` for single values.
	//   - `IN` or `NOT IN` for lists of values.
	//
	// 3. The value. String values must be encosed in `"`, boolean values are {`true`, `false`}, timestamp values in ISO-8601.
	//
	// Currently supported fields:
	// - `id` [yandex.cloud.loadtesting.api.v1.test.Test.id]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`
	//
	// - `details.name` [yandex.cloud.loadtesting.api.v1.test.Details.name]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`, `CONTAINS`
	//
	// - `details.tags.<TAG_NAME>` [yandex.cloud.loadtesting.api.v1.test.Details.tags]
	//   - operators: `:`
	//
	// - `summary.status` [yandex.cloud.loadtesting.api.v1.test.Summary.status]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`
	//
	// - `summary.is_finished` [yandex.cloud.loadtesting.api.v1.test.Summary.is_finished]
	//   - operators: `=`
	//
	// - `summary.created_at` [yandex.cloud.loadtesting.api.v1.test.Summary.created_at]
	//   - operators: `<`, `<=`, `>`, `>=`
	//
	// - `summary.created_by` [yandex.cloud.loadtesting.api.v1.test.Summary.created_by]
	//   - operators: `=`, `!=`, `IN`, `NOT IN`
	//
	// Examples:
	// - `summary.status IN ("DONE", "ERROR") AND details.tags.author:"yandex"`
	// - `summary.is_finished = true AND details.name CONTAINS "nightly-test"`
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTestsRequest) Descriptor deprecated

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

Deprecated: Use ListTestsRequest.ProtoReflect.Descriptor instead.

func (*ListTestsRequest) GetFilter

func (x *ListTestsRequest) GetFilter() string

func (*ListTestsRequest) GetFolderId

func (x *ListTestsRequest) GetFolderId() string

func (*ListTestsRequest) GetPageSize

func (x *ListTestsRequest) GetPageSize() int64

func (*ListTestsRequest) GetPageToken

func (x *ListTestsRequest) GetPageToken() string

func (*ListTestsRequest) ProtoMessage

func (*ListTestsRequest) ProtoMessage()

func (*ListTestsRequest) ProtoReflect

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

func (*ListTestsRequest) Reset

func (x *ListTestsRequest) Reset()

func (*ListTestsRequest) SetFilter

func (m *ListTestsRequest) SetFilter(v string)

func (*ListTestsRequest) SetFolderId

func (m *ListTestsRequest) SetFolderId(v string)

func (*ListTestsRequest) SetPageSize

func (m *ListTestsRequest) SetPageSize(v int64)

func (*ListTestsRequest) SetPageToken

func (m *ListTestsRequest) SetPageToken(v string)

func (*ListTestsRequest) String

func (x *ListTestsRequest) String() string

type ListTestsResponse

type ListTestsResponse struct {

	// List of tests in the specified folder.
	Tests []*test.Test `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListTestsRequest.page_size], use `next_page_token` as the value
	// for the [ListTestsRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTestsResponse) Descriptor deprecated

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

Deprecated: Use ListTestsResponse.ProtoReflect.Descriptor instead.

func (*ListTestsResponse) GetNextPageToken

func (x *ListTestsResponse) GetNextPageToken() string

func (*ListTestsResponse) GetTests

func (x *ListTestsResponse) GetTests() []*test.Test

func (*ListTestsResponse) ProtoMessage

func (*ListTestsResponse) ProtoMessage()

func (*ListTestsResponse) ProtoReflect

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

func (*ListTestsResponse) Reset

func (x *ListTestsResponse) Reset()

func (*ListTestsResponse) SetNextPageToken

func (m *ListTestsResponse) SetNextPageToken(v string)

func (*ListTestsResponse) SetTests

func (m *ListTestsResponse) SetTests(v []*test.Test)

func (*ListTestsResponse) String

func (x *ListTestsResponse) String() string

type ReportServiceClient

type ReportServiceClient interface {
	// Returns a report table for the specified test.
	GetTable(ctx context.Context, in *GetTableReportRequest, opts ...grpc.CallOption) (*GetTableReportResponse, error)
}

ReportServiceClient is the client API for ReportService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ReportServiceServer

type ReportServiceServer interface {
	// Returns a report table for the specified test.
	GetTable(context.Context, *GetTableReportRequest) (*GetTableReportResponse, error)
}

ReportServiceServer is the server API for ReportService service. All implementations should embed UnimplementedReportServiceServer for forward compatibility

type StopTestMetadata

type StopTestMetadata struct {

	// ID of the test that is being stopped.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopTestMetadata) Descriptor deprecated

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

Deprecated: Use StopTestMetadata.ProtoReflect.Descriptor instead.

func (*StopTestMetadata) GetTestId

func (x *StopTestMetadata) GetTestId() string

func (*StopTestMetadata) ProtoMessage

func (*StopTestMetadata) ProtoMessage()

func (*StopTestMetadata) ProtoReflect

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

func (*StopTestMetadata) Reset

func (x *StopTestMetadata) Reset()

func (*StopTestMetadata) SetTestId

func (m *StopTestMetadata) SetTestId(v string)

func (*StopTestMetadata) String

func (x *StopTestMetadata) String() string

type StopTestRequest

type StopTestRequest struct {

	// ID of the test to stop.
	TestId string `protobuf:"bytes,1,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopTestRequest) Descriptor deprecated

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

Deprecated: Use StopTestRequest.ProtoReflect.Descriptor instead.

func (*StopTestRequest) GetTestId

func (x *StopTestRequest) GetTestId() string

func (*StopTestRequest) ProtoMessage

func (*StopTestRequest) ProtoMessage()

func (*StopTestRequest) ProtoReflect

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

func (*StopTestRequest) Reset

func (x *StopTestRequest) Reset()

func (*StopTestRequest) SetTestId

func (m *StopTestRequest) SetTestId(v string)

func (*StopTestRequest) String

func (x *StopTestRequest) String() string

type TestServiceClient

type TestServiceClient interface {
	// Creates (runs) a test in the specified folder.
	Create(ctx context.Context, in *CreateTestRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified test.
	//
	// To get the list of all available tests, make a [List] request.
	Get(ctx context.Context, in *GetTestRequest, opts ...grpc.CallOption) (*test.Test, error)
	// Stops the specified test.
	Stop(ctx context.Context, in *StopTestRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes specified tests.
	Delete(ctx context.Context, in *DeleteTestRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves the list of test in the specified folder.
	List(ctx context.Context, in *ListTestsRequest, opts ...grpc.CallOption) (*ListTestsResponse, error)
}

TestServiceClient is the client API for TestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TestServiceServer

type TestServiceServer interface {
	// Creates (runs) a test in the specified folder.
	Create(context.Context, *CreateTestRequest) (*operation.Operation, error)
	// Returns the specified test.
	//
	// To get the list of all available tests, make a [List] request.
	Get(context.Context, *GetTestRequest) (*test.Test, error)
	// Stops the specified test.
	Stop(context.Context, *StopTestRequest) (*operation.Operation, error)
	// Deletes specified tests.
	Delete(context.Context, *DeleteTestRequest) (*operation.Operation, error)
	// Retrieves the list of test in the specified folder.
	List(context.Context, *ListTestsRequest) (*ListTestsResponse, error)
}

TestServiceServer is the server API for TestService service. All implementations should embed UnimplementedTestServiceServer for forward compatibility

type UnimplementedAgentServiceServer

type UnimplementedAgentServiceServer struct {
}

UnimplementedAgentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAgentServiceServer) Create

func (UnimplementedAgentServiceServer) Delete

func (UnimplementedAgentServiceServer) Get

func (UnimplementedAgentServiceServer) List

func (UnimplementedAgentServiceServer) Update

type UnimplementedConfigServiceServer

type UnimplementedConfigServiceServer struct {
}

UnimplementedConfigServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedConfigServiceServer) Create

func (UnimplementedConfigServiceServer) Delete

func (UnimplementedConfigServiceServer) Get

func (UnimplementedConfigServiceServer) List

type UnimplementedReportServiceServer

type UnimplementedReportServiceServer struct {
}

UnimplementedReportServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedReportServiceServer) GetTable

type UnimplementedTestServiceServer

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTestServiceServer) Create

func (UnimplementedTestServiceServer) Delete

func (UnimplementedTestServiceServer) Get

func (UnimplementedTestServiceServer) List

func (UnimplementedTestServiceServer) Stop

type UnsafeAgentServiceServer

type UnsafeAgentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServiceServer will result in compilation errors.

type UnsafeConfigServiceServer

type UnsafeConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServiceServer will result in compilation errors.

type UnsafeReportServiceServer

type UnsafeReportServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeReportServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReportServiceServer will result in compilation errors.

type UnsafeTestServiceServer

type UnsafeTestServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestServiceServer will result in compilation errors.

type UpdateAgentMetadata

type UpdateAgentMetadata struct {

	// ID of the agent that is being updated.
	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAgentMetadata) Descriptor deprecated

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

Deprecated: Use UpdateAgentMetadata.ProtoReflect.Descriptor instead.

func (*UpdateAgentMetadata) GetAgentId

func (x *UpdateAgentMetadata) GetAgentId() string

func (*UpdateAgentMetadata) ProtoMessage

func (*UpdateAgentMetadata) ProtoMessage()

func (*UpdateAgentMetadata) ProtoReflect

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

func (*UpdateAgentMetadata) Reset

func (x *UpdateAgentMetadata) Reset()

func (*UpdateAgentMetadata) SetAgentId

func (m *UpdateAgentMetadata) SetAgentId(v string)

func (*UpdateAgentMetadata) String

func (x *UpdateAgentMetadata) String() string

type UpdateAgentRequest

type UpdateAgentRequest struct {

	// ID of the agent to update.
	AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	// Field mask that specifies which attributes of the agent are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New name of the agent.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// New description of the agent.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// New parameters of compute instance managed by the agent.
	ComputeInstanceParams *agent.CreateComputeInstance `` /* 126-byte string literal not displayed */
	// New labels of the agent.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateAgentRequest) Descriptor deprecated

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

Deprecated: Use UpdateAgentRequest.ProtoReflect.Descriptor instead.

func (*UpdateAgentRequest) GetAgentId

func (x *UpdateAgentRequest) GetAgentId() string

func (*UpdateAgentRequest) GetComputeInstanceParams

func (x *UpdateAgentRequest) GetComputeInstanceParams() *agent.CreateComputeInstance

func (*UpdateAgentRequest) GetDescription

func (x *UpdateAgentRequest) GetDescription() string

func (*UpdateAgentRequest) GetLabels

func (x *UpdateAgentRequest) GetLabels() map[string]string

func (*UpdateAgentRequest) GetName

func (x *UpdateAgentRequest) GetName() string

func (*UpdateAgentRequest) GetUpdateMask

func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAgentRequest) ProtoMessage

func (*UpdateAgentRequest) ProtoMessage()

func (*UpdateAgentRequest) ProtoReflect

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

func (*UpdateAgentRequest) Reset

func (x *UpdateAgentRequest) Reset()

func (*UpdateAgentRequest) SetAgentId

func (m *UpdateAgentRequest) SetAgentId(v string)

func (*UpdateAgentRequest) SetComputeInstanceParams

func (m *UpdateAgentRequest) SetComputeInstanceParams(v *agent.CreateComputeInstance)

func (*UpdateAgentRequest) SetDescription

func (m *UpdateAgentRequest) SetDescription(v string)

func (*UpdateAgentRequest) SetLabels

func (m *UpdateAgentRequest) SetLabels(v map[string]string)

func (*UpdateAgentRequest) SetName

func (m *UpdateAgentRequest) SetName(v string)

func (*UpdateAgentRequest) SetUpdateMask

func (m *UpdateAgentRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateAgentRequest) String

func (x *UpdateAgentRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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