Rename Makefile targets

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2023-10-23 11:29:19 +01:00
parent 479285caf6
commit 9ba4a73d5d
350 changed files with 22981 additions and 3972 deletions

View File

@ -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