Documentation
¶
Index ¶
- type Application
- type Cli
- type Client
- func (c Client) GetApplication(logger lager.Logger, appName string) (Application, error)
- func (c Client) GetCurrentOrg(logger lager.Logger) (string, error)
- func (c Client) GetCurrentSpace(logger lager.Logger) (string, error)
- func (c Client) GetSpaces(logger lager.Logger) ([]Space, error)
- func (c Client) Username(logger lager.Logger) (string, error)
- type Instance
- type ProcessInstanceIDFetcher
- type Space
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Cli ¶
type Cli interface {
GetApp(string) (plugin_models.GetAppModel, error)
GetCurrentOrg() (plugin_models.Organization, error)
GetCurrentSpace() (plugin_models.Space, error)
GetSpace(spaceName string) (plugin_models.GetSpace_Model, error)
GetSpaces() ([]plugin_models.GetSpaces_Model, error)
Username() (string, error)
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cli Cli, processInstanceIDFetcher ProcessInstanceIDFetcher) Client
func (Client) GetApplication ¶
func (Client) GetCurrentSpace ¶
type Space ¶
type Space struct {
Name string
Applications []Application
}
Click to show internal directories.
Click to hide internal directories.