Documentation ¶
Index ¶
- func ConfigPath() string
- func Load(path string, config *Config) error
- type Config
- func (c *Config) AsyncServiceOperationTimeoutDuration() time.Duration
- func (c *Config) BrokerStartTimeoutDuration() 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) GetAdminOrigin() 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) 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) GetUserOrigin() string
- func (c *Config) LongCurlTimeoutDuration() time.Duration
- func (c Config) Protocol() string
- func (c *Config) SleepTimeoutDuration() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func ConfigPath() string
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"` AdminOrigin string `json:"admin_origin"` AdminClient string `json:"admin_client"` AdminClientSecret string `json:"admin_client_secret"` 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"` UserOrigin string `json:"user_origin"` ExistingClient string `json:"existing_client"` ExistingClientSecret string `json:"existing_client_secret"` 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"` Backend string `json:"backend"` 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"` SecureAddress string `json:"secure_address"` DockerExecutable string `json:"docker_executable"` DockerParameters []string `json:"docker_parameters"` DockerRegistryAddress string `json:"docker_registry_address"` DockerPrivateImage string `json:"docker_private_image"` DockerUser string `json:"docker_user"` DockerPassword string `json:"docker_password"` DockerEmail string `json:"docker_email"` StaticFileBuildpackName string `json:"staticfile_buildpack_name"` JavaBuildpackName string `json:"java_buildpack_name"` RubyBuildpackName string `json:"ruby_buildpack_name"` NodejsBuildpackName string `json:"nodejs_buildpack_name"` GoBuildpackName string `json:"go_buildpack_name"` PythonBuildpackName string `json:"python_buildpack_name"` PhpBuildpackName string `json:"php_buildpack_name"` BinaryBuildpackName string `json:"binary_buildpack_name"` IncludeApps bool `json:"include_apps"` IncludeBackendCompatiblity bool `json:"include_backend_compatibility"` IncludeDetect bool `json:"include_detect"` IncludeDocker bool `json:"include_docker"` IncludeInternetDependent bool `json:"include_internet_dependent"` IncludeRouteServices bool `json:"include_route_services"` IncludeRouting bool `json:"include_routing"` IncludeSecurityGroups bool `json:"include_security_groups"` IncludeServices bool `json:"include_services"` IncludeSsh bool `json:"include_ssh"` IncludeV3 bool `json:"include_v3"` IncludeTasks bool `json:"include_tasks"` IncludeSSO bool `json:"include_sso"` NamePrefix string `json:"name_prefix"` }
func LoadConfig ¶
func LoadConfig() *Config
func (*Config) AsyncServiceOperationTimeoutDuration ¶
func (*Config) BrokerStartTimeoutDuration ¶
func (*Config) CfPushTimeoutDuration ¶
func (*Config) DefaultTimeoutDuration ¶
func (*Config) DetectTimeoutDuration ¶
func (*Config) GetAddExistingUserToExistingSpace ¶
func (*Config) GetAdminClient ¶
func (*Config) GetAdminClientSecret ¶
func (*Config) GetAdminOrigin ¶ added in v2.4.0
func (*Config) GetAdminPassword ¶
func (*Config) GetAdminUser ¶
func (*Config) GetApiEndpoint ¶
func (*Config) GetAppsDomain ¶
func (*Config) GetArtifactsDirectory ¶
func (*Config) GetConfigurableTestPassword ¶
func (*Config) GetExistingClient ¶
func (*Config) GetExistingClientSecret ¶
func (*Config) GetExistingOrganization ¶
func (*Config) GetExistingSpace ¶
func (*Config) GetExistingUser ¶
func (*Config) GetExistingUserPassword ¶
func (*Config) GetNamePrefix ¶
func (Config) GetScaledTimeout ¶
func (*Config) GetShouldKeepUser ¶
func (*Config) GetSkipSSLValidation ¶
func (*Config) GetUseExistingOrganization ¶
func (*Config) GetUseExistingSpace ¶
func (*Config) GetUseExistingUser ¶
func (*Config) GetUserOrigin ¶ added in v2.4.0
func (*Config) LongCurlTimeoutDuration ¶
func (*Config) SleepTimeoutDuration ¶
Click to show internal directories.
Click to hide internal directories.