mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 21:56:32 +00:00
Add label support to Swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -30,6 +30,10 @@ type CreateFunctionRequest struct {
|
||||
|
||||
// Secrets list of secrets to be made available to function
|
||||
Secrets []string `json:"secrets"`
|
||||
|
||||
// Labels are metadata for functions which may be used by the
|
||||
// back-end for making scheduling or routing decisions
|
||||
Labels *map[string]string `json:"labels"`
|
||||
}
|
||||
|
||||
// DeleteFunctionRequest delete a deployed function
|
||||
|
Reference in New Issue
Block a user