Documentation ¶
Index ¶
- func NewDummy(config *bltconfig.Config, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner, ...) *dummy
- type Agent
- type Blobs
- type CPIConfig
- type ConfigServerOptions
- type ConfigServerService
- type Database
- type DirectorConfig
- type DirectorOptions
- type DirectorService
- type MysqlDatabase
- type NatsServerOptions
- type NatsService
- type NginxService
- type PortWaiter
- type PostgresqlDatabase
- func (p *PostgresqlDatabase) Create() error
- func (p *PostgresqlDatabase) Drop() error
- func (p *PostgresqlDatabase) Name() string
- func (d *PostgresqlDatabase) Password() string
- func (d *PostgresqlDatabase) Port() int
- func (d *PostgresqlDatabase) Server() string
- func (d *PostgresqlDatabase) User() string
- type UAAService
- type UAAServiceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigServerOptions ¶
type ConfigServerService ¶
type ConfigServerService struct {
// contains filtered or unexported fields
}
func NewConfigServerService ¶
func NewConfigServerService( startCommand string, options ConfigServerOptions, cmdRunner boshsys.CmdRunner, assetsProvider bltassets.Provider, fs boshsys.FileSystem, portWaiter PortWaiter, ) *ConfigServerService
func (*ConfigServerService) Start ¶
func (u *ConfigServerService) Start() error
func (*ConfigServerService) Stop ¶
func (u *ConfigServerService) Stop()
type DirectorConfig ¶
type DirectorConfig struct {
// contains filtered or unexported fields
}
func NewDirectorConfig ¶
func NewDirectorConfig( options DirectorOptions, fs boshsys.FileSystem, assetsProvider bltassets.Provider, numWorkers int, ) *DirectorConfig
func (*DirectorConfig) CPIConfigPath ¶
func (c *DirectorConfig) CPIConfigPath() string
func (*DirectorConfig) CPIPath ¶
func (c *DirectorConfig) CPIPath() string
func (*DirectorConfig) DirectorConfigPath ¶
func (c *DirectorConfig) DirectorConfigPath() string
func (*DirectorConfig) DirectorPort ¶
func (c *DirectorConfig) DirectorPort() int
func (*DirectorConfig) WorkerConfigPath ¶
func (c *DirectorConfig) WorkerConfigPath(index int) string
func (*DirectorConfig) Write ¶
func (c *DirectorConfig) Write() error
type DirectorOptions ¶
type DirectorOptions struct { Port int DatabaseName string DatabaseServer string DatabaseUser string DatabasePassword string DatabasePort int BaseDir string DummyCPIPath string RubyVersion string VerifyMultidigestPath string UAAEnabled bool ConfigServerEnabled bool AssetsPath string MaxCpiAPIVersion int PreferredCpiAPIVersion int }
type DirectorService ¶
type DirectorService struct {
// contains filtered or unexported fields
}
func NewDirectorService ¶
func NewDirectorService( directorMigrationCommand string, directorStartCommand string, workerStartCommand string, directorConfig *DirectorConfig, cmdRunner boshsys.CmdRunner, assetsProvider bltassets.Provider, portWaiter PortWaiter, numWorkers int, ) *DirectorService
func (*DirectorService) Start ¶
func (s *DirectorService) Start() error
func (*DirectorService) Stop ¶
func (s *DirectorService) Stop()
type MysqlDatabase ¶
type MysqlDatabase struct {
// contains filtered or unexported fields
}
func NewMysqlDatabase ¶
func NewMysqlDatabase(name string, cmdRunner boshsys.CmdRunner) *MysqlDatabase
func (*MysqlDatabase) Create ¶
func (m *MysqlDatabase) Create() error
func (*MysqlDatabase) Drop ¶
func (m *MysqlDatabase) Drop() error
func (*MysqlDatabase) Name ¶
func (m *MysqlDatabase) Name() string
func (*MysqlDatabase) Password ¶
func (m *MysqlDatabase) Password() string
func (*MysqlDatabase) Port ¶
func (m *MysqlDatabase) Port() int
func (*MysqlDatabase) Server ¶
func (m *MysqlDatabase) Server() string
func (*MysqlDatabase) User ¶
func (m *MysqlDatabase) User() string
type NatsServerOptions ¶
type NatsService ¶
type NatsService struct {
// contains filtered or unexported fields
}
func NewNatsService ¶
func NewNatsService( options NatsServerOptions, natsStartCommand string, cmdRunner boshsys.CmdRunner, assetsProvider bltassets.Provider, fs boshsys.FileSystem, portWaiter PortWaiter, ) *NatsService
func (*NatsService) Start ¶
func (s *NatsService) Start() error
func (*NatsService) Stop ¶
func (s *NatsService) Stop()
type NginxService ¶
type NginxService struct {
// contains filtered or unexported fields
}
func NewNginxService ¶
func NewNginxService( nginxStartCommand string, directorPort int, nginxPort int, cmdRunner boshsys.CmdRunner, assetsProvider bltassets.Provider, portWaiter PortWaiter, ) *NginxService
func (*NginxService) Start ¶
func (s *NginxService) Start() error
func (*NginxService) Stop ¶
func (s *NginxService) Stop()
type PortWaiter ¶
func NewPortWaiter ¶
func NewPortWaiter(attempts int, delay time.Duration) PortWaiter
type PostgresqlDatabase ¶
type PostgresqlDatabase struct {
// contains filtered or unexported fields
}
func NewPostgresqlDatabase ¶
func NewPostgresqlDatabase(name string, cmdRunner boshsys.CmdRunner) *PostgresqlDatabase
func (*PostgresqlDatabase) Create ¶
func (p *PostgresqlDatabase) Create() error
func (*PostgresqlDatabase) Drop ¶
func (p *PostgresqlDatabase) Drop() error
func (*PostgresqlDatabase) Name ¶
func (p *PostgresqlDatabase) Name() string
func (*PostgresqlDatabase) Password ¶
func (d *PostgresqlDatabase) Password() string
func (*PostgresqlDatabase) Port ¶
func (d *PostgresqlDatabase) Port() int
func (*PostgresqlDatabase) Server ¶
func (d *PostgresqlDatabase) Server() string
func (*PostgresqlDatabase) User ¶
func (d *PostgresqlDatabase) User() string
type UAAService ¶
type UAAService struct {
// contains filtered or unexported fields
}
func NewUAAService ¶
func NewUAAService( options UAAServiceOptions, cmdRunner boshsys.CmdRunner, assetsProvider bltassets.Provider, fs boshsys.FileSystem, logger boshlog.Logger, ) *UAAService
func (*UAAService) Start ¶
func (u *UAAService) Start() error
func (*UAAService) Stop ¶
func (u *UAAService) Stop()
Click to show internal directories.
Click to hide internal directories.