This change adds a single page application front-end to GARM. It uses a generated REST client, built from the swagger definitions, the websocket interface for live updates of entities and eager loading of everything except runners, as users may have many runners and we don't want to load hundreds of runners in memory. Proper pagination should be implemented in the API, in future commits, to avoid loading lots of elements for no reason. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
27 lines
No EOL
738 B
YAML
27 lines
No EOL
738 B
YAML
with-expecter: true
|
|
dir: "mocks"
|
|
mockname: "{{ .InterfaceName }}"
|
|
outpkg: "mocks"
|
|
filename: "{{ .InterfaceName }}.go"
|
|
# V3 compatibility settings
|
|
resolve-type-alias: false
|
|
disable-version-string: true
|
|
issue-845-fix: true
|
|
packages:
|
|
# Database store interfaces
|
|
github.com/cloudbase/garm/database/common:
|
|
interfaces:
|
|
Store:
|
|
config:
|
|
dir: "{{ .InterfaceDir }}/mocks"
|
|
# Runner interfaces
|
|
github.com/cloudbase/garm/runner:
|
|
interfaces:
|
|
PoolManagerController:
|
|
config:
|
|
dir: "{{ .InterfaceDir }}/mocks"
|
|
# Runner common interfaces (generate all interfaces in this package)
|
|
github.com/cloudbase/garm/runner/common:
|
|
config:
|
|
dir: "{{ .InterfaceDir }}/mocks"
|
|
all: true |