mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 14:23:25 +00:00
Merge master into breakout_swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
7
gateway/handlers/service_query.go
Normal file
7
gateway/handlers/service_query.go
Normal file
@ -0,0 +1,7 @@
|
||||
package handlers
|
||||
|
||||
// ServiceQuery provides interface for replica querying/setting
|
||||
type ServiceQuery interface {
|
||||
GetReplicas(service string) (currentReplicas uint64, maxReplicas uint64, minReplicas uint64, err error)
|
||||
SetReplicas(service string, count uint64) error
|
||||
}
|
Reference in New Issue
Block a user