Documentation
¶
Index ¶
Constants ¶
View Source
const AppsResponse = `{
"resources": [{
"entity": {
"name": "test-app-1",
"space_guid": "space-x-id"
}
}
]}
`
View Source
const OrgsResponse = `` /* 303-byte string literal not displayed */
View Source
const SpacesResponse = `` /* 290-byte string literal not displayed */
View Source
const UsersResponse = `` /* 135-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppSummary ¶
type AppSummary struct {
Name string `json:"name"`
}
type Metadata ¶
type Metadata struct {
Totals Totals `json:"totals"`
Orgs []OrgSummary `json:"orgs"`
}
type MetadataGetter ¶
type MetadataGetter struct {
CfClient CfClient
}
func NewMetadataGetter ¶
func NewMetadataGetter(cfClient CfClient) (*MetadataGetter, error)
func (*MetadataGetter) Execute ¶
func (mg *MetadataGetter) Execute() (*Metadata, error)
type OrgSummary ¶
type OrgSummary struct {
Name string `json:"name"`
Spaces []SpaceSummary `json:"spaces"`
}
type SpaceSummary ¶
type SpaceSummary struct {
Name string `json:"name"`
Apps []AppSummary `json:"apps"`
}
Click to show internal directories.
Click to hide internal directories.