hubdashperf

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel string

	Port int

	HubHost           string
	HubUser           string
	HubPasswordEnvVar string

	HubRequestBatchPauseSeconds int
}

Config .....

func ReadConfig

func ReadConfig(configPath string) (*Config, error)

ReadConfig .....

func (*Config) GetLogLevel

func (config *Config) GetLogLevel() (log.Level, error)

GetLogLevel .....

type DashboardPerformanceTester

type DashboardPerformanceTester struct {
	HubClient         *hubclient.Client
	URLs              map[string]string
	RequestBatchPause time.Duration
}

DashboardPerformanceTester .....

func NewDashboardPerformanceTester

func NewDashboardPerformanceTester(hubHost string, username string, password string, urls map[string]string, requestBatchPause time.Duration) (*DashboardPerformanceTester, error)

NewDashboardPerformanceTester .....

func (*DashboardPerformanceTester) Start

func (dpt *DashboardPerformanceTester) Start(stop <-chan struct{})

Start .....

Jump to

Keyboard shortcuts

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