prabbitmq

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: 16 Imported by: 0

Documentation

Index

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) GetFlags

func (p *Plugin) GetFlags() []pcli.Flag

GetFlags returns the CLI flags accepted by the plugin.

func (*Plugin) GetMeta

func (p *Plugin) GetMeta() product.Meta

GetMeta returns metadata about the p-rabbitmq product.

func (*Plugin) GetProduct

func (p *Plugin) GetProduct(args []string, cloudConfig []byte, cs cred.Store) ([]byte, error)

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

Jump to

Keyboard shortcuts

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