Documentation ¶
Overview ¶
The sla package implements wireformats for the sla service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SLARequest ¶
type SLARequest struct { ModelUUID string `json:"model"` Level string `json:"sla"` Budget string `json:"budget"` }
SLARequest defines the json used to post to sla service.
type SLAResponse ¶
type SLAResponse struct { Owner string `json:"owner"` Credentials *macaroon.Macaroon `json:"credentials"` Message string `json:"message,omitempty"` }
SLAResponse defines the json response when an sla is set.
Click to show internal directories.
Click to hide internal directories.