rpcserver

package
v6.49.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers interface {
	IsMinCliVersion(args string, retVal *bool) error
	SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool) error
	DisableTerminalOutput(disable bool, retVal *bool) error
	CallCoreCommand(args []string, retVal *bool) error
	GetOutputAndReset(args bool, retVal *[]string) error
	GetCurrentOrg(args string, retVal *plugin_models.Organization) error
	GetCurrentSpace(args string, retVal *plugin_models.Space) error
	Username(args string, retVal *string) error
	UserGuid(args string, retVal *string) error
	UserEmail(args string, retVal *string) error
	IsLoggedIn(args string, retVal *bool) error
	IsSSLDisabled(args string, retVal *bool) error
	HasOrganization(args string, retVal *bool) error
	HasSpace(args string, retVal *bool) error
	ApiEndpoint(args string, retVal *string) error
	HasAPIEndpoint(args string, retVal *bool) error
	ApiVersion(args string, retVal *string) error
	LoggregatorEndpoint(args string, retVal *string) error
	DopplerEndpoint(args string, retVal *string) error
	AccessToken(args string, retVal *string) error
	GetApp(appName string, retVal *plugin_models.GetAppModel) error
	GetApps(args string, retVal *[]plugin_models.GetAppsModel) error
	GetOrgs(args string, retVal *[]plugin_models.GetOrgs_Model) error
	GetSpaces(args string, retVal *[]plugin_models.GetSpaces_Model) error
	GetServices(args string, retVal *[]plugin_models.GetServices_Model) error
	GetOrgUsers(args []string, retVal *[]plugin_models.GetOrgUsers_Model) error
	GetSpaceUsers(args []string, retVal *[]plugin_models.GetSpaceUsers_Model) error
	GetOrg(orgName string, retVal *plugin_models.GetOrg_Model) error
	GetSpace(spaceName string, retVal *plugin_models.GetSpace_Model) error
	GetService(serviceInstance string, retVal *plugin_models.GetService_Model) error
}

type TestServer

type TestServer struct {
	Handlers Handlers
	// contains filtered or unexported fields
}

func NewTestRPCServer

func NewTestRPCServer(handlers Handlers) (*TestServer, error)

func (*TestServer) Port

func (ts *TestServer) Port() string

func (*TestServer) Start

func (ts *TestServer) Start() error

func (*TestServer) Stop

func (ts *TestServer) Stop()

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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