Documentation ¶
Index ¶
- Constants
- Variables
- func Execute()
- func NewHTTPCommand() *cobra.Command
- func NewInfluxDBCommand() *cobra.Command
- func NewMongoDBCommand() *cobra.Command
- func NewMysqlCommand() *cobra.Command
- func NewPostgresqlCommand() *cobra.Command
- func NewRabbitMQCommand() *cobra.Command
- func NewRedisCommand() *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewTCPCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type Version
Constants ¶
View Source
const ExitError = 1
ExitError is the error exit code
View Source
const ExitTimedOut = 124
ExitTimedOut is the timed out exit code
Variables ¶
View Source
var ( // AppVersion represents Wait4X version AppVersion = "$Format:%(describe:tags=true)$" // GitCommit represents Wait4X commit sha1 hash from git, output of $(git rev-parse HEAD) GitCommit = "$Format:%H$" // BuildTime represents Wait4X build time in ISO8601 format, output of $(date -u '+%FT%TZ') BuildTime = "1970-01-01T00:00:00Z" )
View Source
var Logger logr.Logger
Logger is the global logger.
Functions ¶
func NewHTTPCommand ¶
NewHTTPCommand creates the http sub-command
func NewInfluxDBCommand ¶
NewInfluxDBCommand creates the influxdb sub-command
func NewMongoDBCommand ¶
NewMongoDBCommand creates the mongodb sub-command
func NewMysqlCommand ¶
NewMysqlCommand creates the mysql sub-command
func NewPostgresqlCommand ¶
NewPostgresqlCommand creates the postgresql sub-command
func NewRabbitMQCommand ¶
NewRabbitMQCommand creates the rabbitmq sub-command
func NewRedisCommand ¶
NewRedisCommand creates the redis sub-command
func NewVersionCommand ¶
NewVersionCommand creates the version sub-command
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.