Documentation
¶
Index ¶
- func CallAppsAPI(endpoint string, cli plugin.CliConnection) (res []string)
- func PrettyColumnPrint(appStatusArray []AppStat, cli plugin.CliConnection, writer io.Writer)
- type AppEntity
- type AppLocation
- type AppRecord
- type AppResource
- type AppStat
- type Apps
- type DiegoBlame
- type Entity
- type Metadata
- type Resource
- type SpaceEntity
- type SpaceResource
- type Stats
- type Usage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallAppsAPI ¶ added in v1.0.1
func CallAppsAPI(endpoint string, cli plugin.CliConnection) (res []string)
func PrettyColumnPrint ¶ added in v1.0.1
func PrettyColumnPrint(appStatusArray []AppStat, cli plugin.CliConnection, writer io.Writer)
Types ¶
type AppLocation ¶ added in v1.0.1
func GetLocation ¶ added in v1.0.1
func GetLocation(guid string, cli plugin.CliConnection) (loc AppLocation)
type AppRecord ¶ added in v1.0.1
type AppRecord struct { Location AppLocation AppInstances []AppStat }
type AppResource ¶ added in v1.0.1
type AppStat ¶
type AppStat struct { AppGUID string AppInstance string State string `json:"state"` Stats Stats `json:"stats"` }
func CallStatsAPI ¶ added in v1.0.1
func CallStatsAPI(guid string, cli plugin.CliConnection, hostSelector string) (res []AppStat)
type Apps ¶
type Apps struct { Total float64 `json:"total_results"` TotalPages float64 `json:"total_pages"` NextURL string `json:"next_url"` Resources []AppResource `json:"resources"` }
type DiegoBlame ¶
func (*DiegoBlame) GetMetadata ¶
func (c *DiegoBlame) GetMetadata() plugin.PluginMetadata
func (*DiegoBlame) GetVersionType ¶
func (c *DiegoBlame) GetVersionType() plugin.VersionType
func (*DiegoBlame) Run ¶
func (c *DiegoBlame) Run(cli plugin.CliConnection, args []string)
type SpaceEntity ¶ added in v1.0.1
type SpaceResource ¶ added in v1.0.1
type SpaceResource struct { Metadata Metadata `json:"metadata"` Entity SpaceEntity `json:"entity"` }
Click to show internal directories.
Click to hide internal directories.