mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 23:24:41 +00:00
Add new API call to get all the autoscalers currently managed by orbiter: ``` curl http://localhost:8000/autoscaler ``` Add command into the CLI to get this list ``` export ORBITER_HOST=http://localhost:8000 orbiter autoscler ls ``` Add command into the CLI to print all the events fired by the daemon: ``` export ORBITER_HOST=http://localhost:8000 orbiter system events ```
13 lines
200 B
Go
13 lines
200 B
Go
package provider
|
|
|
|
type FakeProvider struct {
|
|
}
|
|
|
|
func (f FakeProvider) Name() string {
|
|
return "fake"
|
|
}
|
|
|
|
func (f FakeProvider) Scale(serviceId string, target int, direction bool) error {
|
|
return nil
|
|
}
|