mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 15:23:29 +00:00
Rename Makefile targets
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
22
gateway/vendor/github.com/openfaas/faas-provider/types/queue.go
generated
vendored
22
gateway/vendor/github.com/openfaas/faas-provider/types/queue.go
generated
vendored
@ -8,32 +8,36 @@ import (
|
||||
// Request for asynchronous processing
|
||||
type QueueRequest struct {
|
||||
// Header from HTTP request
|
||||
Header http.Header
|
||||
Header http.Header `json:"Header,omitempty"`
|
||||
|
||||
// Host from HTTP request
|
||||
Host string
|
||||
Host string `json:"Host,omitempty"`
|
||||
|
||||
// Body from HTTP request to use for invocation
|
||||
Body []byte
|
||||
Body []byte `json:"Body,omitempty"`
|
||||
|
||||
// Method from HTTP request
|
||||
Method string
|
||||
Method string `json:"Method"`
|
||||
|
||||
// Path from HTTP request
|
||||
Path string
|
||||
Path string `json:"Path,omitempty"`
|
||||
|
||||
// QueryString from HTTP request
|
||||
QueryString string
|
||||
QueryString string `json:"QueryString,omitempty"`
|
||||
|
||||
// Function name to invoke
|
||||
Function string
|
||||
Function string `json:"Function"`
|
||||
|
||||
// QueueName to publish the request to, leave blank
|
||||
// for default.
|
||||
QueueName string
|
||||
QueueName string `json:"QueueName,omitempty"`
|
||||
|
||||
// Annotations defines a collection of meta-data that can be used by
|
||||
// the queue worker when processing the queued request.
|
||||
Annotations map[string]string `json:"Annotations,omitempty"`
|
||||
|
||||
// Used by queue worker to submit a result
|
||||
CallbackURL *url.URL `json:"CallbackUrl"`
|
||||
CallbackURL *url.URL `json:"CallbackUrl,omitempty"`
|
||||
}
|
||||
|
||||
// RequestQueuer can public a request to be executed asynchronously
|
||||
|
Reference in New Issue
Block a user