Documentation
¶
Index ¶
- func NewAWSBosh(cfg BoshInitConfig) *enaml.DeploymentManifest
- func NewAWSCloudProvider(awsElasticIP, awsPEMFilePath string, awsProperty aws_cpi.Aws, ...) enaml.CloudProvider
- func NewBoshDeployment(cfg BoshInitConfig, cpiname string, ntpProperty []string) *enaml.DeploymentManifest
- func NewHealthMonitor(resurrectorEnabled bool) health_monitor.Hm
- func NewNTP(ntp ...string) []string
- func NewNats(user, pass string) director.Nats
- type Ar
- type BoshInitConfig
- type DirectorProperty
- type PgSql
- type Postgres
- type RegistryProperty
- type Rr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSBosh ¶
func NewAWSBosh(cfg BoshInitConfig) *enaml.DeploymentManifest
func NewAWSCloudProvider ¶
func NewBoshDeployment ¶
func NewBoshDeployment(cfg BoshInitConfig, cpiname string, ntpProperty []string) *enaml.DeploymentManifest
func NewHealthMonitor ¶
func NewHealthMonitor(resurrectorEnabled bool) health_monitor.Hm
Types ¶
type BoshInitConfig ¶
type BoshInitConfig struct {
Name string
BoshReleaseVersion string
BoshReleaseSHA string
BoshPrivateIP string
BoshCPIReleaseVersion string
BoshCPIReleaseSHA string
GoAgentVersion string
GoAgentSHA string
BoshAvailabilityZone string
BoshInstanceSize string
BoshDirectorName string
AWSSubnet string
AWSElasticIP string
AWSPEMFilePath string
AWSAccessKeyID string
AWSSecretKey string
AWSRegion string
AWSSecurityGroups []string
}
type DirectorProperty ¶
func NewDirectorProperty ¶
func NewDirectorProperty(name, cpijob string, db *director.Db) DirectorProperty
type PgSql ¶
func NewPostgres ¶
func (*PgSql) GetDirectorDB ¶
func (*PgSql) GetPostgresDB ¶
func (*PgSql) GetRegistryDB ¶
type RegistryProperty ¶
type RegistryProperty struct {
Rr `yaml:",inline"`
Ar `yaml:",inline"`
Address string `yaml:"address"`
}
func GetRegistry ¶
func GetRegistry(cfg BoshInitConfig, postgresDB *PgSql) RegistryProperty
Source Files
¶
Click to show internal directories.
Click to hide internal directories.