Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (p *Plugin) GetFlags() []pcli.Flag
- func (p *Plugin) GetMeta() product.Meta
- func (p *Plugin) GetProduct(args []string, cloudConfig []byte, cs cred.Store) ([]byte, error)
- func (p *Plugin) NewRabbitMQBrokerDeregistrar(c *Config) *enaml.InstanceGroup
- func (p *Plugin) NewRabbitMQBrokerPartition(c *Config) *enaml.InstanceGroup
- func (p *Plugin) NewRabbitMQBrokerRegistrar(c *Config) *enaml.InstanceGroup
- func (p *Plugin) NewRabbitMQHAProxyPartition(c *Config) *enaml.InstanceGroup
- func (p *Plugin) NewRabbitMQServerPartition(c *Config) *enaml.InstanceGroup
Constants ¶
View Source
const ( // ProductVersion is the version of p-rabbitmq that is deployed. ProductVersion = "1.6.6" CFRabbitMQReleaseName = "cf-rabbitmq" CFRabbitMQReleaseVersion = "215.8.0" ServiceMetricsReleaseName = "service-metrics" ServiceMetricsReleaseVersion = "1.4.3" LoggregatorReleaseName = "loggregator" LoggregatorReleaseVersion = "9" RabbitMQMetricsReleaseName = "rabbitmq-metrics" RabbitMQMetricsReleaseVersion = "1.29.0" StemcellName = "ubuntu-trusty" StemcellAlias = "trusty" StemcellVersion = "3232.17" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DeploymentName string `omg:"deployment-name"` AZs []string `omg:"az"` AdminPassword string `omg:"rabbit-admin-password"` SystemDomain string ServiceAdminPassword string PublicIP string `omg:"rabbit-public-ip"` Network string StemcellVersion string `omg:"stemcell-ver"` ServerIPs []string `omg:"rabbit-server-ip"` BrokerIP string `omg:"rabbit-broker-ip"` BrokerPassword string SyslogAddress string SyslogPort int NATSMachines []string `omg:"nats-machine-ip"` NATSPort int `omg:"nats-port"` NATSPassword string `omg:"nats-pass"` HAProxyStatsAdminPassword string `omg:"haproxy-stats-password"` SystemServicesPassword string SkipSSLVerify bool `omg:"skip-ssl-verify"` MetronZone string `omg:"doppler-zone"` MetronSecret string `omg:"doppler-shared-secret"` EtcdMachines []string `omg:"etcd-machine-ip"` BrokerVMType string `omg:"rabbit-broker-vm-type"` ServerVMType string `omg:"rabbit-server-vm-type"` HAProxyVMType string `omg:"rabbit-haproxy-vm-type"` }
Config is used as input for generating instance groups.
type Plugin ¶
type Plugin struct {
Version string
}
Plugin is an omg product plugin for deploying p-rabbitmq.
func (*Plugin) GetMeta ¶
func (p *Plugin) GetMeta() product.Meta
GetMeta returns metadata about the p-rabbitmq product.
func (*Plugin) GetProduct ¶
GetProduct generates a BOSH deployment manifest for p-rabbitmq.
func (*Plugin) NewRabbitMQBrokerDeregistrar ¶
func (p *Plugin) NewRabbitMQBrokerDeregistrar(c *Config) *enaml.InstanceGroup
func (*Plugin) NewRabbitMQBrokerPartition ¶
func (p *Plugin) NewRabbitMQBrokerPartition(c *Config) *enaml.InstanceGroup
func (*Plugin) NewRabbitMQBrokerRegistrar ¶
func (p *Plugin) NewRabbitMQBrokerRegistrar(c *Config) *enaml.InstanceGroup
func (*Plugin) NewRabbitMQHAProxyPartition ¶
func (p *Plugin) NewRabbitMQHAProxyPartition(c *Config) *enaml.InstanceGroup
func (*Plugin) NewRabbitMQServerPartition ¶
func (p *Plugin) NewRabbitMQServerPartition(c *Config) *enaml.InstanceGroup
Click to show internal directories.
Click to hide internal directories.