Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Will Browne
fd28c8490f
Plugins: Tidy up CLI code ( #67723 )
...
* remove dead code and use pkg/plugins for uninstall process
* fix linter
* remove unnecessary cruft
2023-05-04 10:52:09 +02:00
Serge Zaitsev
aebcecf538
Chore: Fix goimports grouping in other backend platform packages ( #62422 )
...
* fix goimports
* fix goimports order
* fix goimports order
* fix goimports order
* fix goimports order
* fix goimports order
2023-01-30 08:26:42 +00:00
Jo
ca72cd570e
Remove ioutil.ReadDir from usage ( #53550 )
...
* add depguard rule for ioutil
* replace ioutil.ReadDir with os.ReadDir
* use legacy option in depguard supported in golangci-lint v1.40
* replace ioutil.ReadDir with os.ReadDir
* return error for file info
2022-08-11 07:21:12 -04:00
Arve Knudsen
52c154a221
Backend: Rename variables for style conformance ( #29097 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 17:09:14 +01:00
Arve Knudsen
676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter ( #28866 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-05 15:37:11 +01:00
Arve Knudsen
5070f7a75b
Chore: Start harmonizing linting with plugin SDK ( #25854 )
...
* Chore: Harmonize linting with plugin SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-06-29 14:08:32 +02:00
Arve Knudsen
eb98d9c15b
grafana-cli: Upgrade to urfave/cli v2 ( #22402 )
...
* grafana-cli: Upgrade to urfave/cli v2
2020-02-26 12:27:31 +01:00
Olivier Lemasle
b4712ec4b9
CLI: Reduce memory usage for plugin installation ( #19639 )
...
* grafana-cli: use tmp file when downloading plugin install file
2019-11-06 13:42:58 +01:00
Arve Knudsen
573e78feeb
pkg/cmd: Check errors ( #19700 )
...
* pkg/cmd: Check errors
* pkg/cmd: Make sure server waits on services, even in case of error
* pkg/cmd: Inform of error to show help
* pkg/cmd: Only warn on failure to send systemd notification
* pkg/cmd: Don't log errors stemming from context cancelation
* pkg/cmd: Don't fail if unable to write to systemd
2019-10-15 16:44:15 +02:00
Andrej Ocenas
8c49d27705
CLI: Allow installing custom binary plugins ( #17551 )
...
Make sure all data is sent to API to be able to select correct archive version.
2019-07-29 10:44:58 +02:00
THIERRY SALLE
e978bfc368
Added --pluginUrl option to grafana-cli for local network plugin installation
2017-09-15 20:34:08 +02:00
bergquist
07be2c89a3
tech(cli): lets use the fact that we have a compiler
2016-06-26 03:47:15 +02:00
bergquist
ea9ac0d2d2
chore(cli): improve unittests
2016-02-15 18:32:36 +01:00
bergquist
d59beec354
feat(cli): move cli into main repo
2016-02-15 14:09:34 +01:00