Documentation ¶
Index ¶
- func BuildListLabelsPayload(labelsListLabelsTeam string, labelsListLabelsTeams string, ...) (*labels.ListLabelsPayload, error)
- func DecodeListLabelsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeListLabelsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func ListLabelsLabelsPath() string
- func NewListLabelsLabelsOK(body *ListLabelsResponseBody) *labelsviews.LabelsView
- type Client
- type ListLabelsResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildListLabelsPayload ¶
func BuildListLabelsPayload(labelsListLabelsTeam string, labelsListLabelsTeams string, labelsListLabelsStatus string, labelsListLabelsAtDate string, labelsListLabelsMinDate string, labelsListLabelsMaxDate string, labelsListLabelsIdentifiers string) (*labels.ListLabelsPayload, error)
BuildListLabelsPayload builds the payload for the labels List labels endpoint from CLI flags.
func DecodeListLabelsResponse ¶
func DecodeListLabelsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeListLabelsResponse returns a decoder for responses returned by the labels List labels endpoint. restoreBody controls whether the response body should be restored after having been read.
func EncodeListLabelsRequest ¶
func EncodeListLabelsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeListLabelsRequest returns an encoder for requests sent to the labels List labels server.
func ListLabelsLabelsPath ¶
func ListLabelsLabelsPath() string
ListLabelsLabelsPath returns the URL path to the labels service List labels HTTP endpoint.
func NewListLabelsLabelsOK ¶
func NewListLabelsLabelsOK(body *ListLabelsResponseBody) *labelsviews.LabelsView
NewListLabelsLabelsOK builds a "labels" service "List labels" endpoint result from a HTTP "OK" response.
Types ¶
type Client ¶
type Client struct { // ListLabels Doer is the HTTP client used to make requests to the List labels // endpoint. ListLabelsDoer goahttp.Doer // RestoreResponseBody controls whether the response bodies are reset after // decoding so they can be read again. RestoreResponseBody bool // contains filtered or unexported fields }
Client lists the labels service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the labels service servers.
func (*Client) BuildListLabelsRequest ¶
BuildListLabelsRequest instantiates a HTTP request object with method and path set to call the "labels" service "List labels" endpoint
func (*Client) ListLabels ¶
ListLabels returns an endpoint that makes HTTP requests to the labels service List labels server.
type ListLabelsResponseBody ¶
type ListLabelsResponseBody struct { // List of labels Labels []string `form:"labels,omitempty" json:"labels,omitempty" xml:"labels,omitempty"` }
ListLabelsResponseBody is the type of the "labels" service "List labels" endpoint HTTP response body.