mcpserver

package
v0.0.0-...-954558f Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: Apache-2.0 Imports: 82 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArangoDBLoadTestInput

type ArangoDBLoadTestInput struct {
	Endpoints []string `json:"endpoints" jsonschema:"required,description=ArangoDB endpoints"`
	Database  string   `json:"database" jsonschema:"required,description=Database name"`
	Count     int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

ArangoDBLoadTestInput defines input parameters for ArangoDB load testing

type ArangoDBLoadTestOutput

type ArangoDBLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ArangoDBLoadTestOutput defines the output of ArangoDB load testing

type CassandraLoadTestInput

type CassandraLoadTestInput struct {
	Hosts    []string `json:"hosts" jsonschema:"required,description=Cassandra host addresses"`
	Keyspace string   `json:"keyspace" jsonschema:"required,description=Keyspace name"`
	Count    int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

CassandraLoadTestInput defines input parameters for Cassandra load testing

type CassandraLoadTestOutput

type CassandraLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

CassandraLoadTestOutput defines the output of Cassandra load testing

type ClickHouseLoadTestInput

type ClickHouseLoadTestInput struct {
	DSN       string `json:"dsn" jsonschema:"required,description=ClickHouse DSN connection string"`
	Database  string `json:"database" jsonschema:"required,description=Database name"`
	Table     string `json:"table" jsonschema:"description=Table name"`
	Operation string `json:"operation" jsonschema:"description=Operation type (insert, select, batch_insert, count, optimize, create_table)"`
	Query     string `json:"query" jsonschema:"description=Custom SQL query to execute"`
	Count     int    `json:"count" jsonschema:"description=Number of operations to perform"`
}

ClickHouseLoadTestInput defines input parameters for ClickHouse load testing

type ClickHouseLoadTestOutput

type ClickHouseLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ClickHouseLoadTestOutput defines the output of ClickHouse load testing

type CouchDBLoadTestInput

type CouchDBLoadTestInput struct {
	URL      string `json:"url" jsonschema:"required,description=CouchDB URL"`
	Database string `json:"database" jsonschema:"required,description=Database name"`
	Count    int    `json:"count" jsonschema:"description=Number of operations to perform"`
}

CouchDBLoadTestInput defines input parameters for CouchDB load testing

type CouchDBLoadTestOutput

type CouchDBLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

CouchDBLoadTestOutput defines the output of CouchDB load testing

type DHCP4LoadTestInput

type DHCP4LoadTestInput struct {
	Server string `json:"server" jsonschema:"required,description=DHCP server address"`
	Count  int    `json:"count" jsonschema:"description=Number of DHCP requests"`
}

DHCP4LoadTestInput defines input parameters for DHCP4 load testing

type DHCP4LoadTestOutput

type DHCP4LoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

DHCP4LoadTestOutput defines the output of DHCP4 load testing

type DNSLoadTestInput

type DNSLoadTestInput struct {
	Server string `json:"server" jsonschema:"required,description=DNS server address"`
	Domain string `json:"domain" jsonschema:"required,description=Domain to query"`
	Count  int    `json:"count" jsonschema:"description=Number of DNS queries"`
}

DNSLoadTestInput defines input parameters for DNS load testing

type DNSLoadTestOutput

type DNSLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

DNSLoadTestOutput defines the output of DNS load testing

type ETCDLoadTestInput

type ETCDLoadTestInput struct {
	Endpoints []string `json:"endpoints" jsonschema:"required,description=ETCD endpoints"`
	Count     int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

ETCDLoadTestInput defines input parameters for ETCD load testing

type ETCDLoadTestOutput

type ETCDLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ETCDLoadTestOutput defines the output of ETCD load testing

type ElasticsearchLoadTestInput

type ElasticsearchLoadTestInput struct {
	Addresses []string `json:"addresses" jsonschema:"required,description=Elasticsearch node addresses"`
	Index     string   `json:"index" jsonschema:"required,description=Index name"`
	Count     int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

ElasticsearchLoadTestInput defines input parameters for Elasticsearch load testing

type ElasticsearchLoadTestOutput

type ElasticsearchLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ElasticsearchLoadTestOutput defines the output of Elasticsearch load testing

type FTPLoadTestInput

type FTPLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=FTP server host"`
	Port  int    `json:"port" jsonschema:"description=FTP server port"`
	Count int    `json:"count" jsonschema:"description=Number of operations to perform"`
}

FTPLoadTestInput defines input parameters for FTP load testing

type FTPLoadTestOutput

type FTPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

FTPLoadTestOutput defines the output of FTP load testing

type GRPCLoadTestInput

type GRPCLoadTestInput struct {
	Target string `json:"target" jsonschema:"required,description=gRPC server target (host:port)"`
	Method string `json:"method" jsonschema:"description=gRPC method to call"`
	Count  int    `json:"count" jsonschema:"description=Number of requests to make"`
	TLS    bool   `json:"tls" jsonschema:"description=Use TLS connection"`
}

GRPCLoadTestInput defines input parameters for gRPC load testing

type GRPCLoadTestOutput

type GRPCLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

GRPCLoadTestOutput defines the output of gRPC load testing

type GraphQLLoadTestInput

type GraphQLLoadTestInput struct {
	URL   string `json:"url" jsonschema:"required,description=GraphQL endpoint URL"`
	Query string `json:"query" jsonschema:"required,description=GraphQL query"`
	Count int    `json:"count" jsonschema:"description=Number of queries to execute"`
}

GraphQLLoadTestInput defines input parameters for GraphQL load testing

type GraphQLLoadTestOutput

type GraphQLLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

GraphQLLoadTestOutput defines the output of GraphQL load testing

type HTTPLoadTestInput

type HTTPLoadTestInput struct {
	URL          string            `json:"url" jsonschema:"required,description=Target URL to test"`
	Method       string            `json:"method" jsonschema:"description=HTTP method (GET, POST, PUT, DELETE, etc.)"`
	Count        int               `json:"count" jsonschema:"description=Number of requests to make"`
	Concurrent   int               `json:"concurrent" jsonschema:"description=Number of concurrent requests"`
	MaxConns     int               `json:"max_conns" jsonschema:"description=Maximum number of connections"`
	MaxIdleConns int               `json:"max_idle_conns" jsonschema:"description=Maximum number of idle connections"`
	Headers      map[string]string `json:"headers" jsonschema:"description=HTTP headers to include"`
	Body         string            `json:"body" jsonschema:"description=Request body"`
	Timeout      int               `json:"timeout_seconds" jsonschema:"description=Timeout in seconds"`
}

HTTPLoadTestInput defines input parameters for HTTP load testing

type HTTPLoadTestOutput

type HTTPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

HTTPLoadTestOutput defines the output of HTTP load testing

type ICMPLoadTestInput

type ICMPLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=Host to ping"`
	Count int    `json:"count" jsonschema:"description=Number of ping requests"`
}

ICMPLoadTestInput defines input parameters for ICMP/Ping load testing

type ICMPLoadTestOutput

type ICMPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ICMPLoadTestOutput defines the output of ICMP load testing

type InfluxDBLoadTestInput

type InfluxDBLoadTestInput struct {
	URL    string `json:"url" jsonschema:"required,description=InfluxDB URL"`
	Bucket string `json:"bucket" jsonschema:"required,description=Bucket name"`
	Count  int    `json:"count" jsonschema:"description=Number of operations to perform"`
}

InfluxDBLoadTestInput defines input parameters for InfluxDB load testing

type InfluxDBLoadTestOutput

type InfluxDBLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

InfluxDBLoadTestOutput defines the output of InfluxDB load testing

type KafkaLoadTestInput

type KafkaLoadTestInput struct {
	Brokers []string `json:"brokers" jsonschema:"required,description=Kafka broker addresses"`
	Topic   string   `json:"topic" jsonschema:"required,description=Topic name"`
	Count   int      `json:"count" jsonschema:"description=Number of messages to produce/consume"`
}

KafkaLoadTestInput defines input parameters for Kafka load testing

type KafkaLoadTestOutput

type KafkaLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

KafkaLoadTestOutput defines the output of Kafka load testing

type LDAPLoadTestInput

type LDAPLoadTestInput struct {
	Server string `json:"server" jsonschema:"required,description=LDAP server address"`
	BaseDN string `json:"base_dn" jsonschema:"required,description=Base DN for searches"`
	Count  int    `json:"count" jsonschema:"description=Number of LDAP operations"`
}

LDAPLoadTestInput defines input parameters for LDAP load testing

type LDAPLoadTestOutput

type LDAPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

LDAPLoadTestOutput defines the output of LDAP load testing

type MQTTLoadTestInput

type MQTTLoadTestInput struct {
	Broker string `json:"broker" jsonschema:"required,description=MQTT broker address"`
	Topic  string `json:"topic" jsonschema:"required,description=Topic name"`
	Count  int    `json:"count" jsonschema:"description=Number of messages to publish"`
}

MQTTLoadTestInput defines input parameters for MQTT load testing

type MQTTLoadTestOutput

type MQTTLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

MQTTLoadTestOutput defines the output of MQTT load testing

type MemcacheLoadTestInput

type MemcacheLoadTestInput struct {
	Servers []string `json:"servers" jsonschema:"required,description=Memcache server addresses"`
	Count   int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

MemcacheLoadTestInput defines input parameters for Memcache load testing

type MemcacheLoadTestOutput

type MemcacheLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

MemcacheLoadTestOutput defines the output of Memcache load testing

type MongoDBLoadTestInput

type MongoDBLoadTestInput struct {
	URI        string `json:"uri" jsonschema:"required,description=MongoDB connection URI"`
	Database   string `json:"database" jsonschema:"required,description=Database name"`
	Collection string `json:"collection" jsonschema:"required,description=Collection name"`
	Operation  string `json:"operation" jsonschema:"description=Operation type (find, insert, update, delete, aggregate)"`
	Count      int    `json:"count" jsonschema:"description=Number of operations to perform"`
}

MongoDBLoadTestInput defines input parameters for MongoDB load testing

type MongoDBLoadTestOutput

type MongoDBLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

MongoDBLoadTestOutput defines the output of MongoDB load testing

type NATSLoadTestInput

type NATSLoadTestInput struct {
	URL     string `json:"url" jsonschema:"required,description=NATS server URL"`
	Subject string `json:"subject" jsonschema:"required,description=Subject name"`
	Count   int    `json:"count" jsonschema:"description=Number of messages to publish"`
}

NATSLoadTestInput defines input parameters for NATS load testing

type NATSLoadTestOutput

type NATSLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

NATSLoadTestOutput defines the output of NATS load testing

type NTPLoadTestInput

type NTPLoadTestInput struct {
	Server string `json:"server" jsonschema:"required,description=NTP server address"`
	Count  int    `json:"count" jsonschema:"description=Number of NTP requests"`
}

NTPLoadTestInput defines input parameters for NTP load testing

type NTPLoadTestOutput

type NTPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

NTPLoadTestOutput defines the output of NTP load testing

type Neo4jLoadTestInput

type Neo4jLoadTestInput struct {
	URI   string `json:"uri" jsonschema:"required,description=Neo4j connection URI"`
	Query string `json:"query" jsonschema:"description=Cypher query to execute"`
	Count int    `json:"count" jsonschema:"description=Number of queries to execute"`
}

Neo4jLoadTestInput defines input parameters for Neo4j load testing

type Neo4jLoadTestOutput

type Neo4jLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

Neo4jLoadTestOutput defines the output of Neo4j load testing

type PostgresLoadTestInput

type PostgresLoadTestInput struct {
	DSN       string `json:"dsn" jsonschema:"required,description=PostgreSQL DSN connection string"`
	Query     string `json:"query" jsonschema:"description=SQL query to execute"`
	Count     int    `json:"count" jsonschema:"description=Number of queries to execute"`
	MaxConns  int    `json:"max_conns" jsonschema:"description=Maximum number of connections"`
	MaxIdle   int    `json:"max_idle" jsonschema:"description=Maximum number of idle connections"`
	Operation string `json:"operation" jsonschema:"description=Operation type (select, insert, update, delete)"`
	Table     string `json:"table" jsonschema:"description=Table name for operations"`
}

PostgresLoadTestInput defines input parameters for PostgreSQL load testing

type PostgresLoadTestOutput

type PostgresLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

PostgresLoadTestOutput defines the output of PostgreSQL load testing

type PulsarLoadTestInput

type PulsarLoadTestInput struct {
	URL   string `json:"url" jsonschema:"required,description=Pulsar service URL"`
	Topic string `json:"topic" jsonschema:"required,description=Topic name"`
	Count int    `json:"count" jsonschema:"description=Number of messages to produce"`
}

PulsarLoadTestInput defines input parameters for Pulsar load testing

type PulsarLoadTestOutput

type PulsarLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

PulsarLoadTestOutput defines the output of Pulsar load testing

type RabbitMQLoadTestInput

type RabbitMQLoadTestInput struct {
	URL   string `json:"url" jsonschema:"required,description=RabbitMQ connection URL"`
	Queue string `json:"queue" jsonschema:"required,description=Queue name"`
	Count int    `json:"count" jsonschema:"description=Number of messages to publish"`
}

RabbitMQLoadTestInput defines input parameters for RabbitMQ load testing

type RabbitMQLoadTestOutput

type RabbitMQLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

RabbitMQLoadTestOutput defines the output of RabbitMQ load testing

type RedisLoadTestInput

type RedisLoadTestInput struct {
	Addr     string   `json:"addr" jsonschema:"required,description=Redis server address (host:port)"`
	DB       int      `json:"db" jsonschema:"description=Redis database number"`
	Password string   `json:"password" jsonschema:"description=Redis password"`
	Count    int      `json:"count" jsonschema:"description=Number of operations to perform"`
	Keys     []string `json:"keys" jsonschema:"description=Keys to operate on"`
}

RedisLoadTestInput defines input parameters for Redis load testing

type RedisLoadTestOutput

type RedisLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

RedisLoadTestOutput defines the output of Redis load testing

type RunLoadPlanInput

type RunLoadPlanInput struct {
	YAMLConfig string `json:"yaml_config" jsonschema:"required,description=YAML configuration for the load test plan"`
}

RunLoadPlanInput defines input parameters for running a YAML load plan

type RunLoadPlanOutput

type RunLoadPlanOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

RunLoadPlanOutput defines the output of running a load plan

type SNMPLoadTestInput

type SNMPLoadTestInput struct {
	Target string `json:"target" jsonschema:"required,description=SNMP target address"`
	OID    string `json:"oid" jsonschema:"required,description=SNMP OID to query"`
	Count  int    `json:"count" jsonschema:"description=Number of SNMP requests"`
}

SNMPLoadTestInput defines input parameters for SNMP load testing

type SNMPLoadTestOutput

type SNMPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

SNMPLoadTestOutput defines the output of SNMP load testing

type SSHLoadTestInput

type SSHLoadTestInput struct {
	Host    string `json:"host" jsonschema:"required,description=SSH server host"`
	Port    int    `json:"port" jsonschema:"description=SSH server port"`
	Command string `json:"command" jsonschema:"description=Command to execute"`
	Count   int    `json:"count" jsonschema:"description=Number of SSH connections/commands"`
}

SSHLoadTestInput defines input parameters for SSH load testing

type SSHLoadTestOutput

type SSHLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

SSHLoadTestOutput defines the output of SSH load testing

type ScyllaDBLoadTestInput

type ScyllaDBLoadTestInput struct {
	Hosts    []string `json:"hosts" jsonschema:"required,description=ScyllaDB host addresses"`
	Keyspace string   `json:"keyspace" jsonschema:"required,description=Keyspace name"`
	Count    int      `json:"count" jsonschema:"description=Number of operations to perform"`
}

ScyllaDBLoadTestInput defines input parameters for ScyllaDB load testing

type ScyllaDBLoadTestOutput

type ScyllaDBLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

ScyllaDBLoadTestOutput defines the output of ScyllaDB load testing

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the MCP server for DLG load generator

func New

func New() *Server

New creates a new MCP server instance

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the MCP server using stdio transport

type SyslogLoadTestInput

type SyslogLoadTestInput struct {
	Server string `json:"server" jsonschema:"required,description=Syslog server address"`
	Count  int    `json:"count" jsonschema:"description=Number of syslog messages to send"`
}

SyslogLoadTestInput defines input parameters for Syslog load testing

type SyslogLoadTestOutput

type SyslogLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

SyslogLoadTestOutput defines the output of Syslog load testing

type TCPLoadTestInput

type TCPLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=TCP server host"`
	Port  int    `json:"port" jsonschema:"required,description=TCP server port"`
	Count int    `json:"count" jsonschema:"description=Number of TCP connections"`
}

TCPLoadTestInput defines input parameters for TCP load testing

type TCPLoadTestOutput

type TCPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

TCPLoadTestOutput defines the output of TCP load testing

type TFTPLoadTestInput

type TFTPLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=TFTP server host"`
	Count int    `json:"count" jsonschema:"description=Number of TFTP operations"`
}

TFTPLoadTestInput defines input parameters for TFTP load testing

type TFTPLoadTestOutput

type TFTPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

TFTPLoadTestOutput defines the output of TFTP load testing

type TelnetLoadTestInput

type TelnetLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=Telnet server host"`
	Port  int    `json:"port" jsonschema:"description=Telnet server port"`
	Count int    `json:"count" jsonschema:"description=Number of Telnet connections"`
}

TelnetLoadTestInput defines input parameters for Telnet load testing

type TelnetLoadTestOutput

type TelnetLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

TelnetLoadTestOutput defines the output of Telnet load testing

type UDPLoadTestInput

type UDPLoadTestInput struct {
	Host  string `json:"host" jsonschema:"required,description=UDP server host"`
	Port  int    `json:"port" jsonschema:"required,description=UDP server port"`
	Count int    `json:"count" jsonschema:"description=Number of UDP packets to send"`
}

UDPLoadTestInput defines input parameters for UDP load testing

type UDPLoadTestOutput

type UDPLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

UDPLoadTestOutput defines the output of UDP load testing

type WebSocketLoadTestInput

type WebSocketLoadTestInput struct {
	URL     string `json:"url" jsonschema:"required,description=WebSocket URL to connect to"`
	Count   int    `json:"count" jsonschema:"description=Number of messages to send"`
	Message string `json:"message" jsonschema:"description=Message to send"`
}

WebSocketLoadTestInput defines input parameters for WebSocket load testing

type WebSocketLoadTestOutput

type WebSocketLoadTestOutput struct {
	Message string `json:"message" jsonschema:"description=Status message"`
	Metrics string `json:"metrics" jsonschema:"description=Prometheus metrics from the load test"`
}

WebSocketLoadTestOutput defines the output of WebSocket load testing

Jump to

Keyboard shortcuts

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