MCPcopy
hub / github.com/openfaas/faas / SetReplicas

Method SetReplicas

gateway/scaling/service_query.go:11–11  ·  view source on GitHub ↗
(service, namespace string, count uint64)

Source from the content-addressed store, hash-verified

9type ServiceQuery interface {
10 GetReplicas(service, namespace string) (response ServiceQueryResponse, err error)
11 SetReplicas(service, namespace string, count uint64) error
12}
13
14// ServiceQueryResponse response from querying a function status

Callers 2

ScaleMethod · 0.65
scaleServiceFunction · 0.65

Implementers 1

ExternalServiceQuerygateway/plugin/external.go

Calls

no outgoing calls

Tested by

no test coverage detected