rpc

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2015 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMethodIfExists

func RunMethodIfExists(rpcService *CliRpcService, args []string, pluginList map[string]plugin_config.PluginMetadata) bool

Types

type CliRpcCmd

type CliRpcCmd struct {
	PluginMetadata *plugin.PluginMetadata
	// contains filtered or unexported fields
}

func (*CliRpcCmd) AccessToken

func (cmd *CliRpcCmd) AccessToken(args string, retVal *string) error

func (*CliRpcCmd) ApiEndpoint

func (cmd *CliRpcCmd) ApiEndpoint(args string, retVal *string) error

func (*CliRpcCmd) ApiVersion

func (cmd *CliRpcCmd) ApiVersion(args string, retVal *string) error

func (*CliRpcCmd) CallCoreCommand

func (cmd *CliRpcCmd) CallCoreCommand(args []string, retVal *bool) error

func (*CliRpcCmd) DisableTerminalOutput

func (cmd *CliRpcCmd) DisableTerminalOutput(disable bool, retVal *bool) error

func (*CliRpcCmd) DopplerEndpoint

func (cmd *CliRpcCmd) DopplerEndpoint(args string, retVal *string) error

func (*CliRpcCmd) GetApp

func (cmd *CliRpcCmd) GetApp(appName string, retVal *plugin_models.GetAppModel) error

func (*CliRpcCmd) GetApps

func (cmd *CliRpcCmd) GetApps(_ string, retVal *[]plugin_models.GetAppsModel) error

func (*CliRpcCmd) GetCurrentOrg

func (cmd *CliRpcCmd) GetCurrentOrg(args string, retVal *plugin_models.Organization) error

func (*CliRpcCmd) GetCurrentSpace

func (cmd *CliRpcCmd) GetCurrentSpace(args string, retVal *plugin_models.Space) error

func (*CliRpcCmd) GetOrg

func (cmd *CliRpcCmd) GetOrg(orgName string, retVal *plugin_models.GetOrg_Model) error

func (*CliRpcCmd) GetOrgUsers

func (cmd *CliRpcCmd) GetOrgUsers(args []string, retVal *[]plugin_models.GetOrgUsers_Model) error

func (*CliRpcCmd) GetOrgs

func (cmd *CliRpcCmd) GetOrgs(_ string, retVal *[]plugin_models.GetOrgs_Model) error

func (*CliRpcCmd) GetOutputAndReset

func (cmd *CliRpcCmd) GetOutputAndReset(args bool, retVal *[]string) error

func (*CliRpcCmd) GetService

func (cmd *CliRpcCmd) GetService(serviceInstance string, retVal *plugin_models.GetService_Model) error

func (*CliRpcCmd) GetServices

func (cmd *CliRpcCmd) GetServices(_ string, retVal *[]plugin_models.GetServices_Model) error

func (*CliRpcCmd) GetSpace

func (cmd *CliRpcCmd) GetSpace(spaceName string, retVal *plugin_models.GetSpace_Model) error

func (*CliRpcCmd) GetSpaceUsers

func (cmd *CliRpcCmd) GetSpaceUsers(args []string, retVal *[]plugin_models.GetSpaceUsers_Model) error

func (*CliRpcCmd) GetSpaces

func (cmd *CliRpcCmd) GetSpaces(_ string, retVal *[]plugin_models.GetSpaces_Model) error

func (*CliRpcCmd) HasAPIEndpoint

func (cmd *CliRpcCmd) HasAPIEndpoint(args string, retVal *bool) error

func (*CliRpcCmd) HasOrganization

func (cmd *CliRpcCmd) HasOrganization(args string, retVal *bool) error

func (*CliRpcCmd) HasSpace

func (cmd *CliRpcCmd) HasSpace(args string, retVal *bool) error

func (*CliRpcCmd) IsLoggedIn

func (cmd *CliRpcCmd) IsLoggedIn(args string, retVal *bool) error

func (*CliRpcCmd) IsMinCliVersion

func (cmd *CliRpcCmd) IsMinCliVersion(version string, retVal *bool) error

func (*CliRpcCmd) IsSSLDisabled

func (cmd *CliRpcCmd) IsSSLDisabled(args string, retVal *bool) error

func (*CliRpcCmd) LoggregatorEndpoint

func (cmd *CliRpcCmd) LoggregatorEndpoint(args string, retVal *string) error

func (*CliRpcCmd) SetPluginMetadata

func (cmd *CliRpcCmd) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool) error

func (*CliRpcCmd) UserEmail

func (cmd *CliRpcCmd) UserEmail(args string, retVal *string) error

func (*CliRpcCmd) UserGuid

func (cmd *CliRpcCmd) UserGuid(args string, retVal *string) error

func (*CliRpcCmd) Username

func (cmd *CliRpcCmd) Username(args string, retVal *string) error

type CliRpcService

type CliRpcService struct {
	Pinged bool
	RpcCmd *CliRpcCmd
	// contains filtered or unexported fields
}

func NewRpcService

func NewRpcService(commandRunner *cli.App, outputCapture terminal.OutputCapture, terminalOutputSwitch terminal.TerminalOutputSwitch, cliConfig core_config.Repository, repoLocator api.RepositoryLocator, newCmdRunner NonCodegangstaRunner) (*CliRpcService, error)

func (*CliRpcService) Port

func (cli *CliRpcService) Port() string

func (*CliRpcService) SetTheApp

func (cmd *CliRpcService) SetTheApp(app *cli.App)

func (*CliRpcService) Start

func (cli *CliRpcService) Start() error

func (*CliRpcService) Stop

func (cli *CliRpcService) Stop()

type NonCodegangstaRunner

type NonCodegangstaRunner interface {
	Command([]string, command_registry.Dependency, bool) error
}

func NewNonCodegangstaRunner

func NewNonCodegangstaRunner() NonCodegangstaRunner

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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