Documentation ¶
Index ¶
- Variables
- func PrepareAndRunTests(packageName string, t *testing.T, withContext bool)
- func ValidateConfig(config *MysqlIntegrationConfig) error
- type BOSH
- type CipherFinderClient
- type Component
- type Job
- type ManifestPlan
- type MysqlIntegrationConfig
- type MysqlManifest
- type Pinger
- type Plan
- type Properties
- type Proxy
- type SinatraAppClient
- func (c SinatraAppClient) DeleteBulkData(megabytes string) (string, error)
- func (c SinatraAppClient) Get(key string) (string, error)
- func (c SinatraAppClient) Ping() error
- func (c SinatraAppClient) Set(key, value string) (string, error)
- func (c SinatraAppClient) WriteBulkData(megabytes string) (string, error)
- type Standalone
- type Tuning
Constants ¶
This section is empty.
Variables ¶
View Source
var TestContext *workflowhelpers.ReproducibleTestSuiteSetup
Functions ¶
func PrepareAndRunTests ¶
func ValidateConfig ¶
func ValidateConfig(config *MysqlIntegrationConfig) error
Types ¶
type CipherFinderClient ¶
type CipherFinderClient struct {
// contains filtered or unexported fields
}
func NewCipherFinderClient ¶
func NewCipherFinderClient(host string, skipSSLValidation bool) CipherFinderClient
func (CipherFinderClient) Ciphers ¶
func (c CipherFinderClient) Ciphers() (string, error)
func (CipherFinderClient) Ping ¶
func (c CipherFinderClient) Ping() error
type ManifestPlan ¶
type MysqlIntegrationConfig ¶
type MysqlIntegrationConfig struct { CFConfig *config.Config BOSH BOSH `json:"bosh"` BrokerHost string `json:"broker_host,omitempty"` BrokerProtocol string `json:"broker_protocol,omitempty"` ServiceName string `json:"service_name"` EnableTlsTests bool `json:"enable_tls_tests"` Plans []Plan `json:"plans"` Brokers []Component `json:"brokers,omitempty"` MysqlNodes []Component `json:"mysql_nodes,omitempty"` Proxy Proxy `json:"proxy"` Standalone Standalone `json:"standalone,omitempty"` StandaloneOnly bool `json:"standalone_only,omitempty"` Tuning Tuning `json:"tuning,omitempty"` }
var TestConfig MysqlIntegrationConfig
func LoadConfig ¶
func LoadConfig() (MysqlIntegrationConfig, error)
func (MysqlIntegrationConfig) AppURI ¶
func (c MysqlIntegrationConfig) AppURI(appname string) string
type MysqlManifest ¶
type MysqlManifest struct { Jobs []Job `yaml:"jobs"` Properties Properties `yaml:"properties"` }
type Properties ¶
type Properties struct { CF struct { APIURL string `yaml:"api_url"` AppDomains []string `yaml:"app_domains"` AdminUsername string `yaml:"admin_username"` AdminPassword string `yaml:"admin_password"` SmokeTests struct { UseExistingOrg bool `yaml:"use_existing_org"` Org string `yaml:"org"` } `yaml:"smoke_tests"` SkipSSLValidation bool `yaml:"skip_ssl_validation"` } `yaml:"cf"` CFMySQL struct { Host string `yaml:"host"` MySQL struct { Port int `yaml:"port"` AdminUsername string `yaml:"admin_username"` AdminPassword string `yaml:"admin_password"` } `yaml:"mysql"` SmokeTests struct { Password string `yaml:"password"` TimeoutScale float64 `yaml:"timeout_scale"` } `yaml:"smoke_tests"` ExternalHost string `yaml:"external_host"` Broker struct { Services []struct { Name string `yaml:"name"` MaxUserConnectionsDefault int `yaml:"max_user_connections_default"` Plans []ManifestPlan `yaml:"plans"` } `yaml:"services"` } `yaml:"broker"` Proxy struct { APIUsername string `yaml:"api_username"` APIPassword string `yaml:"api_password"` APIForceHTTPS bool `yaml:"api_force_https"` } `yaml:"proxy"` } `yaml:"cf_mysql"` }
type SinatraAppClient ¶
type SinatraAppClient struct {
// contains filtered or unexported fields
}
func NewSinatraAppClient ¶
func NewSinatraAppClient(host string, serviceInstance string, skipSSLValidation bool) SinatraAppClient
func (SinatraAppClient) DeleteBulkData ¶
func (c SinatraAppClient) DeleteBulkData(megabytes string) (string, error)
func (SinatraAppClient) Ping ¶
func (c SinatraAppClient) Ping() error
func (SinatraAppClient) WriteBulkData ¶
func (c SinatraAppClient) WriteBulkData(megabytes string) (string, error)
type Standalone ¶
Click to show internal directories.
Click to hide internal directories.