test

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDatabase

func ClearDatabase()

func GetClientSet

func GetClientSet() apimachinery.ClientSetInterface

func GetDB

func GetDB() *local.Mongo

func GetHeader

func GetHeader() http.Header

func GetReportDir

func GetReportDir() string

func GetReportUrl

func GetReportUrl() string

Types

type RedisConfig

type RedisConfig struct {
	RedisAdress string
	RedisPort   string
	RedisPasswd string
}

type TestConfig

type TestConfig struct {
	ZkAddr         string
	Concurrent     int
	SustainSeconds float64
	TotalRequest   int64
	DBWriteKBSize  int
	MongoURI       string
	MongoRsName    string
	RedisCfg       RedisConfig
}

func GetTestConfig

func GetTestConfig() TestConfig

Directories

Path Synopsis
datacollection

Jump to

Keyboard shortcuts

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