cmd

package
v0.71.8-13 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdArgs map[string]interface{}

Functions

func GetBaseUrlFromConfig

func GetBaseUrlFromConfig() string

func GetDbConfig

func GetDbConfig() map[string]*DbDetails

mysql

func GetMongoDBConfig

func GetMongoDBConfig() map[string]*MongDBDetails

func GetPgDbConfig

func GetPgDbConfig() map[string]*DbDetails

postgresql

func GetRedisConfig

func GetRedisConfig() map[string]*RedisDetails

func GetTimeZoneConfig

func GetTimeZoneConfig() string

func SetTestEnv

func SetTestEnv()

Types

type Config

type Config map[string]*Environment

func GetConfig

func GetConfig() Config

type DbDetails

type DbDetails struct {
	SqlCon   interface{}
	Ip       string
	Port     interface{}
	UserName string
	Password string
	Dbname   string
	Sslmode  string
}

type Environment

type Environment struct {
	BaseUrl    string
	TimeZone   string
	Mysql      map[string]*DbDetails
	PostgreSql map[string]*DbDetails
	Redis      map[string]*RedisDetails
	MongoDB    map[string]*MongDBDetails
}

type MongDBDetails

type MongDBDetails struct {
	MongDBCon interface{}
	Ip        string
	Port      interface{}
	UserName  string
	Password  string
}

type Options

type Options struct {
	Testconfig string `json:"testconfig"`
	Testsuite  string `json:"testsuite"`
	Testcase   string `json:"testcase"`
	KeyWord    string `json:"keyWord"`
	StateChart string `json:"stateChart"`

	Testresource string `json:"testresource"`
	Testresults  string `json:"testresults"`
	JsFuncs      string `json:"jsFuncs"`
	TestEnv      string `json:"testEnv"`
	BaseUrl      string `json:"baseUrl"`

	IfFuzzTest   bool `json:"ifFuzzTest"`
	IfMutation   bool `json:"ifMutation"`
	IfTestSuite  bool `json:"ifTestSuite"`
	IfKeyWord    bool `json:"ifKeyWord"`
	IfStateChart bool `json:"ifStateChart"`

	IfConcurrency       bool `json:"ifConcurrency"`
	ConcurrencyLimit    int  `json:"concurrencyLimit"`
	IfShowOriginRequest bool `json:"ifShowOriginRequest"`

	Harfile     string `json:"harfile"`
	Swaggerfile string `json:"swaggerfile"`
	Logfile     string `json:"logfile"`

	TimeZone string `json:"timeZone"`

	IfMySqlDb bool `json:"ifMySqlDb"`
	IfPgDb    bool `json:"ifPgDb"`
	IfRedis   bool `json:"ifRedis"`
	IfMongoDB bool `json:"ifMongoDB"`
}
var Opt Options

type RedisDetails

type RedisDetails struct {
	RedisCon interface{}
	Ip       string
	Port     interface{}
	UserName string
	Password string
}

Jump to

Keyboard shortcuts

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