diff --git a/gateway/requests/requests.go b/gateway/requests/requests.go index 979651be..0d1b2050 100644 --- a/gateway/requests/requests.go +++ b/gateway/requests/requests.go @@ -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"`