Add AvailableReplicas field to requests.Function

Signed-off-by: Ivan Mikushin <imikushin@vmware.com>
This commit is contained in:
Ivan Mikushin 2018-02-28 18:14:46 -08:00 committed by Alex Ellis
parent e337b0df5b
commit 8dd646cf5a

View File

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