Documentation
¶
Overview ¶
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Index ¶
- Variables
- type AgentClient
- type AgentCreateOperation
- func (o *AgentCreateOperation) Metadata() *api.CreateAgentMetadata
- func (o *AgentCreateOperation) Response() *agent.Agent
- func (o *AgentCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Agent, error)
- func (o *AgentCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*agent.Agent, error)
- type AgentDeleteOperation
- func (o *AgentDeleteOperation) Metadata() *api.DeleteAgentMetadata
- func (o *AgentDeleteOperation) Response() *emptypb.Empty
- func (o *AgentDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *AgentDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type AgentUpdateOperation
- func (o *AgentUpdateOperation) Metadata() *api.UpdateAgentMetadata
- func (o *AgentUpdateOperation) Response() *agent.Agent
- func (o *AgentUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Agent, error)
- func (o *AgentUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*agent.Agent, error)
- type ConfigClient
- type ConfigCreateOperation
- func (o *ConfigCreateOperation) Metadata() *api.CreateConfigMetadata
- func (o *ConfigCreateOperation) Response() *config.Config
- func (o *ConfigCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*config.Config, error)
- func (o *ConfigCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*config.Config, error)
- type ConfigDeleteOperation
- func (o *ConfigDeleteOperation) Metadata() *api.DeleteConfigMetadata
- func (o *ConfigDeleteOperation) Response() *emptypb.Empty
- func (o *ConfigDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ConfigDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type RegressionDashboardClient
- type RegressionDashboardCreateOperation
- func (o *RegressionDashboardCreateOperation) Metadata() *api.CreateRegressionDashboardMetadata
- func (o *RegressionDashboardCreateOperation) Response() *regression.Dashboard
- func (o *RegressionDashboardCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*regression.Dashboard, error)
- func (o *RegressionDashboardCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*regression.Dashboard, error)
- type RegressionDashboardDeleteOperation
- func (o *RegressionDashboardDeleteOperation) Metadata() *api.DeleteRegressionDashboardMetadata
- func (o *RegressionDashboardDeleteOperation) Response() *emptypb.Empty
- func (o *RegressionDashboardDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *RegressionDashboardDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type RegressionDashboardUpdateOperation
- func (o *RegressionDashboardUpdateOperation) Metadata() *api.UpdateRegressionDashboardMetadata
- func (o *RegressionDashboardUpdateOperation) Response() *regression.Dashboard
- func (o *RegressionDashboardUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*regression.Dashboard, error)
- func (o *RegressionDashboardUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*regression.Dashboard, error)
- type ReportClient
- type TestClient
- type TestCreateOperation
- func (o *TestCreateOperation) Metadata() *api.CreateTestMetadata
- func (o *TestCreateOperation) Response() *test.Test
- func (o *TestCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*test.Test, error)
- func (o *TestCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*test.Test, error)
- type TestDeleteOperation
- func (o *TestDeleteOperation) Metadata() *api.DeleteTestMetadata
- func (o *TestDeleteOperation) Response() *emptypb.Empty
- func (o *TestDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *TestDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type TestStopOperation
- func (o *TestStopOperation) Metadata() *api.StopTestMetadata
- func (o *TestStopOperation) Response() *test.Test
- func (o *TestStopOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*test.Test, error)
- func (o *TestStopOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*test.Test, error)
Constants ¶
This section is empty.
Variables ¶
var ( AgentCreate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.AgentService.Create") AgentGet = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.AgentService.Get") AgentList = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.AgentService.List") AgentDelete = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.AgentService.Delete") AgentUpdate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.AgentService.Update") AgentOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( ConfigCreate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ConfigService.Create") ConfigGet = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ConfigService.Get") ConfigList = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ConfigService.List") ConfigDelete = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ConfigService.Delete") ConfigOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( RegressionDashboardCreate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.RegressionDashboardService.Create") RegressionDashboardGet = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.RegressionDashboardService.Get") RegressionDashboardList = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.RegressionDashboardService.List") RegressionDashboardDelete = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.RegressionDashboardService.Delete") RegressionDashboardUpdate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.RegressionDashboardService.Update") RegressionDashboardOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( ReportGetTable = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ReportService.GetTable") ReportCalculateKpiValues = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.ReportService.CalculateKpiValues") )
var ( TestCreate = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.TestService.Create") TestGet = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.TestService.Get") TestStop = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.TestService.Stop") TestDelete = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.TestService.Delete") TestList = protoreflect.FullName("yandex.cloud.loadtesting.api.v1.TestService.List") TestOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
Functions ¶
This section is empty.
Types ¶
type AgentClient ¶
type AgentClient interface {
Create(context.Context, *api.CreateAgentRequest, ...grpc.CallOption) (*AgentCreateOperation, error)
Get(context.Context, *api.GetAgentRequest, ...grpc.CallOption) (*agent.Agent, error)
List(context.Context, *api.ListAgentsRequest, ...grpc.CallOption) (*api.ListAgentsResponse, error)
Delete(context.Context, *api.DeleteAgentRequest, ...grpc.CallOption) (*AgentDeleteOperation, error)
Update(context.Context, *api.UpdateAgentRequest, ...grpc.CallOption) (*AgentUpdateOperation, error)
}
AgentClient provides methods for managing Agent resources of Yandex.Cloud Api.
func NewAgentClient ¶
func NewAgentClient(connector transport.Connector) AgentClient
NewAgentClient returns AgentClient implementation.
type AgentCreateOperation ¶
AgentCreateOperation is used to monitor the state of Create operations.
func (*AgentCreateOperation) Metadata ¶
func (o *AgentCreateOperation) Metadata() *api.CreateAgentMetadata
Metadata retrieves the operation metadata.
func (*AgentCreateOperation) Response ¶
func (o *AgentCreateOperation) Response() *agent.Agent
Response retrieves the operation response.
func (*AgentCreateOperation) Wait ¶
func (o *AgentCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Agent, error)
Wait polls the operation until it's done.
func (*AgentCreateOperation) WaitInterval ¶
func (o *AgentCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*agent.Agent, error)
WaitInterval polls the operation until it's done with custom interval.
type AgentDeleteOperation ¶
AgentDeleteOperation is used to monitor the state of Delete operations.
func (*AgentDeleteOperation) Metadata ¶
func (o *AgentDeleteOperation) Metadata() *api.DeleteAgentMetadata
Metadata retrieves the operation metadata.
func (*AgentDeleteOperation) Response ¶
func (o *AgentDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*AgentDeleteOperation) Wait ¶
func (o *AgentDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*AgentDeleteOperation) WaitInterval ¶
func (o *AgentDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type AgentUpdateOperation ¶
AgentUpdateOperation is used to monitor the state of Update operations.
func (*AgentUpdateOperation) Metadata ¶
func (o *AgentUpdateOperation) Metadata() *api.UpdateAgentMetadata
Metadata retrieves the operation metadata.
func (*AgentUpdateOperation) Response ¶
func (o *AgentUpdateOperation) Response() *agent.Agent
Response retrieves the operation response.
func (*AgentUpdateOperation) Wait ¶
func (o *AgentUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Agent, error)
Wait polls the operation until it's done.
func (*AgentUpdateOperation) WaitInterval ¶
func (o *AgentUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*agent.Agent, error)
WaitInterval polls the operation until it's done with custom interval.
type ConfigClient ¶
type ConfigClient interface {
Create(context.Context, *api.CreateConfigRequest, ...grpc.CallOption) (*ConfigCreateOperation, error)
Get(context.Context, *api.GetConfigRequest, ...grpc.CallOption) (*config.Config, error)
List(context.Context, *api.ListConfigsRequest, ...grpc.CallOption) (*api.ListConfigsResponse, error)
Delete(context.Context, *api.DeleteConfigRequest, ...grpc.CallOption) (*ConfigDeleteOperation, error)
}
ConfigClient provides methods for managing Config resources of Yandex.Cloud Api.
func NewConfigClient ¶
func NewConfigClient(connector transport.Connector) ConfigClient
NewConfigClient returns ConfigClient implementation.
type ConfigCreateOperation ¶
ConfigCreateOperation is used to monitor the state of Create operations.
func (*ConfigCreateOperation) Metadata ¶
func (o *ConfigCreateOperation) Metadata() *api.CreateConfigMetadata
Metadata retrieves the operation metadata.
func (*ConfigCreateOperation) Response ¶
func (o *ConfigCreateOperation) Response() *config.Config
Response retrieves the operation response.
func (*ConfigCreateOperation) Wait ¶
func (o *ConfigCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*config.Config, error)
Wait polls the operation until it's done.
func (*ConfigCreateOperation) WaitInterval ¶
func (o *ConfigCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*config.Config, error)
WaitInterval polls the operation until it's done with custom interval.
type ConfigDeleteOperation ¶
ConfigDeleteOperation is used to monitor the state of Delete operations.
func (*ConfigDeleteOperation) Metadata ¶
func (o *ConfigDeleteOperation) Metadata() *api.DeleteConfigMetadata
Metadata retrieves the operation metadata.
func (*ConfigDeleteOperation) Response ¶
func (o *ConfigDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ConfigDeleteOperation) Wait ¶
func (o *ConfigDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ConfigDeleteOperation) WaitInterval ¶
func (o *ConfigDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type RegressionDashboardClient ¶
type RegressionDashboardClient interface {
Create(context.Context, *api.CreateRegressionDashboardRequest, ...grpc.CallOption) (*RegressionDashboardCreateOperation, error)
Get(context.Context, *api.GetRegressionDashboardRequest, ...grpc.CallOption) (*regression.Dashboard, error)
List(context.Context, *api.ListRegressionDashboardsRequest, ...grpc.CallOption) (*api.ListRegressionDashboardsResponse, error)
Delete(context.Context, *api.DeleteRegressionDashboardRequest, ...grpc.CallOption) (*RegressionDashboardDeleteOperation, error)
Update(context.Context, *api.UpdateRegressionDashboardRequest, ...grpc.CallOption) (*RegressionDashboardUpdateOperation, error)
}
RegressionDashboardClient provides methods for managing RegressionDashboard resources of Yandex.Cloud Api.
func NewRegressionDashboardClient ¶
func NewRegressionDashboardClient(connector transport.Connector) RegressionDashboardClient
NewRegressionDashboardClient returns RegressionDashboardClient implementation.
type RegressionDashboardCreateOperation ¶
RegressionDashboardCreateOperation is used to monitor the state of Create operations.
func (*RegressionDashboardCreateOperation) Metadata ¶
func (o *RegressionDashboardCreateOperation) Metadata() *api.CreateRegressionDashboardMetadata
Metadata retrieves the operation metadata.
func (*RegressionDashboardCreateOperation) Response ¶
func (o *RegressionDashboardCreateOperation) Response() *regression.Dashboard
Response retrieves the operation response.
func (*RegressionDashboardCreateOperation) Wait ¶
func (o *RegressionDashboardCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*regression.Dashboard, error)
Wait polls the operation until it's done.
func (*RegressionDashboardCreateOperation) WaitInterval ¶
func (o *RegressionDashboardCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*regression.Dashboard, error)
WaitInterval polls the operation until it's done with custom interval.
type RegressionDashboardDeleteOperation ¶
RegressionDashboardDeleteOperation is used to monitor the state of Delete operations.
func (*RegressionDashboardDeleteOperation) Metadata ¶
func (o *RegressionDashboardDeleteOperation) Metadata() *api.DeleteRegressionDashboardMetadata
Metadata retrieves the operation metadata.
func (*RegressionDashboardDeleteOperation) Response ¶
func (o *RegressionDashboardDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*RegressionDashboardDeleteOperation) Wait ¶
func (o *RegressionDashboardDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*RegressionDashboardDeleteOperation) WaitInterval ¶
func (o *RegressionDashboardDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type RegressionDashboardUpdateOperation ¶
RegressionDashboardUpdateOperation is used to monitor the state of Update operations.
func (*RegressionDashboardUpdateOperation) Metadata ¶
func (o *RegressionDashboardUpdateOperation) Metadata() *api.UpdateRegressionDashboardMetadata
Metadata retrieves the operation metadata.
func (*RegressionDashboardUpdateOperation) Response ¶
func (o *RegressionDashboardUpdateOperation) Response() *regression.Dashboard
Response retrieves the operation response.
func (*RegressionDashboardUpdateOperation) Wait ¶
func (o *RegressionDashboardUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*regression.Dashboard, error)
Wait polls the operation until it's done.
func (*RegressionDashboardUpdateOperation) WaitInterval ¶
func (o *RegressionDashboardUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*regression.Dashboard, error)
WaitInterval polls the operation until it's done with custom interval.
type ReportClient ¶
type ReportClient interface {
GetTable(context.Context, *api.GetTableReportRequest, ...grpc.CallOption) (*api.GetTableReportResponse, error)
CalculateKpiValues(context.Context, *api.CalculateReportKpiValuesRequest, ...grpc.CallOption) (*api.CalculateReportKpiValuesResponse, error)
}
ReportClient provides methods for managing Report resources of Yandex.Cloud Api.
func NewReportClient ¶
func NewReportClient(connector transport.Connector) ReportClient
NewReportClient returns ReportClient implementation.
type TestClient ¶
type TestClient interface {
Create(context.Context, *api.CreateTestRequest, ...grpc.CallOption) (*TestCreateOperation, error)
Get(context.Context, *api.GetTestRequest, ...grpc.CallOption) (*test.Test, error)
Stop(context.Context, *api.StopTestRequest, ...grpc.CallOption) (*TestStopOperation, error)
Delete(context.Context, *api.DeleteTestRequest, ...grpc.CallOption) (*TestDeleteOperation, error)
List(context.Context, *api.ListTestsRequest, ...grpc.CallOption) (*api.ListTestsResponse, error)
}
TestClient provides methods for managing Test resources of Yandex.Cloud Api.
func NewTestClient ¶
func NewTestClient(connector transport.Connector) TestClient
NewTestClient returns TestClient implementation.
type TestCreateOperation ¶
TestCreateOperation is used to monitor the state of Create operations.
func (*TestCreateOperation) Metadata ¶
func (o *TestCreateOperation) Metadata() *api.CreateTestMetadata
Metadata retrieves the operation metadata.
func (*TestCreateOperation) Response ¶
func (o *TestCreateOperation) Response() *test.Test
Response retrieves the operation response.
func (*TestCreateOperation) Wait ¶
func (o *TestCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*test.Test, error)
Wait polls the operation until it's done.
func (*TestCreateOperation) WaitInterval ¶
func (o *TestCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*test.Test, error)
WaitInterval polls the operation until it's done with custom interval.
type TestDeleteOperation ¶
TestDeleteOperation is used to monitor the state of Delete operations.
func (*TestDeleteOperation) Metadata ¶
func (o *TestDeleteOperation) Metadata() *api.DeleteTestMetadata
Metadata retrieves the operation metadata.
func (*TestDeleteOperation) Response ¶
func (o *TestDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*TestDeleteOperation) Wait ¶
func (o *TestDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*TestDeleteOperation) WaitInterval ¶
func (o *TestDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type TestStopOperation ¶
TestStopOperation is used to monitor the state of Stop operations.
func (*TestStopOperation) Metadata ¶
func (o *TestStopOperation) Metadata() *api.StopTestMetadata
Metadata retrieves the operation metadata.
func (*TestStopOperation) Response ¶
func (o *TestStopOperation) Response() *test.Test
Response retrieves the operation response.
func (*TestStopOperation) Wait ¶
func (o *TestStopOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*test.Test, error)
Wait polls the operation until it's done.
func (*TestStopOperation) WaitInterval ¶
func (o *TestStopOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*test.Test, error)
WaitInterval polls the operation until it's done with custom interval.