gemfire_plugin

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecurityClientAuthenticatorDefault = "DummyAuthenticator.create"
	SecurityClientAccessorDefault      = "templates.security.SimpleAuthorization.create"
	KeystoreRemotePathDefault          = "/usr/local/share/ca-certificates/gemfire.cer"
)

Variables

View Source
var (
	ActiveAuthNErr = fmt.Errorf("When you activate authn you must set (public-key-pass, keystore-local-path, security-jar-local-path )")
)

Functions

This section is empty.

Types

type LocatorGroup

type LocatorGroup struct {
	StaticIPs   []string
	NetworkName string
	Port        int
	RestPort    int
	VMMemory    int
	VMType      string
}

func NewLocatorGroup

func NewLocatorGroup(networkname string, staticips []string, port, restport, vmmemory int, vmtype string) *LocatorGroup

func (*LocatorGroup) GetInstanceGroup

func (s *LocatorGroup) GetInstanceGroup() *enaml.InstanceGroup

type Plugin

type Plugin struct {
	Version string `omg:"-"`

	DeploymentName              string
	NetworkName                 string
	GemfireReleaseVer           string
	StemcellName                string
	StemcellVer                 string
	StemcellAlias               string
	AZs                         []string `omg:"az"`
	LocatorStaticIPs            []string `omg:"locator-static-ip"`
	ServerStaticIPs             []string `omg:"server-static-ip,optional"`
	ServerInstanceCount         int
	GemfireLocatorPort          int
	GemfireLocatorRestPort      int
	GemfireServerPort           int
	GemfireLocatorVMMemory      int    `omg:"gemfire-locator-vm-memory"`
	GemfireLocatorVMSize        string `omg:"gemfire-locator-vm-size"`
	GemfireServerVMSize         string `omg:"gemfire-server-vm-size"`
	GemfireServerVMMemory       int    `omg:"gemfire-server-vm-memory"`
	ServerDevRestAPIPort        int    `omg:"gemfire-dev-rest-api-port"`
	ServerDevActive             bool   `omg:"gemfire-dev-rest-api-active"`
	AuthnActive                 bool   `omg:"use-authn,optional"`
	SecurityClientAuthenticator string `omg:"security-client-authenticator,optional"`
	SecurityClientAccessor      string `omg:"security-client-accessor,optional"`
	KeystoreRemotePath          string `omg:"keystore-remote-path,optional"`
	PublicKeyPass               string `omg:"public-key-pass,optional"`
	KeystoreLocalPath           string `omg:"keystore-local-path,optional"`
	SecurityJarLocalPath        string `omg:"security-jar-local-path,optional"`
}

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-gemfire 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-gemfire.

type ServerGroup

type ServerGroup struct {
	Locator       *LocatorGroup
	InstanceCount int
	NetworkName   string
	VMType        string
	Port          int
	VMMemory      int
	StaticIPs     []string
	DevRestPort   int
	DevRestActive bool
}

func NewServerGroup

func NewServerGroup(networkname string, serverport int, instanceCount int, staticIPs []string, vmtype string, vmmemory int, devrestport int, devrestactive bool, locator *LocatorGroup) *ServerGroup

func (*ServerGroup) GetInstanceGroup

func (s *ServerGroup) GetInstanceGroup(authnConfig server.Authn) *enaml.InstanceGroup

Jump to

Keyboard shortcuts

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