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>
95 lines
3.8 KiB
Modula-2
95 lines
3.8 KiB
Modula-2
module github.com/cloudbase/garm
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.23.6
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.5.0
|
|
github.com/bradleyfalzon/ghinstallation/v2 v2.16.0
|
|
github.com/cloudbase/garm-provider-common v0.1.7
|
|
github.com/felixge/httpsnoop v1.0.4
|
|
github.com/go-openapi/errors v0.22.2
|
|
github.com/go-openapi/runtime v0.28.0
|
|
github.com/go-openapi/strfmt v0.23.0
|
|
github.com/go-openapi/swag v0.23.1
|
|
github.com/golang-jwt/jwt/v5 v5.3.0
|
|
github.com/google/go-github/v72 v72.0.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/handlers v1.5.2
|
|
github.com/gorilla/mux v1.8.1
|
|
github.com/gorilla/websocket v1.5.4-0.20240702125206-a62d9d2a8413
|
|
github.com/jedib0t/go-pretty/v6 v6.6.8
|
|
github.com/juju/clock v1.1.1
|
|
github.com/juju/retry v1.0.1
|
|
github.com/manifoldco/promptui v0.9.0
|
|
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.23.0
|
|
github.com/spf13/cobra v1.9.1
|
|
github.com/stretchr/testify v1.10.0
|
|
golang.org/x/crypto v0.41.0
|
|
golang.org/x/mod v0.27.0
|
|
golang.org/x/oauth2 v0.30.0
|
|
golang.org/x/sync v0.16.0
|
|
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
|
gorm.io/datatypes v1.2.6
|
|
gorm.io/driver/mysql v1.6.0
|
|
gorm.io/driver/sqlite v1.6.0
|
|
gorm.io/gorm v1.30.1
|
|
)
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.1.0 // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/chzyer/readline v1.5.1 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-openapi/analysis v0.23.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.21.2 // indirect
|
|
github.com/go-openapi/jsonreference v0.21.0 // indirect
|
|
github.com/go-openapi/loads v0.22.0 // indirect
|
|
github.com/go-openapi/spec v0.21.0 // indirect
|
|
github.com/go-openapi/validate v0.24.0 // indirect
|
|
github.com/go-sql-driver/mysql v1.9.3 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/juju/errors v1.0.0 // indirect
|
|
github.com/juju/loggo v1.0.0 // indirect
|
|
github.com/juju/testing v1.0.2 // indirect
|
|
github.com/mailru/easyjson v0.9.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.31 // indirect
|
|
github.com/minio/sio v0.4.1 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_model v0.6.2 // indirect
|
|
github.com/prometheus/common v0.65.0 // indirect
|
|
github.com/prometheus/procfs v0.16.1 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/spf13/pflag v1.0.7 // indirect
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
github.com/teris-io/shortid v0.0.0-20220617161101-71ec9f2aa569 // indirect
|
|
go.mongodb.org/mongo-driver v1.17.4 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
|
go.opentelemetry.io/otel v1.36.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.36.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.36.0 // indirect
|
|
golang.org/x/net v0.42.0 // indirect
|
|
golang.org/x/sys v0.35.0 // indirect
|
|
golang.org/x/text v0.28.0 // indirect
|
|
google.golang.org/protobuf v1.36.6 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|