redis

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

Documentation

Index

Constants

View Source
const (
	StemcellName    = "trusty"
	StemcellAlias   = "trusty"
	StemcellVersion = "3263.8"
	BoshReleaseURL  = "https://bosh.io/d/github.com/cloudfoundry-community/redis-boshrelease?v=12"
	BoshReleaseVer  = "12"
	BoshReleaseSHA  = "324910eaf68e8803ad2317d5a2f5f6a06edc0a40"
	Master          = iota
	Slave
	Errand
	Pool
)

Variables

This section is empty.

Functions

func NewRedisJob

func NewRedisJob(name, networkName, pass, disk, vmSize string, masterIPs, slaveIPs []string, instances int, jobType int) (job enaml.Job)

Types

type Plugin

type Plugin struct {
	PluginVersion   string   `omg:"-"`
	LeaderIP        []string `omg:"leader-ip"`
	LeaderInstances int
	RedisPassword   string `omg:"redis-pass"`
	PoolInstances   int
	DiskSize        string
	SlaveInstances  int
	ErrandInstances int
	SlaveIP         []string `omg:"slave-ip"`
	NetworkName     string
	VMSize          string `omg:"vm-size"`
	StemcellURL     string `omg:"stemcell-url,optional"`
	StemcellVersion string `omg:"stemcell-ver"`
	StemcellSHA     string `omg:"stemcell-sha,optional"`
	StemcellName    string
}

func (*Plugin) GetFlags

func (s *Plugin) GetFlags() (flags []pcli.Flag)

func (*Plugin) GetMeta

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

func (*Plugin) GetProduct

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

Jump to

Keyboard shortcuts

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