prabbitmq

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2016 License: Apache-2.0 Imports: 15 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
	AZs                       []string
	SystemDomain              string
	AdminPassword             string
	ServiceAdminPassword      string
	PublicIP                  string
	Network                   string
	StemcellVersion           string
	ServerIPs                 []string
	BrokerIP                  string
	BrokerPassword            string
	SyslogAddress             string
	SyslogPort                int
	NATSMachines              []string
	NATSPort                  int
	NATSPassword              string
	HAProxyStatsAdminPassword string
	SystemServicesPassword    string
	SkipSSLVerify             bool
	MetronZone                string
	MetronSecret              string
	EtcdMachines              []string
	BrokerVMType              string
	ServerVMType              string
	HAProxyVMType             string
}

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) ([]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