Documentation ¶
Index ¶
- Constants
- type Application
- type ApplicationEntity
- type ApplicationMetadata
- type Applications
- type ApplicationsParser
- type ApplicationsResponse
- type Organization
- type OrganizationEntity
- type OrganizationMetadata
- type Space
- type SpaceEntity
- type SpaceMetadata
- type Spaces
- type SpacesParser
- type SpacesResponse
Constants ¶
View Source
const ( Started = "STARTED" Stopped = "STOPPED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ApplicationEntity `json:"entity"` ApplicationMetadata `json:"metadata"` }
type ApplicationEntity ¶
type ApplicationMetadata ¶
type ApplicationMetadata struct {
Guid string `json:"guid"`
}
type Applications ¶
type Applications []Application
type ApplicationsParser ¶
type ApplicationsParser struct{}
func (ApplicationsParser) Parse ¶
func (a ApplicationsParser) Parse(body []byte) (Applications, error)
type ApplicationsResponse ¶
type ApplicationsResponse struct {
Resources Applications `json:"resources"`
}
type Organization ¶
type Organization struct { OrganizationEntity `json:"entity"` OrganizationMetadata `json:"metadata"` }
type OrganizationEntity ¶
type OrganizationEntity struct {
Name string `json:"name"`
}
type OrganizationMetadata ¶
type OrganizationMetadata struct {
Guid string `json:"guid"`
}
type Space ¶
type Space struct { SpaceEntity `json:"entity"` SpaceMetadata `json:"metadata"` }
type SpaceEntity ¶
type SpaceEntity struct { Name string `json:"name"` OrganizationGuid string `json:"organization_guid"` Organization Organization `json:"organization"` }
type SpaceMetadata ¶
type SpaceMetadata struct {
Guid string `json:"guid"`
}
type SpacesParser ¶
type SpacesParser struct{}
type SpacesResponse ¶
type SpacesResponse struct {
Resources Spaces `json:"resources"`
}
Click to show internal directories.
Click to hide internal directories.