mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Add AvailableReplicas field to requests.Function
Signed-off-by: Ivan Mikushin <imikushin@vmware.com>
This commit is contained in:
parent
e337b0df5b
commit
8dd646cf5a
@ -57,6 +57,9 @@ type Function struct {
|
||||
Replicas uint64 `json:"replicas"`
|
||||
EnvProcess string `json:"envProcess"`
|
||||
|
||||
// AvailableReplicas is the count of replicas ready to receive invocations as reported by the back-end
|
||||
AvailableReplicas uint64 `json:"availableReplicas"`
|
||||
|
||||
// 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"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user