config

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequiredCertFlags

func RequiredCertFlags() []string

func RequiredDiskFlags

func RequiredDiskFlags() []string

func RequiredIPFlags

func RequiredIPFlags() []string

func RequiredIPSliceFlags

func RequiredIPSliceFlags() []string

func RequiredInstanceCountFlags

func RequiredInstanceCountFlags() []string

func RequiredIntFlags

func RequiredIntFlags() []string

func RequiredSecretFlags

func RequiredSecretFlags() []string

func RequiredStringFlags

func RequiredStringFlags() []string

func RequiredStringSliceFlags

func RequiredStringSliceFlags() []string

func RequiredUserFlags

func RequiredUserFlags() []string

func RequiredVMTypeFlags

func RequiredVMTypeFlags() []string

Types

type Certs

type Certs struct {
	EtcdServerCert                 string
	EtcdServerKey                  string
	EtcdClientCert                 string
	EtcdClientKey                  string
	EtcdPeerCert                   string
	EtcdPeerKey                    string
	BBSCACert                      string
	BBSClientCert                  string
	BBSClientKey                   string
	BBSServerCert                  string
	BBSServerKey                   string
	RouterSSLCert                  string
	RouterSSLKey                   string
	HAProxySSLPem                  string
	ConsulAgentCert                string
	ConsulAgentKey                 string
	ConsulServerCert               string
	ConsulServerKey                string
	JWTVerificationKey             string
	SAMLServiceProviderKey         string
	SAMLServiceProviderCertificate string
	JWTSigningKey                  string
}

func NewCerts

func NewCerts(c *cli.Context) (*Certs, error)

type Config

type Config struct {
	DeploymentName                string
	AZs                           []string
	StemcellName                  string
	NetworkName                   string
	SystemDomain                  string
	AppDomains                    []string
	AllowSSHAccess                bool
	SkipSSLCertVerify             bool
	NATSPort                      int
	UAALoginProtocol              string
	SyslogAddress                 string
	SyslogPort                    int
	SyslogTransport               string
	DopplerZone                   string
	DopplerMessageDrainBufferSize int
	BBSRequireSSL                 bool
	CCUploaderJobPollInterval     int
	CCExternalPort                int
	SelfServiceLinksEnabled       bool
	SignupsEnabled                bool
	CompanyName                   string
	FooterLegalText               string
	LDAPUrl                       string
	LDAPUserDN                    string
	LDAPSearchBase                string
	LDAPSearchFilter              string
	LDAPMailAttributeName         string
	LDAPEnabled                   bool
	SharePath                     string
	HostKeyFingerprint            string
	SupportAddress                string
	MinCliVersion                 string
	HAProxySkip                   bool
	MySQLProxyExternalHost        string
	RouterEnableSSL               bool
	NFSAllowFromNetworkCIDR       []string
	LoggregatorPort               int
	*Certs
	IP
	VMType
	Disk
	Secret
	InstanceCount
	User
}

func NewConfig

func NewConfig(c *cli.Context) (*Config, error)

func (*Config) MySQLProxyHost

func (c *Config) MySQLProxyHost() string

type Disk

type Disk struct {
	EtcdPersistentDiskType       string
	MySQLPersistentDiskType      string
	NFSPersistentDiskType        string
	DiegoDBPersistentDiskType    string
	DiegoCellPersistentDiskType  string
	DiegoBrainPersistentDiskType string
}

func NewDisk

func NewDisk(c *cli.Context) Disk

type IP

type IP struct {
	HAProxyIPs      []string
	NFSIP           string
	MySQLIPs        []string
	LoggregratorIPs []string
	DopplerIPs      []string
	EtcdMachines    []string
	DiegoCellIPs    []string
	ConsulIPs       []string
	DiegoBrainIPs   []string
	MySQLProxyIPs   []string
	RouterMachines  []string
	DiegoDBIPs      []string
	NATSMachines    []string
}

func NewIP

func NewIP(c *cli.Context) IP

type InstanceCount

type InstanceCount struct {
	CloudControllerWorkerInstances int
	CloudControllerInstances       int
	UAAInstances                   int
}

func NewInstanceCount

func NewInstanceCount(c *cli.Context) InstanceCount

type Secret

type Secret struct {
	AdminPassword                             string
	MySQLBootstrapPassword                    string
	NATSPassword                              string
	SmokeTestsPassword                        string
	DopplerSecret                             string
	DopplerSharedSecret                       string
	CCBulkAPIPassword                         string
	CCInternalAPIPassword                     string
	SSHProxyClientSecret                      string
	DiegoDBPassphrase                         string
	AdminSecret                               string
	UAADBPassword                             string
	PushAppsManagerPassword                   string
	SystemServicesPassword                    string
	SystemVerificationPassword                string
	OpentsdbFirehoseNozzleClientSecret        string
	IdentityClientSecret                      string
	LoginClientSecret                         string
	PortalClientSecret                        string
	AutoScalingServiceClientSecret            string
	SystemPasswordsClientSecret               string
	CCServiceDashboardsClientSecret           string
	GoRouterClientSecret                      string
	NotificationsClientSecret                 string
	NotificationsUIClientSecret               string
	CloudControllerUsernameLookupClientSecret string
	CCRoutingClientSecret                     string
	AppsMetricsClientSecret                   string
	AppsMetricsProcessingClientSecret         string
	LDAPUserPassword                          string
	DbEncryptionKey                           string
	CCDBPassword                              string
	StagingUploadPassword                     string
	MySQLProxyAPIPassword                     string
	RouterPass                                string
	MySQLAdminPassword                        string
	ConsoleDBPassword                         string
	ConsulEncryptKeys                         []string
	AppUsageDBPassword                        string
	AppsManagerSecretToken                    string
	AutoscaleBrokerPassword                   string
	AutoscaleDBPassword                       string
	NotificationsDBPassword                   string
}

func NewSecret

func NewSecret(c *cli.Context) Secret

type User

type User struct {
	CCInternalAPIUser     string
	MySQLBootstrapUser    string
	NATSUser              string
	StagingUploadUser     string
	CCDBUsername          string
	ConsoleDBUserName     string
	MySQLProxyAPIUsername string
	UAADBUserName         string
	AutoscaleDBUser       string
	RouterUser            string
	AutoscaleBrokerUser   string
	NotificationsDBUser   string
}

func NewUser

func NewUser(c *cli.Context) User

type VMType

type VMType struct {
	NatsVMType                  string
	ConsulVMType                string
	MySQLVMType                 string
	EtcdVMType                  string
	ClockGlobalVMType           string
	MySQLProxyVMType            string
	HAProxyVMType               string
	RouterVMType                string
	NFSVMType                   string
	CloudControllerVMType       string
	CloudControllerWorkerVMType string
	DiegoDBVMType               string
	UAAVMType                   string
	DiegoCellVMType             string
	DiegoBrainVMType            string
	DopplerVMType               string
	ErrandVMType                string
	LoggregratorVMType          string
}

func NewVMType

func NewVMType(c *cli.Context) VMType

Jump to

Keyboard shortcuts

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