Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name of the cluster cofig file CLUSTER_CONFIG_FILE_NAME = "hexagon-cluster.yaml" // Name of the config file mounted to the service unit pod SERVICE_UNIT_CONFIG_FILE_NAME = "service-unit.yaml" )
View Source
const ( REST SeverAdapterVariant = "rest" GRPC SeverAdapterVariant = "grpc" KAFKA BrokerVariant = "kafka" RABBITMQ BrokerVariant = "rabbitmq" Pulsar BrokerVariant = "pulsar" MONGO RepositoryVariant = "mongo" REDIS RepositoryVariant = "redis" POSTGRE RepositoryVariant = "postgre" CPU StressorValiant = "cpu" MEMORY StressorValiant = "memory" DISK StressorValiant = "disk" )
View Source
const (
DefaultPayloadCount = 3
)
View Source
const (
DefaultPayloadSize = MEDIUM
)
View Source
const (
NumInitialEntries = 100
)
Variables ¶
View Source
var PayloadSizeMap = map[PayloadSizeVariant]int64{ SMALL: 1024, MEDIUM: 4096, LARGE: 16384, }
Functions ¶
This section is empty.
Types ¶
type BrokerVariant ¶
type BrokerVariant string
type HttpMethod ¶
type HttpMethod string
const ( HTTP_POST HttpMethod = "POST" HTTP_GET HttpMethod = "GET" )
func GetHttpMethodFromAction ¶
func GetHttpMethodFromAction(action Action) HttpMethod
GetHttpMethodFromAction converts Action to HttpMethod
type PayloadSizeVariant ¶
type PayloadSizeVariant string
const ( SMALL PayloadSizeVariant = "small" // 1kb entries MEDIUM PayloadSizeVariant = "medium" // 4kb entries LARGE PayloadSizeVariant = "large" // 16kb entries )
type RepositoryVariant ¶
type RepositoryVariant string
type SeverAdapterVariant ¶
type SeverAdapterVariant string
type StressorValiant ¶
type StressorValiant string
Click to show internal directories.
Click to hide internal directories.