config

package
v0.0.0-...-075f611 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 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 {
	ApiEndpoint          string `json:"cf_api"`
	AdminUser            string `json:"cf_admin_user"`
	AdminPassword        string `json:"cf_admin_password"`
	SkipSSLValidation    bool   `json:"cf_skip_ssl_validation"`
	AppsDomain           string `json:"cf_apps_domain"`
	BBSClientCert        string `json:"bbs_client_cert"`
	BBSClientKey         string `json:"bbs_client_key"`
	BoshBinary           string `json:"bosh_binary"`
	APIInstance          string `json:"bosh_api_instance"`
	BoshDeploymentName   string `json:"bosh_deployment_name"`
	BoshCACert           string `json:"bosh_ca_cert"`
	BoshClient           string `json:"bosh_client"`
	BoshClientSecret     string `json:"bosh_client_secret"`
	BoshEnvironment      string `json:"bosh_environment"`
	BoshGWUser           string `json:"bosh_gw_user"`
	BoshGWHost           string `json:"bosh_gw_host"`
	BoshGWPrivateKey     string `json:"bosh_gw_private_key"`
	RunRevisionsTests    bool   `json:"run_revisions_tests"`
	RunSidecarTests      bool   `json:"run_sidecar_tests"`
	PortForwardingScript string `json:"port_forwarding_script"`
}

func NewConfig

func NewConfig(path string) (Config, error)

func (Config) GetAddExistingUserToExistingSpace

func (c Config) GetAddExistingUserToExistingSpace() bool

func (Config) GetAdminClient

func (c Config) GetAdminClient() string

func (Config) GetAdminClientSecret

func (c Config) GetAdminClientSecret() string

func (Config) GetAdminOrigin

func (c Config) GetAdminOrigin() string

func (Config) GetAdminPassword

func (c Config) GetAdminPassword() string

func (Config) GetAdminUser

func (c Config) GetAdminUser() string

func (Config) GetApiEndpoint

func (c Config) GetApiEndpoint() string

func (Config) GetAppsDomain

func (c Config) GetAppsDomain() string

func (Config) GetConfigurableTestPassword

func (c Config) GetConfigurableTestPassword() string

the following are not used but need to be implemented to satisfy the required interface

func (Config) GetExistingClient

func (c Config) GetExistingClient() string

func (Config) GetExistingClientSecret

func (c Config) GetExistingClientSecret() string

func (Config) GetExistingOrganization

func (c Config) GetExistingOrganization() string

func (Config) GetExistingSpace

func (c Config) GetExistingSpace() string

func (Config) GetExistingUser

func (c Config) GetExistingUser() string

func (Config) GetExistingUserPassword

func (c Config) GetExistingUserPassword() string

func (Config) GetNamePrefix

func (c Config) GetNamePrefix() string

func (Config) GetPersistentAppOrg

func (c Config) GetPersistentAppOrg() string

func (Config) GetPersistentAppQuotaName

func (c Config) GetPersistentAppQuotaName() string

func (Config) GetPersistentAppSpace

func (c Config) GetPersistentAppSpace() string

func (Config) GetScaledTimeout

func (c Config) GetScaledTimeout(timeout time.Duration) time.Duration

func (Config) GetShouldKeepUser

func (c Config) GetShouldKeepUser() bool

func (Config) GetSkipSSLValidation

func (c Config) GetSkipSSLValidation() bool

func (Config) GetUseExistingOrganization

func (c Config) GetUseExistingOrganization() bool

func (Config) GetUseExistingSpace

func (c Config) GetUseExistingSpace() bool

func (Config) GetUseExistingUser

func (c Config) GetUseExistingUser() bool

func (Config) GetUserOrigin

func (c Config) GetUserOrigin() string

func (Config) Protocol

func (c Config) Protocol() string

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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