Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildPack ¶ added in v0.0.2
type BuildPack struct {
Metadata struct {
GUID string `json:"guid"`
URL string `json:"url"`
} `json:"metadata"`
Entity struct {
Name string `json:"name"`
Stack string `json:"stack"`
Position int `json:"position"`
Enabled bool `json:"enabled"`
Locked bool `json:"locked"`
Filename string `json:"filename"`
} `json:"entity"`
}
type BuildpacksJSON ¶ added in v0.0.2
type Spaces ¶
type Spaces []SpacesJSON
type SpacesJSON ¶
type SpacesJSON struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
PrevURL string `json:"prev_url"`
NextURL string `json:"next_url"`
Resources []struct {
Metadata struct {
GUID string `json:"guid"`
URL string `json:"url"`
} `json:"metadata"`
Entity struct {
Name string `json:"name"`
OrganizationGUID string `json:"organization_guid"`
} `json:"entity"`
} `json:"resources"`
}
type StacksJSON ¶
type StacksJSON struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
PrevURL string `json:"prev_url"`
NextURL string `json:"next_url"`
Resources []struct {
Metadata struct {
GUID string `json:"guid"`
URL string `json:"url"`
} `json:"metadata"`
Entity struct {
Name string `json:"name"`
} `json:"entity"`
} `json:"resources"`
}
type V2AppsJSON ¶ added in v0.0.2
Partial structure of JSON when hitting the /v2/apps endpoint
type V2ErrorJSON ¶ added in v0.0.3
type V3App ¶ added in v0.0.2
type V3App struct {
GUID string `json:"guid"`
Name string `json:"name"`
State string `json:"state"`
Lifecycle struct {
Data struct {
Stack string `json:"stack"`
} `json:"data"`
} `json:"lifecycle"`
Relationships struct {
Space struct {
Data struct {
GUID string `json:"guid"`
} `json:"data"`
} `json:"space"`
} `json:"relationships"`
}
type V3AppsJSON ¶ added in v0.0.2
type V3AppsJSON struct {
Pagination struct {
Next struct {
Href string `json:"href"`
} `json:"next"`
} `json:"pagination"`
Apps []V3App `json:"resources"`
}
Partial structure of JSON when hitting the /v3/apps endpoint
type V3ErrorJSON ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.