constants

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeBenchNameLabel = "kubebench.apecloud.io/name"
	KubeBenchTypeLabel = "kubebench.apecloud.io/type"
)
View Source
const (
	PgbenchType    = "pgbench"
	SysbenchType   = "sysbench"
	RedisBenchType = "redisbench"
	EsrallyType    = "esrally"
	TpccType       = "tpcc"
	TpcdsType      = "tpcds"
	TpchType       = "tpch"
	YcsbType       = "ycsb"
	FioType        = "fio"
)
View Source
const (
	MySqlDriver                 = "mysql"
	PostgreSqlDriver            = "postgresql"
	MongoDbDriver               = "mongodb"
	RedisDriver                 = "redis"
	OceanBaseOracleTenantDriver = "oceanbase-oracle"
	DamengDriver                = "dameng"
	MinioDriver                 = "minio"
	TidbDriver                  = "tidb"
	MssqlDriver                 = "mssql"
	ElasticsearchDriver         = "elasticsearch"
	GaussDBDriver               = "gaussdb"
)
View Source
const (
	CleanupStep = "cleanup"
	PrepareStep = "prepare"
	RunStep     = "run"
	AllStep     = "all"
)
View Source
const (
	EsrallyDataProfileLogs        = "logs"
	EsrallyDataProfileMetrics     = "metrics"
	EsrallyDataProfileHTTPLogs    = "http_logs"
	EsrallyDataProfileMetricbeat  = "metricbeat"
	EsrallyDataProfileGeonames    = "geonames"
	EsrallyDataProfileNYCTaxis    = "nyc_taxis"
	EsrallyDataProfileNOAA        = "noaa"
	EsrallyDataProfileNested      = "nested"
	EsrallyDataProfilePMC         = "pmc"
	EsrallyDataProfileSO          = "so"
	EsrallyDataProfileDenseVector = "dense_vector"
)
View Source
const (
	EsrallyWorkloadIndex  = "index"
	EsrallyWorkloadSearch = "search"
	EsrallyWorkloadMixed  = "mixed"
	EsrallyWorkloadAll    = "all"
)
View Source
const (
	KubebenchEnvPgbench    = "KUBEBENCH_PGBENCH_IMAGE"
	KubebenchEnvSysbench   = "KUBEBENCH_SYSBENCH_IMAGE"
	KubebenchEnvTpcc       = "KUBEBENCH_TPCC_IMAGE"
	KubebenchEnvTpcds      = "KUBEBENCH_TPCDS_IMAGE"
	KubebenchEnvTpch       = "KUBEBENCH_TPCH_IMAGE"
	KubebenchEnvYcsb       = "KUBEBENCH_YCSB_IMAGE"
	KubebenchEnvFio        = "KUBEBENCH_FIO_IMAGE"
	KubebenchEnvRedisBench = "KUBEBENCH_REDISBENCH_IMAGE"
	KubebenchEnvEsrally    = "KUBEBENCH_ESRALLY_IMAGE"
	KubebenchExporter      = "KUBEBENCH_EXPORTER_IMAGE"
	KubebenchTools         = "KUBEBENCH_TOOLS_IMAGE"
)
View Source
const (
	CfgKeyCtrlrMgrTolerations = "CM_TOLERATIONS"
)
View Source
const (
	ContainerName = "kubebench"
)
View Source
const (
	DefaultImageRegistry = "apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com"
)

Variables

This section is empty.

Functions

func GetBenchmarkImage

func GetBenchmarkImage(envName string) string

GetBenchmarkImage get benchmark image

Types

This section is empty.

Jump to

Keyboard shortcuts

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