Documentation
¶
Index ¶
- func ErrorFromResponse(p []byte) string
- type Environment
- type EnvironmentAttributes
- type Links
- type OrgsResponse
- type Project
- type RespManyEnvs
- type Response
- type Service
- type Snapshot
- type SnapshotAttributes
- type SnapshotsResponse
- type UUIDResponse
- type Volume
- type VolumeAttributes
- type VolumesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorFromResponse ¶
Types ¶
type Environment ¶
type Environment struct {
ID string `json:"id"`
Attributes EnvironmentAttributes `json:"attributes"`
}
type EnvironmentAttributes ¶ added in v1.7.0
type Links ¶
type OrgsResponse ¶
type OrgsResponse struct {
Data []struct {
Attributes struct {
Name string `json:"name"`
} `json:"attributes"`
} `json:"data"`
}
func UnmarshalOrgs ¶
func UnmarshalOrgs(body []byte) (*OrgsResponse, error)
type RespManyEnvs ¶
type RespManyEnvs struct {
Data []Environment `json:"data"`
Links Links `json:"links"`
}
func UnmarshalManyEnvs ¶
func UnmarshalManyEnvs(p []byte) (*RespManyEnvs, error)
type Snapshot ¶ added in v1.5.0
type Snapshot struct {
Attributes SnapshotAttributes `json:"attributes"`
ID string `json:"id"`
Type string `json:"type"`
}
type SnapshotAttributes ¶ added in v1.7.0
type SnapshotsResponse ¶ added in v1.5.0
type UUIDResponse ¶ added in v1.6.0
type UUIDResponse struct {
Data []string `json:"data"`
}
type Volume ¶ added in v1.5.0
type Volume struct {
Attributes VolumeAttributes `json:"attributes"`
ID string `json:"id"`
Type string `json:"type"`
}
type VolumeAttributes ¶ added in v1.7.0
type VolumesResponse ¶ added in v1.5.0
type VolumesResponse struct {
Data []Volume `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.