Documentation
¶
Index ¶
- func NewAWSBosh(cfg BoshInitConfig) *enaml.DeploymentManifest
- func NewAWSCloudProvider(awsElasticIP, awsPEMFilePath string, awsProperty aws_cpi.Aws, ...) enaml.CloudProvider
- func NewAzureBosh(cfg BoshInitConfig) *enaml.DeploymentManifest
- func NewAzureCloudProvider(myazure cpi.Azure, cpiTemplate enaml.Template, pubip, keypath string, ...) enaml.CloudProvider
- func NewAzureProperty(azureenv, subid, tenantid, clientid, clientsecret, resourcegroup, ... string) cpi.Azure
- func NewBoshDeploymentBase(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 NewAzureBosh ¶ added in v0.0.7
func NewAzureBosh(cfg BoshInitConfig) *enaml.DeploymentManifest
func NewAzureCloudProvider ¶ added in v0.0.7
func NewAzureProperty ¶ added in v0.0.7
func NewBoshDeploymentBase ¶ added in v0.0.7
func NewBoshDeploymentBase(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
AzurePublicIP string
AzureVnet string
AzureSubnet string
AzureSubscriptionID string
AzureTenantID string
AzureClientID string
AzureClientSecret string
AzureResourceGroup string
AzureStorageAccount string
AzureDefaultSecurityGroup string
AzureSSHPubKey string
AzureSSHUser string
AzureEnvironment string
AzurePrivateKeyPath 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.