grafana/pkg/api
Hugo Häggmark 3d41267fc4
Chore: Moves common and response into separate packages (#30298)
* Chore: moves common and response into separate packages

* Chore: moves common and response into separate packages

* Update pkg/api/utils/common.go

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: changes after PR comments

* Chore: move wrap to routing package

* Chore: move functions in common to response package

* Chore: move functions in common to response package

* Chore: formats imports

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-15 14:43:20 +01:00
..
avatar Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
datasource Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
dtos API: Add by UID routes for data sources (#29884) 2021-01-13 13:16:27 -05:00
pluginproxy Chore: Remove duplicate interpolateString test (#29941) 2020-12-21 07:53:31 +01:00
response Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
routing Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
static Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
admin_provisioning.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
admin_users_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
admin_users.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
admin.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
alerting_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
alerting.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
annotations_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
annotations.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
api.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
apikey.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
app_routes.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
basic_auth_test.go Chore: Use Header.Set method instead of Header.Add (#29804) 2020-12-14 15:13:01 +01:00
basic_auth.go Chore: Start harmonizing linting with plugin SDK (#25854) 2020-06-29 14:08:32 +02:00
common_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dashboard_permission_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dashboard_permission.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dashboard_snapshot_test.go API: add ID to snapshot API responses (#29600) 2020-12-04 16:22:58 +01:00
dashboard_snapshot.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dashboard_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dashboard.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
dataproxy_test.go API: Rewrite tests from goconvey (#29091) 2020-11-17 11:31:35 +01:00
dataproxy.go Chore: Handle wrapped errors (#29223) 2020-11-19 13:34:28 +01:00
datasources_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
datasources.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
folder_permission_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
folder_permission.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
folder_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
folder.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
frontend_logging_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
frontend_logging.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
frontendsettings_test.go Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
frontendsettings.go GraphNG: Minor polish & updates to new time series panel and move it from alpha to beta (#30163) 2021-01-10 17:41:20 +01:00
grafana_com_proxy.go Chore: Avoid aliasing importing models in api package (#22492) 2020-03-04 12:57:20 +01:00
health_test.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
health.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
http_server_test.go Tests: Batch of GoConvey to Testify conversions (#27008) 2020-08-14 14:43:25 +02:00
http_server.go Middleware: Add CSP support (#29740) 2021-01-12 07:42:32 +01:00
index.go Middleware: Add CSP support (#29740) 2021-01-12 07:42:32 +01:00
ldap_debug_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
ldap_debug.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
login_oauth.go Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
login_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
login.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
metrics.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
org_invite.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
org_users_test.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00
org_users.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
org.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
password.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
playlist_play.go Chore: Avoid aliasing importing models in api package (#22492) 2020-03-04 12:57:20 +01:00
playlist.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
plugins.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
preferences.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
quota.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
render.go Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
search.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
short_url.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
signup.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
stars.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
team_members_test.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00
team_members.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
team_test.go Chore: Convert API tests to standard Go lib (#29009) 2020-11-13 09:52:38 +01:00
team.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
user_test.go Chore: Convert API tests to standard Go lib (#29009) 2020-11-13 09:52:38 +01:00
user_token_test.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
user_token.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
user.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00