func (p *Plugin) GetFlags() []pcli.Flag {
	return []pcli.Flag{
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "deployment-name",
			Value:    defaultDeploymentName,
			Usage:    "the name bosh will use for this deployment",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "az",
			Usage:    "the list of Availability Zones where you wish to deploy gemfire",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "network-name",
			Usage:    "the network where you wish to deploy locators and servers",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "locator-static-ip",
			Usage:    "static IPs to assign to locator VMs",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "server-static-ip",
			Usage:    "static IPs to assign to server VMs - this is optional, if non given bosh will assign IPs and create instances based on the InstanceCount flag value",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "server-instance-count",
			Value:    defaultServerInstanceCount,
			Usage:    "the number of server instances you wish to deploy - if static ips are given this will be ignored",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-server-port",
			Value:    defaultServerPort,
			Usage:    "the port gemfire servers will listen on",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-port",
			Value:    defaultLocatorPort,
			Usage:    "the port gemfire locators will listen on",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-dev-rest-api-port",
			Value:    defaultDevRestPort,
			Usage:    "this will set the port the dev rest api listens on, if active",
		},
		pcli.Flag{
			FlagType: pcli.BoolFlag,
			Name:     "gemfire-dev-rest-api-active",
			Value:    defaultDevRestActive,
			Usage:    "set to true to activate the dev rest api on server nodes",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-vm-memory",
			Value:    defaultLocatorVMMemory,
			Usage:    "the amount of memory allocated by the locator process",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-server-vm-memory",
			Value:    defaultLocatorVMMemory,
			Usage:    "the amount of memory allocated by the server process",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-rest-port",
			Value:    defaultLocatorRestPort,
			Usage:    "the port gemfire locators rest service will listen on",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-locator-vm-size",
			Usage:    "the vm size of gemfire locators",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-server-vm-size",
			Usage:    "the vm size of gemfire servers",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-name",
			Value:    p.GetMeta().Stemcell.Name,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-alias",
			Value:    p.GetMeta().Stemcell.Alias,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-ver",
			Value:    p.GetMeta().Stemcell.Version,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-release-ver",
			Value:    releaseVersion,
			Usage:    "the version of the release to use for the deployment",
		},
		pcli.Flag{
			FlagType: pcli.BoolFlag,
			Name:     "use-authn",
			Usage:    "activates authN for your gemfire deployment",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-client-authenticator",
			Value:    SecurityClientAuthenticatorDefault,
			Usage:    "will populate: what should the value of the gemfire property for security-client-authenticator be - gemfire.authn.security_client_authenticator",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-client-accessor",
			Value:    SecurityClientAccessorDefault,
			Usage:    "will populate: what should the value of the gemfire property for security-client-accessor be - gemfire.authn.security_client_accessor",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "keystore-remote-path",
			Value:    KeystoreRemotePathDefault,
			Usage:    "will populate: path on remote system for your keystore - gemfire.authn.security_keystore_filepath",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "public-key-pass",
			Usage:    "will populate: password for the given key - gemfire.authn.security_publickey_pass",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "keystore-local-path",
			Usage:    "will populate: keystore file bits, base64 encoded - gemfire.authn.keystore_bits",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-jar-local-path",
			Usage:    "will populate: base64 encoding of authentication security jar - gemfire.authn.security_jar_base64_bits",
		},
	}
}
// GetFlags returns the CLI flags accepted by the plugin.
GetFlags returns the CLI flags accepted by the plugin.
// GetFlags returns the CLI flags accepted by the plugin .
func (p *Plugin) GetFlags() []pcli.Flag {
	return []pcli.Flag{
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "deployment-name",
			Value:    defaultDeploymentName,
			Usage:    "the name bosh will use for this deployment",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "az",
			Usage:    "the list of Availability Zones where you wish to deploy gemfire",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "network-name",
			Usage:    "the network where you wish to deploy locators and servers",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "locator-static-ip",
			Usage:    "static IPs to assign to locator VMs",
		},
		pcli.Flag{
			FlagType: pcli.StringSliceFlag,
			Name:     "server-static-ip",
			Usage:    "static IPs to assign to server VMs - this is optional, if non given bosh will assign IPs and create instances based on the InstanceCount flag value",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "server-instance-count",
			Value:    defaultServerInstanceCount,
			Usage:    "the number of server instances you wish to deploy - if static ips are given this will be ignored",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-server-port",
			Value:    defaultServerPort,
			Usage:    "the port gemfire servers will listen on",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-port",
			Value:    defaultLocatorPort,
			Usage:    "the port gemfire locators will listen on",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-dev-rest-api-port",
			Value:    defaultDevRestPort,
			Usage:    "this will set the port the dev rest api listens on, if active",
		},
		pcli.Flag{
			FlagType: pcli.BoolFlag,
			Name:     "gemfire-dev-rest-api-active",
			Value:    defaultDevRestActive,
			Usage:    "set to true to activate the dev rest api on server nodes",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-vm-memory",
			Value:    defaultLocatorVMMemory,
			Usage:    "the amount of memory allocated by the locator process",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-server-vm-memory",
			Value:    defaultLocatorVMMemory,
			Usage:    "the amount of memory allocated by the server process",
		},
		pcli.Flag{
			FlagType: pcli.IntFlag,
			Name:     "gemfire-locator-rest-port",
			Value:    defaultLocatorRestPort,
			Usage:    "the port gemfire locators rest service will listen on",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-locator-vm-size",
			Usage:    "the vm size of gemfire locators",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-server-vm-size",
			Usage:    "the vm size of gemfire servers",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-name",
			Value:    p.GetMeta().Stemcell.Name,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-alias",
			Value:    p.GetMeta().Stemcell.Alias,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "stemcell-ver",
			Value:    p.GetMeta().Stemcell.Version,
			Usage:    "the name of the stemcell you with to use",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "gemfire-release-ver",
			Value:    releaseVersion,
			Usage:    "the version of the release to use for the deployment",
		},
		pcli.Flag{
			FlagType: pcli.BoolFlag,
			Name:     "use-authn",
			Usage:    "activates authN for your gemfire deployment",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-client-authenticator",
			Value:    SecurityClientAuthenticatorDefault,
			Usage:    "will populate: what should the value of the gemfire property for security-client-authenticator be - gemfire.authn.security_client_authenticator",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-client-accessor",
			Value:    SecurityClientAccessorDefault,
			Usage:    "will populate: what should the value of the gemfire property for security-client-accessor be - gemfire.authn.security_client_accessor",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "keystore-remote-path",
			Value:    KeystoreRemotePathDefault,
			Usage:    "will populate: path on remote system for your keystore - gemfire.authn.security_keystore_filepath",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "public-key-pass",
			Usage:    "will populate: password for the given key - gemfire.authn.security_publickey_pass",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "keystore-local-path",
			Usage:    "will populate: keystore file bits, base64 encoded - gemfire.authn.keystore_bits",
		},
		pcli.Flag{
			FlagType: pcli.StringFlag,
			Name:     "security-jar-local-path",
			Usage:    "will populate: base64 encoding of authentication security jar - gemfire.authn.security_jar_base64_bits",
		},
	}
}
func ( p * Plugin ) GetFlags ( ) [ ] pcli . Flag { return [ ] pcli . Flag { pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : defaultDeploymentName , Usage : " " , } , pcli . Flag { FlagType : pcli . StringSliceFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringSliceFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringSliceFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultServerInstanceCount , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultServerPort , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultLocatorPort , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultDevRestPort , Usage : " " , } , pcli . Flag { FlagType : pcli . BoolFlag , Name : " " , Value : defaultDevRestActive , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultLocatorVMMemory , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultLocatorVMMemory , Usage : " " , } , pcli . Flag { FlagType : pcli . IntFlag , Name : " " , Value : defaultLocatorRestPort , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : p . GetMeta ( ) . Stemcell . Name , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : p . GetMeta ( ) . Stemcell . Alias , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : p . GetMeta ( ) . Stemcell . Version , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : releaseVersion , Usage : " " , } , pcli . Flag { FlagType : pcli . BoolFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : SecurityClientAuthenticatorDefault , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : SecurityClientAccessorDefault , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Value : KeystoreRemotePathDefault , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , pcli . Flag { FlagType : pcli . StringFlag , Name : " " , Usage : " " , } , } }
GetFlags returns the CLI flags accepted by the plugin.
GetFlags returns the CLI flags accepted by the plugin .