Revision 371d7850a52549aced159c287351b7c81688c0f9 authored by Eric Leijonmarck on 13 December 2022, 13:56:10 UTC, committed by GitHub on 13 December 2022, 13:56:10 UTC
* refactor: renaming of files from database to store

* refactor: make service account store private

- moves store interface to manager package
- adds an interface to the ProvideAPI constructor
- refactors tests to use the store when necessary
- adds mocks for the new interface implementations in the tests package

* wip

* refactor: make fakestore in service

* wip

* wip

* wip

* working tests

* trailing whitespaces

* Update pkg/services/serviceaccounts/api/api.go

* Update pkg/services/serviceaccounts/tests/common.go

* Update pkg/services/serviceaccounts/tests/common.go

* refactor: doc string for retriever

* fix import unused

* remove: serviceaccount from featuretoggle

* added: back legacy serviceaccounts feature toggle

* added: docs

* refactor: make query for the SearchQuery

* add: validation of service input fields

* add validation
1 parent 13adadd
History
File Mode Size
.bingo
.changelog-archive
.github
.husky
.vim
.vscode
.yarn
conf
contribute
cue.mod
devenv
docs
e2e
emails
grafana-mixin
kinds
packages
packaging
pkg
plugins-bundled
public
scripts
tools
.betterer.results -rw-r--r-- 452.9 KB
.betterer.ts -rw-r--r-- 3.6 KB
.bra.toml -rw-r--r-- 628 bytes
.browserslistrc -rw-r--r-- 255 bytes
.dockerignore -rw-r--r-- 243 bytes
.drone.star -rw-r--r-- 1.8 KB
.drone.yml -rw-r--r-- 158.9 KB
.editorconfig -rw-r--r-- 453 bytes
.eslintignore -rw-r--r-- 376 bytes
.eslintrc -rw-r--r-- 3.0 KB
.gitattributes -rw-r--r-- 19 bytes
.gitignore -rw-r--r-- 3.5 KB
.golangci.toml -rw-r--r-- 3.1 KB
.linguirc -rw-r--r-- 557 bytes
.nvmrc -rw-r--r-- 9 bytes
.pa11yci-pr.conf.js -rw-r--r-- 3.9 KB
.pa11yci.conf.js -rw-r--r-- 3.5 KB
.prettierignore -rw-r--r-- 546 bytes
.prettierrc.js -rw-r--r-- 95 bytes
.yarnrc.yml -rw-r--r-- 1.7 KB
CHANGELOG.md -rw-r--r-- 380.9 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
CONTRIBUTING.md -rw-r--r-- 4.7 KB
Dockerfile -rw-r--r-- 4.8 KB
GOVERNANCE.md -rw-r--r-- 12.6 KB
HALL_OF_FAME.md -rw-r--r-- 220 bytes
ISSUE_TRIAGE.md -rw-r--r-- 24.9 KB
LICENSE -rw-r--r-- 33.7 KB
LICENSING.md -rw-r--r-- 759 bytes
MAINTAINERS.md -rw-r--r-- 226 bytes
Makefile -rw-r--r-- 8.2 KB
NOTICE.md -rw-r--r-- 105 bytes
PLUGIN_DEV.md -rw-r--r-- 1.9 KB
README.md -rw-r--r-- 3.0 KB
ROADMAP.md -rw-r--r-- 322 bytes
SECURITY.md -rw-r--r-- 1.5 KB
SUPPORT.md -rw-r--r-- 661 bytes
UPGRADING_DEPENDENCIES.md -rw-r--r-- 3.2 KB
WORKFLOW.md -rw-r--r-- 4.7 KB
babel.config.json -rw-r--r-- 1.4 KB
build.go -rw-r--r-- 182 bytes
crowdin.yml -rw-r--r-- 243 bytes
embed.go -rw-r--r-- 352 bytes
go.mod -rw-r--r-- 18.8 KB
go.sum -rw-r--r-- 345.4 KB
jest.config.js -rw-r--r-- 1.3 KB
latest.json -rw-r--r-- 46 bytes
lerna.json -rw-r--r-- 107 bytes
metadata.md -rw-r--r-- 0 bytes
package.json -rw-r--r-- 16.5 KB
stylelint.config.js -rw-r--r-- 1.5 KB
tsconfig.json -rw-r--r-- 616 bytes
yarn.lock -rw-r--r-- 1.3 MB

README.md

back to top