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.
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 AgentRegistrationClient
- type AgentRegistrationExternalAgentRegisterOperation
- func (o *AgentRegistrationExternalAgentRegisterOperation) Metadata() *agent.ExternalAgentRegisterMetadata
- func (o *AgentRegistrationExternalAgentRegisterOperation) Response() *agent.AgentInstance
- func (o *AgentRegistrationExternalAgentRegisterOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.AgentInstance, error)
- func (o *AgentRegistrationExternalAgentRegisterOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*agent.AgentInstance, error)
- type GreeterClient
- type JobClient
- type MonitoringClient
- type TankClient
- type TestClient
- type TestUpdateOperation
- func (o *TestUpdateOperation) Metadata() *agent.UpdateTestMetadata
- func (o *TestUpdateOperation) Response() *agent.Test
- func (o *TestUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Test, error)
- func (o *TestUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*agent.Test, error)
- type TrailClient
Constants ¶
This section is empty.
Variables ¶
var ( AgentClaimStatus = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentService.ClaimStatus") AgentReportEventLogs = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentService.ReportEventLogs") )
var ( AgentRegistrationRegister = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.Register") AgentRegistrationExternalAgentRegister = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentRegistrationService.ExternalAgentRegister") AgentRegistrationOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( JobClaimStatus = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.JobService.ClaimStatus") JobGet = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.JobService.Get") JobGetSignal = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.JobService.GetSignal") JobGetTransientFile = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.JobService.GetTransientFile") )
var ( TestGet = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TestService.Get") TestUpdate = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TestService.Update") TestOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var (
GreeterSayHello = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.GreeterService.SayHello")
)
var (
MonitoringAddMetric = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.MonitoringService.AddMetric")
)
var (
TankClaimStatus = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TankService.ClaimStatus")
)
var (
TrailCreate = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TrailService.Create")
)
Functions ¶
This section is empty.
Types ¶
type AgentClient ¶
type AgentClient interface {
ClaimStatus(context.Context, *agent.ClaimAgentStatusRequest, ...grpc.CallOption) (*agent.ClaimAgentStatusResponse, error)
ReportEventLogs(context.Context, *agent.ReportEventLogsRequest, ...grpc.CallOption) (*agent.ReportEventLogsResponse, error)
}
AgentClient provides methods for managing Agent resources of Yandex.Cloud Agent.
func NewAgentClient ¶
func NewAgentClient(connector transport.Connector) AgentClient
NewAgentClient returns AgentClient implementation.
type AgentRegistrationClient ¶
type AgentRegistrationClient interface {
Register(context.Context, *agent.RegisterRequest, ...grpc.CallOption) (*agent.RegisterResponse, error)
ExternalAgentRegister(context.Context, *agent.ExternalAgentRegisterRequest, ...grpc.CallOption) (*AgentRegistrationExternalAgentRegisterOperation, error)
}
AgentRegistrationClient provides methods for managing AgentRegistration resources of Yandex.Cloud Agent.
func NewAgentRegistrationClient ¶
func NewAgentRegistrationClient(connector transport.Connector) AgentRegistrationClient
NewAgentRegistrationClient returns AgentRegistrationClient implementation.
type AgentRegistrationExternalAgentRegisterOperation ¶
AgentRegistrationExternalAgentRegisterOperation is used to monitor the state of ExternalAgentRegister operations.
func (*AgentRegistrationExternalAgentRegisterOperation) Metadata ¶
func (o *AgentRegistrationExternalAgentRegisterOperation) Metadata() *agent.ExternalAgentRegisterMetadata
Metadata retrieves the operation metadata.
func (*AgentRegistrationExternalAgentRegisterOperation) Response ¶
func (o *AgentRegistrationExternalAgentRegisterOperation) Response() *agent.AgentInstance
Response retrieves the operation response.
func (*AgentRegistrationExternalAgentRegisterOperation) Wait ¶
func (o *AgentRegistrationExternalAgentRegisterOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.AgentInstance, error)
Wait polls the operation until it's done.
func (*AgentRegistrationExternalAgentRegisterOperation) WaitInterval ¶
func (o *AgentRegistrationExternalAgentRegisterOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*agent.AgentInstance, error)
WaitInterval polls the operation until it's done with custom interval.
type GreeterClient ¶
type GreeterClient interface {
SayHello(context.Context, *agent.SayHelloRequest, ...grpc.CallOption) (*agent.SayHelloResponse, error)
}
GreeterClient provides methods for managing Greeter resources of Yandex.Cloud Agent.
func NewGreeterClient ¶
func NewGreeterClient(connector transport.Connector) GreeterClient
NewGreeterClient returns GreeterClient implementation.
type JobClient ¶
type JobClient interface {
ClaimStatus(context.Context, *agent.ClaimJobStatusRequest, ...grpc.CallOption) (*agent.ClaimJobStatusResponse, error)
Get(context.Context, *agent.GetJobRequest, ...grpc.CallOption) (*agent.Job, error)
GetSignal(context.Context, *agent.JobSignalRequest, ...grpc.CallOption) (*agent.JobSignalResponse, error)
GetTransientFile(context.Context, *agent.GetJobTransientFile, ...grpc.CallOption) (*agent.File, error)
}
JobClient provides methods for managing Job resources of Yandex.Cloud Agent.
func NewJobClient ¶
NewJobClient returns JobClient implementation.
type MonitoringClient ¶
type MonitoringClient interface {
AddMetric(context.Context, *agent.AddMetricRequest, ...grpc.CallOption) (*agent.AddMetricResponse, error)
}
MonitoringClient provides methods for managing Monitoring resources of Yandex.Cloud Agent.
func NewMonitoringClient ¶
func NewMonitoringClient(connector transport.Connector) MonitoringClient
NewMonitoringClient returns MonitoringClient implementation.
type TankClient ¶
type TankClient interface {
ClaimStatus(context.Context, *agent.ClaimTankStatusRequest, ...grpc.CallOption) (*agent.ClaimTankStatusResponse, error)
}
TankClient provides methods for managing Tank resources of Yandex.Cloud Agent.
func NewTankClient ¶
func NewTankClient(connector transport.Connector) TankClient
NewTankClient returns TankClient implementation.
type TestClient ¶
type TestClient interface {
Get(context.Context, *agent.GetTestRequest, ...grpc.CallOption) (*agent.Test, error)
Update(context.Context, *agent.UpdateTestRequest, ...grpc.CallOption) (*TestUpdateOperation, error)
}
TestClient provides methods for managing Test resources of Yandex.Cloud Agent.
func NewTestClient ¶
func NewTestClient(connector transport.Connector) TestClient
NewTestClient returns TestClient implementation.
type TestUpdateOperation ¶
TestUpdateOperation is used to monitor the state of Update operations.
func (*TestUpdateOperation) Metadata ¶
func (o *TestUpdateOperation) Metadata() *agent.UpdateTestMetadata
Metadata retrieves the operation metadata.
func (*TestUpdateOperation) Response ¶
func (o *TestUpdateOperation) Response() *agent.Test
Response retrieves the operation response.
func (*TestUpdateOperation) Wait ¶
func (o *TestUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*agent.Test, error)
Wait polls the operation until it's done.
func (*TestUpdateOperation) WaitInterval ¶
func (o *TestUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*agent.Test, error)
WaitInterval polls the operation until it's done with custom interval.
type TrailClient ¶
type TrailClient interface {
Create(context.Context, *agent.CreateTrailRequest, ...grpc.CallOption) (*agent.CreateTrailResponse, error)
}
TrailClient provides methods for managing Trail resources of Yandex.Cloud Agent.
func NewTrailClient ¶
func NewTrailClient(connector transport.Connector) TrailClient
NewTrailClient returns TrailClient implementation.