Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { BaseURI string // contains filtered or unexported fields }
API represents the footloose REST API.
func (*API) ClusterURI ¶
ClusterURI returns the URI identifying a cluster in the REST API.
func (*API) MachineURI ¶
MachineURI returns the URI identifying a machine in the REST API.
type CreatedResponse ¶
type CreatedResponse struct {
URI string `json:"uri"`
}
CreatedResponse is the response POST entry points return when a resource has been successfully created.
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse is the response API entry points return when they encountered an error.
Click to show internal directories.
Click to hide internal directories.