Documentation ¶
Index ¶
- Constants
- type Config
- func (c *Config) AsyncServiceOperationTimeoutDuration() time.Duration
- func (c *Config) BrokerStartTimeoutDuration() time.Duration
- func (c *Config) CFJavaTimeoutDuration() time.Duration
- func (c *Config) CfPushTimeoutDuration() time.Duration
- func (c *Config) DefaultTimeoutDuration() time.Duration
- func (c *Config) DetectTimeoutDuration() time.Duration
- func (c *Config) GetAddExistingUserToExistingSpace() bool
- func (c *Config) GetAdminClient() string
- func (c *Config) GetAdminClientSecret() string
- func (c *Config) GetAdminPassword() string
- func (c *Config) GetAdminUser() string
- func (c *Config) GetApiEndpoint() string
- func (c *Config) GetAppsDomain() string
- func (c *Config) GetArtifactsDirectory() string
- func (c *Config) GetConfigurableTestPassword() string
- func (c *Config) GetExistingClient() string
- func (c *Config) GetExistingClientSecret() string
- func (c *Config) GetExistingOrganization() string
- func (c *Config) GetExistingSpace() string
- func (c *Config) GetExistingUser() string
- func (c *Config) GetExistingUserPassword() string
- func (c *Config) GetNamePrefix() string
- func (c *Config) GetNodeMemoryLimit() int
- func (c Config) GetScaledTimeout(timeout time.Duration) time.Duration
- func (c *Config) GetShouldKeepUser() bool
- func (c *Config) GetSkipSSLValidation() bool
- func (c *Config) GetUseExistingOrganization() bool
- func (c *Config) GetUseExistingSpace() bool
- func (c *Config) GetUseExistingUser() bool
- func (c *Config) IsServiceOfferingEnabled() bool
- func (c *Config) LongCurlTimeoutDuration() time.Duration
- func (c Config) Protocol() string
- func (c *Config) SleepTimeoutDuration() time.Duration
Constants ¶
View Source
const JAVA_APP = "../assets/app/HelloWorldJavaWeb.war"
View Source
const NODE_APP = "../assets/app/nodeApp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ApiEndpoint string `json:"api"` AppsDomain string `json:"apps_domain"` UseHttp bool `json:"use_http"` AdminUser string `json:"admin_user"` AdminPassword string `json:"admin_password"` UseExistingUser bool `json:"use_existing_user"` ShouldKeepUser bool `json:"keep_user_at_suite_end"` ExistingUser string `json:"existing_user"` ExistingUserPassword string `json:"existing_user_password"` ConfigurableTestPassword string `json:"test_password"` UseExistingOrganization bool `json:"use_existing_organization"` ExistingOrganization string `json:"existing_organization"` AddExistingUserToExistingSpace bool `json:"add_existing_user_to_existing_space"` UseExistingSpace bool `json:"use_existing_space"` ExistingSpace string `json:"existing_space"` SkipSSLValidation bool `json:"skip_ssl_validation"` ArtifactsDirectory string `json:"artifacts_directory"` DefaultTimeout int `json:"default_timeout"` SleepTimeout int `json:"sleep_timeout"` DetectTimeout int `json:"detect_timeout"` CfPushTimeout int `json:"cf_push_timeout"` LongCurlTimeout int `json:"long_curl_timeout"` BrokerStartTimeout int `json:"broker_start_timeout"` AsyncServiceOperationTimeout int `json:"async_service_operation_timeout"` TimeoutScale float64 `json:"timeout_scale"` JavaBuildpackName string `json:"java_buildpack_name"` NodejsBuildpackName string `json:"nodejs_buildpack_name"` NamePrefix string `json:"name_prefix"` AdminClient string `json:"admin_client"` AdminClientSecret string `json:"admin_client_secret"` ExistingClient string `json:"existing_client"` ExistingClientSecret string `json:"existing_client_secret"` ServiceName string `json:"service_name"` ServicePlan string `json:"service_plan"` AggregateInterval int `json:"aggregate_interval"` CfJavaTimeout int `json:"cf_java_timeout"` NodeMemoryLimit int `json:"node_memory_limit"` ASApiEndpoint string `json:"autoscaler_api"` ServiceOfferingEnabled bool `json:"service_offering_enabled"` }
func LoadConfig ¶
func (*Config) AsyncServiceOperationTimeoutDuration ¶
func (*Config) BrokerStartTimeoutDuration ¶
func (*Config) CFJavaTimeoutDuration ¶
func (*Config) CfPushTimeoutDuration ¶
func (*Config) DefaultTimeoutDuration ¶
func (*Config) DetectTimeoutDuration ¶
func (*Config) GetAddExistingUserToExistingSpace ¶ added in v1.2.1
func (*Config) GetAdminClient ¶ added in v1.2.1
func (*Config) GetAdminClientSecret ¶ added in v1.2.1
func (*Config) GetAdminPassword ¶
func (*Config) GetAdminUser ¶
func (*Config) GetApiEndpoint ¶
func (*Config) GetAppsDomain ¶
func (*Config) GetArtifactsDirectory ¶
func (*Config) GetConfigurableTestPassword ¶
func (*Config) GetExistingClient ¶ added in v1.2.1
func (*Config) GetExistingClientSecret ¶ added in v1.2.1
func (*Config) GetExistingOrganization ¶ added in v1.2.1
func (*Config) GetExistingSpace ¶ added in v1.2.1
func (*Config) GetExistingUser ¶
func (*Config) GetExistingUserPassword ¶
func (*Config) GetNamePrefix ¶
func (*Config) GetNodeMemoryLimit ¶
func (Config) GetScaledTimeout ¶
func (*Config) GetShouldKeepUser ¶
func (*Config) GetSkipSSLValidation ¶
func (*Config) GetUseExistingOrganization ¶ added in v1.2.1
func (*Config) GetUseExistingSpace ¶ added in v1.2.1
func (*Config) GetUseExistingUser ¶
func (*Config) IsServiceOfferingEnabled ¶
func (*Config) LongCurlTimeoutDuration ¶
func (*Config) SleepTimeoutDuration ¶
Click to show internal directories.
Click to hide internal directories.