Documentation
¶
Index ¶
- Variables
- type AgentSelector
- func (*AgentSelector) Descriptor() ([]byte, []int)deprecated
- func (m *AgentSelector) GetAgent() isAgentSelector_Agent
- func (x *AgentSelector) GetAgentId() string
- func (x *AgentSelector) GetAnonymousAgent() bool
- func (x *AgentSelector) GetMatchByFilter() string
- func (*AgentSelector) ProtoMessage()
- func (x *AgentSelector) ProtoReflect() protoreflect.Message
- func (x *AgentSelector) Reset()
- func (m *AgentSelector) SetAgent(v AgentSelector_Agent)
- func (m *AgentSelector) SetAgentId(v string)
- func (m *AgentSelector) SetAnonymousAgent(v bool)
- func (m *AgentSelector) SetMatchByFilter(v string)
- func (x *AgentSelector) String() string
- type AgentSelector_Agent
- type AgentSelector_AgentId
- type AgentSelector_AnonymousAgent
- type AgentSelector_MatchByFilter
- type ArtifactSettings
- func (*ArtifactSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactSettings) GetFilterExclude() []string
- func (x *ArtifactSettings) GetFilterInclude() []string
- func (x *ArtifactSettings) GetIsArchive() bool
- func (x *ArtifactSettings) GetObjectStorageBucket() string
- func (m *ArtifactSettings) GetUploadTo() isArtifactSettings_UploadTo
- func (*ArtifactSettings) ProtoMessage()
- func (x *ArtifactSettings) ProtoReflect() protoreflect.Message
- func (x *ArtifactSettings) Reset()
- func (m *ArtifactSettings) SetFilterExclude(v []string)
- func (m *ArtifactSettings) SetFilterInclude(v []string)
- func (m *ArtifactSettings) SetIsArchive(v bool)
- func (m *ArtifactSettings) SetObjectStorageBucket(v string)
- func (m *ArtifactSettings) SetUploadTo(v ArtifactSettings_UploadTo)
- func (x *ArtifactSettings) String() string
- type ArtifactSettings_ObjectStorageBucket
- type ArtifactSettings_UploadTo
- type Details
- func (*Details) Descriptor() ([]byte, []int)deprecated
- func (x *Details) GetArtifactSettings() *ArtifactSettings
- func (x *Details) GetDescription() string
- func (x *Details) GetLoggingLogGroupId() string
- func (x *Details) GetName() string
- func (x *Details) GetTags() []*common.Tag
- func (*Details) ProtoMessage()
- func (x *Details) ProtoReflect() protoreflect.Message
- func (x *Details) Reset()
- func (m *Details) SetArtifactSettings(v *ArtifactSettings)
- func (m *Details) SetDescription(v string)
- func (m *Details) SetLoggingLogGroupId(v string)
- func (m *Details) SetName(v string)
- func (m *Details) SetTags(v []*common.Tag)
- func (x *Details) String() string
- type FilePointer
- func (*FilePointer) Descriptor() ([]byte, []int)deprecated
- func (m *FilePointer) GetFilePointer() isFilePointer_FilePointer
- func (x *FilePointer) GetObjectStorage() *ObjectStorage
- func (*FilePointer) ProtoMessage()
- func (x *FilePointer) ProtoReflect() protoreflect.Message
- func (x *FilePointer) Reset()
- func (m *FilePointer) SetFilePointer(v FilePointer_FilePointer)
- func (m *FilePointer) SetObjectStorage(v *ObjectStorage)
- func (x *FilePointer) String() string
- type FilePointer_FilePointer
- type FilePointer_ObjectStorage
- type ImbalancePoint
- func (*ImbalancePoint) Descriptor() ([]byte, []int)deprecated
- func (x *ImbalancePoint) GetAt() *timestamppb.Timestamp
- func (x *ImbalancePoint) GetComment() string
- func (x *ImbalancePoint) GetRps() int64
- func (*ImbalancePoint) ProtoMessage()
- func (x *ImbalancePoint) ProtoReflect() protoreflect.Message
- func (x *ImbalancePoint) Reset()
- func (m *ImbalancePoint) SetAt(v *timestamppb.Timestamp)
- func (m *ImbalancePoint) SetComment(v string)
- func (m *ImbalancePoint) SetRps(v int64)
- func (x *ImbalancePoint) String() string
- type ObjectStorage
- func (*ObjectStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectStorage) GetBucket() string
- func (x *ObjectStorage) GetName() string
- func (*ObjectStorage) ProtoMessage()
- func (x *ObjectStorage) ProtoReflect() protoreflect.Message
- func (x *ObjectStorage) Reset()
- func (m *ObjectStorage) SetBucket(v string)
- func (m *ObjectStorage) SetName(v string)
- func (x *ObjectStorage) String() string
- type SingleAgentConfiguration
- func (*SingleAgentConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *SingleAgentConfiguration) GetAgentSelector() *AgentSelector
- func (x *SingleAgentConfiguration) GetConfigId() string
- func (x *SingleAgentConfiguration) GetFiles() map[string]*FilePointer
- func (*SingleAgentConfiguration) ProtoMessage()
- func (x *SingleAgentConfiguration) ProtoReflect() protoreflect.Message
- func (x *SingleAgentConfiguration) Reset()
- func (m *SingleAgentConfiguration) SetAgentSelector(v *AgentSelector)
- func (m *SingleAgentConfiguration) SetConfigId(v string)
- func (m *SingleAgentConfiguration) SetFiles(v map[string]*FilePointer)
- func (x *SingleAgentConfiguration) String() string
- type Status
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)deprecated
- func (x *Summary) GetArtifacts() *FilePointer
- func (x *Summary) GetAssignedAgentId() string
- func (x *Summary) GetCreatedAt() *timestamppb.Timestamp
- func (x *Summary) GetCreatedBy() string
- func (x *Summary) GetError() string
- func (x *Summary) GetFinishedAt() *timestamppb.Timestamp
- func (x *Summary) GetImbalancePoint() *ImbalancePoint
- func (x *Summary) GetIsFinished() bool
- func (x *Summary) GetStartedAt() *timestamppb.Timestamp
- func (x *Summary) GetStatus() Status
- func (*Summary) ProtoMessage()
- func (x *Summary) ProtoReflect() protoreflect.Message
- func (x *Summary) Reset()
- func (m *Summary) SetArtifacts(v *FilePointer)
- func (m *Summary) SetAssignedAgentId(v string)
- func (m *Summary) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Summary) SetCreatedBy(v string)
- func (m *Summary) SetError(v string)
- func (m *Summary) SetFinishedAt(v *timestamppb.Timestamp)
- func (m *Summary) SetImbalancePoint(v *ImbalancePoint)
- func (m *Summary) SetIsFinished(v bool)
- func (m *Summary) SetStartedAt(v *timestamppb.Timestamp)
- func (m *Summary) SetStatus(v Status)
- func (x *Summary) String() string
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetConfigurations() []*SingleAgentConfiguration
- func (x *Test) GetDetails() *Details
- func (x *Test) GetFolderId() string
- func (x *Test) GetId() string
- func (x *Test) GetSummary() *Summary
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (m *Test) SetConfigurations(v []*SingleAgentConfiguration)
- func (m *Test) SetDetails(v *Details)
- func (m *Test) SetFolderId(v string)
- func (m *Test) SetId(v string)
- func (m *Test) SetSummary(v *Summary)
- func (x *Test) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATED", 2: "INITIATED", 3: "PREPARING", 4: "RUNNING", 5: "FINISHING", 6: "DONE", 7: "POST_PROCESSING", 8: "FAILED", 9: "STOPPING", 10: "STOPPED", 11: "AUTOSTOPPED", 12: "WAITING", 13: "DELETING", 14: "LOST", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATED": 1, "INITIATED": 2, "PREPARING": 3, "RUNNING": 4, "FINISHING": 5, "DONE": 6, "POST_PROCESSING": 7, "FAILED": 8, "STOPPING": 9, "STOPPED": 10, "AUTOSTOPPED": 11, "WAITING": 12, "DELETING": 13, "LOST": 14, } )
Enum value maps for Status.
var File_yandex_cloud_loadtesting_api_v1_test_agent_selector_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_artifact_settings_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_details_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_file_pointer_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_imbalance_point_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_object_storage_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_single_agent_configuration_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_status_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_summary_proto protoreflect.FileDescriptor
var File_yandex_cloud_loadtesting_api_v1_test_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AgentSelector ¶
type AgentSelector struct { // Types that are assignable to Agent: // // *AgentSelector_AgentId // *AgentSelector_MatchByFilter // *AgentSelector_AnonymousAgent Agent isAgentSelector_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
Agent selection criterion.
The structure is used by service to determine on which agents a specific test should be executed.
func (*AgentSelector) Descriptor
deprecated
func (*AgentSelector) Descriptor() ([]byte, []int)
Deprecated: Use AgentSelector.ProtoReflect.Descriptor instead.
func (*AgentSelector) GetAgent ¶
func (m *AgentSelector) GetAgent() isAgentSelector_Agent
func (*AgentSelector) GetAgentId ¶
func (x *AgentSelector) GetAgentId() string
func (*AgentSelector) GetAnonymousAgent ¶
func (x *AgentSelector) GetAnonymousAgent() bool
func (*AgentSelector) GetMatchByFilter ¶
func (x *AgentSelector) GetMatchByFilter() string
func (*AgentSelector) ProtoMessage ¶
func (*AgentSelector) ProtoMessage()
func (*AgentSelector) ProtoReflect ¶
func (x *AgentSelector) ProtoReflect() protoreflect.Message
func (*AgentSelector) Reset ¶
func (x *AgentSelector) Reset()
func (*AgentSelector) SetAgent ¶
func (m *AgentSelector) SetAgent(v AgentSelector_Agent)
func (*AgentSelector) SetAgentId ¶
func (m *AgentSelector) SetAgentId(v string)
func (*AgentSelector) SetAnonymousAgent ¶
func (m *AgentSelector) SetAnonymousAgent(v bool)
func (*AgentSelector) SetMatchByFilter ¶
func (m *AgentSelector) SetMatchByFilter(v string)
func (*AgentSelector) String ¶
func (x *AgentSelector) String() string
type AgentSelector_Agent ¶
type AgentSelector_Agent = isAgentSelector_Agent
type AgentSelector_AgentId ¶
type AgentSelector_AgentId struct { // Selection by agent ID. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3,oneof"` }
type AgentSelector_AnonymousAgent ¶
type AgentSelector_AnonymousAgent struct { // Select anonymoud (i.e. not registered) agents. AnonymousAgent bool `protobuf:"varint,3,opt,name=anonymous_agent,json=anonymousAgent,proto3,oneof"` }
type AgentSelector_MatchByFilter ¶
type AgentSelector_MatchByFilter struct { // Selection by filter string. MatchByFilter string `protobuf:"bytes,2,opt,name=match_by_filter,json=matchByFilter,proto3,oneof"` }
type ArtifactSettings ¶
type ArtifactSettings struct { // Types that are assignable to UploadTo: // // *ArtifactSettings_ObjectStorageBucket UploadTo isArtifactSettings_UploadTo `protobuf_oneof:"upload_to"` // Setting which defines whether artifact files should be archived prior to uploading. IsArchive bool `protobuf:"varint,6,opt,name=is_archive,json=isArchive,proto3" json:"is_archive,omitempty"` // Filter strings defining which files should be included to artifacts. GLOB format. // // Example: // - ['*'] - all files will be uploaded. // - ['*.log', '*.yaml] - all `.log` and `.yaml` files will be uploaded. FilterInclude []string `protobuf:"bytes,7,rep,name=filter_include,json=filterInclude,proto3" json:"filter_include,omitempty"` // Filter strings defining which files should be excluded from artifacts. GLOB format. // // Example: // - filter_include=['*'], filter_exclude=['phout.log'] - upload all `.log` files excluding `phout.log`. FilterExclude []string `protobuf:"bytes,8,rep,name=filter_exclude,json=filterExclude,proto3" json:"filter_exclude,omitempty"` // contains filtered or unexported fields }
Artifact upload settings.
Defines where to upload test artifacts and which files should be included.
func (*ArtifactSettings) Descriptor
deprecated
func (*ArtifactSettings) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactSettings.ProtoReflect.Descriptor instead.
func (*ArtifactSettings) GetFilterExclude ¶
func (x *ArtifactSettings) GetFilterExclude() []string
func (*ArtifactSettings) GetFilterInclude ¶
func (x *ArtifactSettings) GetFilterInclude() []string
func (*ArtifactSettings) GetIsArchive ¶
func (x *ArtifactSettings) GetIsArchive() bool
func (*ArtifactSettings) GetObjectStorageBucket ¶
func (x *ArtifactSettings) GetObjectStorageBucket() string
func (*ArtifactSettings) GetUploadTo ¶
func (m *ArtifactSettings) GetUploadTo() isArtifactSettings_UploadTo
func (*ArtifactSettings) ProtoMessage ¶
func (*ArtifactSettings) ProtoMessage()
func (*ArtifactSettings) ProtoReflect ¶
func (x *ArtifactSettings) ProtoReflect() protoreflect.Message
func (*ArtifactSettings) Reset ¶
func (x *ArtifactSettings) Reset()
func (*ArtifactSettings) SetFilterExclude ¶
func (m *ArtifactSettings) SetFilterExclude(v []string)
func (*ArtifactSettings) SetFilterInclude ¶
func (m *ArtifactSettings) SetFilterInclude(v []string)
func (*ArtifactSettings) SetIsArchive ¶
func (m *ArtifactSettings) SetIsArchive(v bool)
func (*ArtifactSettings) SetObjectStorageBucket ¶
func (m *ArtifactSettings) SetObjectStorageBucket(v string)
func (*ArtifactSettings) SetUploadTo ¶
func (m *ArtifactSettings) SetUploadTo(v ArtifactSettings_UploadTo)
func (*ArtifactSettings) String ¶
func (x *ArtifactSettings) String() string
type ArtifactSettings_ObjectStorageBucket ¶
type ArtifactSettings_ObjectStorageBucket struct { // Name of output object storage bucket in test's folder. ObjectStorageBucket string `protobuf:"bytes,1,opt,name=object_storage_bucket,json=objectStorageBucket,proto3,oneof"` }
type ArtifactSettings_UploadTo ¶
type ArtifactSettings_UploadTo = isArtifactSettings_UploadTo
type Details ¶
type Details struct { // Name of the test. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description of the test. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Tags assigned to the test. Tags []*common.Tag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // ID of the logging group to which test artifacts are uploaded. LoggingLogGroupId string `protobuf:"bytes,4,opt,name=logging_log_group_id,json=loggingLogGroupId,proto3" json:"logging_log_group_id,omitempty"` // Settings which define where to upload test artifacts and which files should be included. ArtifactSettings *ArtifactSettings `protobuf:"bytes,5,opt,name=artifact_settings,json=artifactSettings,proto3" json:"artifact_settings,omitempty"` // contains filtered or unexported fields }
Test meta information.
func (*Details) Descriptor
deprecated
func (*Details) GetArtifactSettings ¶
func (x *Details) GetArtifactSettings() *ArtifactSettings
func (*Details) GetDescription ¶
func (*Details) GetLoggingLogGroupId ¶
func (*Details) ProtoMessage ¶
func (*Details) ProtoMessage()
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
func (*Details) SetArtifactSettings ¶
func (m *Details) SetArtifactSettings(v *ArtifactSettings)
func (*Details) SetDescription ¶
func (*Details) SetLoggingLogGroupId ¶
type FilePointer ¶
type FilePointer struct { // Types that are assignable to FilePointer: // // *FilePointer_ObjectStorage FilePointer isFilePointer_FilePointer `protobuf_oneof:"file_pointer"` // contains filtered or unexported fields }
Variant-like structure for referencing files in different sources.
func (*FilePointer) Descriptor
deprecated
func (*FilePointer) Descriptor() ([]byte, []int)
Deprecated: Use FilePointer.ProtoReflect.Descriptor instead.
func (*FilePointer) GetFilePointer ¶
func (m *FilePointer) GetFilePointer() isFilePointer_FilePointer
func (*FilePointer) GetObjectStorage ¶
func (x *FilePointer) GetObjectStorage() *ObjectStorage
func (*FilePointer) ProtoMessage ¶
func (*FilePointer) ProtoMessage()
func (*FilePointer) ProtoReflect ¶
func (x *FilePointer) ProtoReflect() protoreflect.Message
func (*FilePointer) Reset ¶
func (x *FilePointer) Reset()
func (*FilePointer) SetFilePointer ¶
func (m *FilePointer) SetFilePointer(v FilePointer_FilePointer)
func (*FilePointer) SetObjectStorage ¶
func (m *FilePointer) SetObjectStorage(v *ObjectStorage)
func (*FilePointer) String ¶
func (x *FilePointer) String() string
type FilePointer_FilePointer ¶
type FilePointer_FilePointer = isFilePointer_FilePointer
type FilePointer_ObjectStorage ¶
type FilePointer_ObjectStorage struct { // Reference to a file in Object Storage. ObjectStorage *ObjectStorage `protobuf:"bytes,1,opt,name=object_storage,json=objectStorage,proto3,oneof"` }
type ImbalancePoint ¶
type ImbalancePoint struct { // Imbalance moment timestamp. At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"` // Imbalance moment RPS. Rps int64 `protobuf:"varint,2,opt,name=rps,proto3" json:"rps,omitempty"` // Imbalance reason comment. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
Test imbalance point.
func (*ImbalancePoint) Descriptor
deprecated
func (*ImbalancePoint) Descriptor() ([]byte, []int)
Deprecated: Use ImbalancePoint.ProtoReflect.Descriptor instead.
func (*ImbalancePoint) GetAt ¶
func (x *ImbalancePoint) GetAt() *timestamppb.Timestamp
func (*ImbalancePoint) GetComment ¶
func (x *ImbalancePoint) GetComment() string
func (*ImbalancePoint) GetRps ¶
func (x *ImbalancePoint) GetRps() int64
func (*ImbalancePoint) ProtoMessage ¶
func (*ImbalancePoint) ProtoMessage()
func (*ImbalancePoint) ProtoReflect ¶
func (x *ImbalancePoint) ProtoReflect() protoreflect.Message
func (*ImbalancePoint) Reset ¶
func (x *ImbalancePoint) Reset()
func (*ImbalancePoint) SetAt ¶
func (m *ImbalancePoint) SetAt(v *timestamppb.Timestamp)
func (*ImbalancePoint) SetComment ¶
func (m *ImbalancePoint) SetComment(v string)
func (*ImbalancePoint) SetRps ¶
func (m *ImbalancePoint) SetRps(v int64)
func (*ImbalancePoint) String ¶
func (x *ImbalancePoint) String() string
type ObjectStorage ¶
type ObjectStorage struct { // Bucket name. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // File name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Reference to a file stored in Object Storage.
func (*ObjectStorage) Descriptor
deprecated
func (*ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use ObjectStorage.ProtoReflect.Descriptor instead.
func (*ObjectStorage) GetBucket ¶
func (x *ObjectStorage) GetBucket() string
func (*ObjectStorage) GetName ¶
func (x *ObjectStorage) GetName() string
func (*ObjectStorage) ProtoMessage ¶
func (*ObjectStorage) ProtoMessage()
func (*ObjectStorage) ProtoReflect ¶
func (x *ObjectStorage) ProtoReflect() protoreflect.Message
func (*ObjectStorage) Reset ¶
func (x *ObjectStorage) Reset()
func (*ObjectStorage) SetBucket ¶
func (m *ObjectStorage) SetBucket(v string)
func (*ObjectStorage) SetName ¶
func (m *ObjectStorage) SetName(v string)
func (*ObjectStorage) String ¶
func (x *ObjectStorage) String() string
type SingleAgentConfiguration ¶
type SingleAgentConfiguration struct { // ID of the config. ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` // Agent selection criterion. AgentSelector *AgentSelector `protobuf:"bytes,2,opt,name=agent_selector,json=agentSelector,proto3" json:"agent_selector,omitempty"` // Additional files to be used during test execution, represented as `rel_path:file` pairs. // // `rel_path` can be either a simple file name, a relative path, or absolute path. Files are // downloaded by the agent to appropriate location. // // Use cases include: // - [Test Data files](/docs/load-testing/concepts/payload). // - Custom Pandora executable. // - JMeter executable or ".jmx" scenario. // - etc. Files map[string]*FilePointer `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration of a test.
func (*SingleAgentConfiguration) Descriptor
deprecated
func (*SingleAgentConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use SingleAgentConfiguration.ProtoReflect.Descriptor instead.
func (*SingleAgentConfiguration) GetAgentSelector ¶
func (x *SingleAgentConfiguration) GetAgentSelector() *AgentSelector
func (*SingleAgentConfiguration) GetConfigId ¶
func (x *SingleAgentConfiguration) GetConfigId() string
func (*SingleAgentConfiguration) GetFiles ¶
func (x *SingleAgentConfiguration) GetFiles() map[string]*FilePointer
func (*SingleAgentConfiguration) ProtoMessage ¶
func (*SingleAgentConfiguration) ProtoMessage()
func (*SingleAgentConfiguration) ProtoReflect ¶
func (x *SingleAgentConfiguration) ProtoReflect() protoreflect.Message
func (*SingleAgentConfiguration) Reset ¶
func (x *SingleAgentConfiguration) Reset()
func (*SingleAgentConfiguration) SetAgentSelector ¶
func (m *SingleAgentConfiguration) SetAgentSelector(v *AgentSelector)
func (*SingleAgentConfiguration) SetConfigId ¶
func (m *SingleAgentConfiguration) SetConfigId(v string)
func (*SingleAgentConfiguration) SetFiles ¶
func (m *SingleAgentConfiguration) SetFiles(v map[string]*FilePointer)
func (*SingleAgentConfiguration) String ¶
func (x *SingleAgentConfiguration) String() string
type Status ¶
type Status int32
const ( // Status is unspecified. Status_STATUS_UNSPECIFIED Status = 0 // Test has been created, but not started by any agent. Status_CREATED Status = 1 // Execution stage: initialization. Status_INITIATED Status = 2 // Execution stage: data preparation and warm-up. Status_PREPARING Status = 3 // Execution stage: load generation. Status_RUNNING Status = 4 // Execution stage: termination. Status_FINISHING Status = 5 // Test is done. Status_DONE Status = 6 // Execution stage: results post-processing. Status_POST_PROCESSING Status = 7 // Test has failed due to some error. Status_FAILED Status = 8 // Test is being stopped. Status_STOPPING Status = 9 // Test has been stopped. Status_STOPPED Status = 10 // Test has been stopped automatically by satisfying autostop condition. Status_AUTOSTOPPED Status = 11 // Execution stage: waiting for a trigger to start. Status_WAITING Status = 12 // Test is being deleted. Status_DELETING Status = 13 // Test status has not been reported in a while during execution stage. // // Means that either an agent is too busy to send it, got offline, or failed without // reporting a final status. Status_LOST Status = 14 )
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Summary ¶
type Summary struct { // Status of the test. Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.loadtesting.api.v1.test.Status" json:"status,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // UA or SA that created the test. CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // Test start timestamp. // // Empty if the test has not been started yet. StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // Test finish timestamp. // // Empty if the test has not been finished yet. FinishedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // Indicates whether the test is finished. IsFinished bool `protobuf:"varint,6,opt,name=is_finished,json=isFinished,proto3" json:"is_finished,omitempty"` // Error message. Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` // Detected imbalance point. // // Contains information about a state at the moment it has been // [auto-stopped](/docs/load-testing/concepts/auto-stop). // // Empty if no auto-stop occured. ImbalancePoint *ImbalancePoint `protobuf:"bytes,8,opt,name=imbalance_point,json=imbalancePoint,proto3" json:"imbalance_point,omitempty"` // ID of the agent that executed the test. AssignedAgentId string `protobuf:"bytes,9,opt,name=assigned_agent_id,json=assignedAgentId,proto3" json:"assigned_agent_id,omitempty"` // Test output artifacts. // // Link to the artifacts output target containing `.log` and other files collected // during test execution. Artifacts *FilePointer `protobuf:"bytes,10,opt,name=artifacts,proto3" json:"artifacts,omitempty"` // contains filtered or unexported fields }
Process of test and some results
func (*Summary) Descriptor
deprecated
func (*Summary) GetArtifacts ¶
func (x *Summary) GetArtifacts() *FilePointer
func (*Summary) GetAssignedAgentId ¶
func (*Summary) GetCreatedAt ¶
func (x *Summary) GetCreatedAt() *timestamppb.Timestamp
func (*Summary) GetCreatedBy ¶
func (*Summary) GetFinishedAt ¶
func (x *Summary) GetFinishedAt() *timestamppb.Timestamp
func (*Summary) GetImbalancePoint ¶
func (x *Summary) GetImbalancePoint() *ImbalancePoint
func (*Summary) GetIsFinished ¶
func (*Summary) GetStartedAt ¶
func (x *Summary) GetStartedAt() *timestamppb.Timestamp
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) ProtoReflect ¶
func (x *Summary) ProtoReflect() protoreflect.Message
func (*Summary) SetArtifacts ¶
func (m *Summary) SetArtifacts(v *FilePointer)
func (*Summary) SetAssignedAgentId ¶
func (*Summary) SetCreatedAt ¶
func (m *Summary) SetCreatedAt(v *timestamppb.Timestamp)
func (*Summary) SetCreatedBy ¶
func (*Summary) SetFinishedAt ¶
func (m *Summary) SetFinishedAt(v *timestamppb.Timestamp)
func (*Summary) SetImbalancePoint ¶
func (m *Summary) SetImbalancePoint(v *ImbalancePoint)
func (*Summary) SetIsFinished ¶
func (*Summary) SetStartedAt ¶
func (m *Summary) SetStartedAt(v *timestamppb.Timestamp)
type Test ¶
type Test struct { // ID of the test. Generated at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Configuration of the test. // // A test can have multiple configurations if it can be // executed on multiple agents simultaneously. For more information, see // [Load testing using multiple agents](/docs/load-testing/tutorials/loadtesting-multiply). Configurations []*SingleAgentConfiguration `protobuf:"bytes,2,rep,name=configurations,proto3" json:"configurations,omitempty"` // Test meta information. Name, description, etc. Details *Details `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // Test execution information. Summary *Summary `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"` // ID of the folder that the test belongs to. FolderId string `protobuf:"bytes,5,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
Load Test.
In context of the service, Test represents a single testing task/job.
func (*Test) Descriptor
deprecated
func (*Test) GetConfigurations ¶
func (x *Test) GetConfigurations() []*SingleAgentConfiguration
func (*Test) GetDetails ¶
func (*Test) GetFolderId ¶
func (*Test) GetSummary ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
func (*Test) SetConfigurations ¶
func (m *Test) SetConfigurations(v []*SingleAgentConfiguration)
func (*Test) SetDetails ¶
func (*Test) SetFolderId ¶
func (*Test) SetSummary ¶
Source Files
¶
- agent_selector.pb.go
- agent_selector.pbext.go
- artifact_settings.pb.go
- artifact_settings.pbext.go
- details.pb.go
- details.pbext.go
- file_pointer.pb.go
- file_pointer.pbext.go
- imbalance_point.pb.go
- imbalance_point.pbext.go
- object_storage.pb.go
- object_storage.pbext.go
- single_agent_configuration.pb.go
- single_agent_configuration.pbext.go
- status.pb.go
- summary.pb.go
- summary.pbext.go
- test.pb.go
- test.pbext.go