config

package
v0.0.0-...-9a4be0d Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultInternalAppsDomain = "apps.internal"
View Source
const DefaultInternalIstioDomain = "istio.apps.internal"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CFSystemDomain           string `json:"cf_system_domain"`
	CFInternalAppsDomain     string `json:"cf_internal_apps_domain"`
	CFInternalIstioDomain    string `json:"cf_internal_istio_domain"`
	IstioDomain              string `json:"cf_istio_domain"`
	AdminUser                string `json:"cf_admin_user"`
	AdminPassword            string `json:"cf_admin_password"`
	ProductPageDockerWithTag string `json:"product_page_docker_tag"`
	ReviewsDockerWithTag     string `json:"reviews_docker_tag"`
	RatingsDockerWithTag     string `json:"ratings_docker_tag"`
	DetailsDockerWithTag     string `json:"details_docker_tag"`
	WildcardCa               string `json:"wildcard_ca"`
}

func NewConfig

func NewConfig(path string) (Config, error)

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) GetConfigurableTestPassword

func (c Config) GetConfigurableTestPassword() 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(d 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) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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