Documentation
¶
Index ¶
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 (c Client) GetApplication(appName string) (Application, error)
func (Client) GetCurrentOrg ¶
func (Client) GetCurrentSpace ¶
type Space ¶
type Space struct {
Name string
Applications []Application
}
Click to show internal directories.
Click to hide internal directories.