agentsdk

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	AgentClaimStatus     = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentService.ClaimStatus")
	AgentReportEventLogs = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.AgentService.ReportEventLogs")
)
View Source
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")
)
View Source
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")
)
View Source
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")
)
View Source
var (
	GreeterSayHello = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.GreeterService.SayHello")
)
View Source
var (
	MonitoringAddMetric = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.MonitoringService.AddMetric")
)
View Source
var (
	TankClaimStatus = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TankService.ClaimStatus")
)
View Source
var (
	TrailCreate = protoreflect.FullName("yandex.cloud.loadtesting.agent.v1.TrailService.Create")
)

Functions

This section is empty.

Types

type AgentClient

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

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

type AgentRegistrationExternalAgentRegisterOperation struct {
	sdkop.Operation
}

AgentRegistrationExternalAgentRegisterOperation is used to monitor the state of ExternalAgentRegister operations.

func (*AgentRegistrationExternalAgentRegisterOperation) Metadata

Metadata retrieves the operation metadata.

func (*AgentRegistrationExternalAgentRegisterOperation) Response

Response retrieves the operation response.

func (*AgentRegistrationExternalAgentRegisterOperation) Wait

Wait polls the operation until it's done.

func (*AgentRegistrationExternalAgentRegisterOperation) WaitInterval

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

JobClient provides methods for managing Job resources of Yandex.Cloud Agent.

func NewJobClient

func NewJobClient(connector transport.Connector) JobClient

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

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

type TestUpdateOperation struct {
	sdkop.Operation
}

TestUpdateOperation is used to monitor the state of Update operations.

func (*TestUpdateOperation) Metadata

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.

Jump to

Keyboard shortcuts

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