Commit Graph

17 Commits

Author SHA1 Message Date
Long Dai 4ccf10f9e4
ci: standard linter config (#793)
Signed-off-by: Long <long0dai@foxmail.com>
Signed-off-by: Long <long.dai@intel.com>
2021-11-01 19:01:51 +05:30
Long Dai 909b989128
log error info to stderr (#750)
Signed-off-by: Long Dai <long0dai@foxmail.com>

Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
2021-08-24 23:32:19 -07:00
meijin ff70945893 add --address usage example 2021-08-17 22:18:14 +08:00
meijin 5ed20845dd dapr dashboard add address option 2021-08-17 18:52:00 +08:00
Yaron Schneider 3ee9e53338
add renewed headers (#588) 2021-02-10 08:37:08 -08:00
Betula-L 49afc98aa6
support assign specified dashboard version for init (#535)
Signed-off-by: luhualin <n.betula.lu@gmail.com>

Co-authored-by: root <root@nvm-ops-image-lnx-1>
2021-01-25 10:14:26 -08:00
Mukundan Sundararajan 51bbd0a171
updated help messages. provide example for commands. (#544) 2020-12-08 12:04:11 -08:00
Mukundan Sundararajan 2495648629
Make flags consistent across commands. (#541)
update help messages
2020-12-03 14:32:39 -08:00
Artur Souza 6a303e71f7
Rewording of help messages. (#501)
* Delete reference docs, since docs website has those now.

* Rewording of help messages.
2020-10-29 16:08:21 -07:00
Mukundan Sundararajan 24ca35d78b
Upgrade to linter v1.31.0 (#447)
* Upgrade to linter v1.30.0

* Remove --fix from lint

* Fix linter issues

* use golang-ci lint action

* Fix linter version

* add linter patch version

* remove linter patch version
2020-10-07 17:24:12 -07:00
Artur Souza b00983e9b6
Propagates dashboard port in standalone mode. (#465) 2020-09-21 14:18:03 -07:00
Will Smith ac1d1b7a94
Adding dashboard version command (#433)
* fix dapr latest version check for dapr init -k

* adding dashboard --version command

* printing result of version call

* updated reference doc for dashboard version command

* cleaning up commit
2020-08-13 15:32:40 -07:00
Will Smith 5c3eb03030
Adding self-hosted integration to Dashboard command (#427)
* added function to install dashboard binaries

* added to waitgroup

* updated installBinary method to support non-dapr repositories

* adding dashboard binaries

* binary install working for daprd and dashboard on linux

* added dashboard command for standalone

* updated dashboard documentation

* changed linux home directory to be outside of root

* fixing version issue

* moved location of extracted web folder

* fixing path issues on linux

* changed dashboard to take latest version

* updated documentation for dashboard standalone

* fixed issue where binary name was unknown in non-default path dapr install

* added user error message for dashboard not found error

* fixing linting issues

* adding dashboard compatibility changes

* mark dashboard flag as required

* syncing compatibility branch and master

* fixing uninstall error

* removing unnecessary check

* removing unused constants

* changed standalone untar method openfile mode

* added missing error message

* removed windows binary check in untar method

* updating unzip method to support multiple files in archive

* adding sanitizeExtractPath method and limiting archive copy bytes

* changed max file size to 100MB

* removing max file size limit

* removing debug statement

* Adding dashboard command to allow for standalone dashboard launch

* removed -rc tag downloads for dashboard

* removing extra alias

* adding function moveDashboardFiles to simplify installBinary function

* moving dashboard command logic to standalone/dashboard.go

* removing error channel from moveDashboardFiles

* removing error channel from moveDashboardFiles

Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
2020-08-06 14:11:55 -07:00
Will Smith 12b0651c94
Setup for addition of dashboard self-hosted command (#417)
* added function to install dashboard binaries

* added to waitgroup

* updated installBinary method to support non-dapr repositories

* adding dashboard binaries

* binary install working for daprd and dashboard on linux

* added dashboard command for standalone

* updated dashboard documentation

* changed linux home directory to be outside of root

* fixing version issue

* moved location of extracted web folder

* fixing path issues on linux

* changed dashboard to take latest version

* updated documentation for dashboard standalone

* fixed issue where binary name was unknown in non-default path dapr install

* added user error message for dashboard not found error

* fixing linting issues

* adding dashboard compatibility changes

* mark dashboard flag as required

* syncing compatibility branch and master

* fixing uninstall error

* removing unnecessary check

* removing unused constants

* changed standalone untar method openfile mode

* added missing error message

* removed windows binary check in untar method

* updating unzip method to support multiple files in archive

* adding sanitizeExtractPath method and limiting archive copy bytes

* changed max file size to 100MB

* removing max file size limit

* removing debug statement

* removing tabs in cmd/dashboard.go

* fixing whitespace issues

Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
2020-08-04 11:48:45 -07:00
Will Smith 8b58e2cba3
Dashboard integration: Updating user requirements and port-forwarding correct namespace (#390)
* removed prerequisite for dapr dashboard command

* updated dashboard command to accept namespace

* removed -n flag to set namespace

* fixing linting issues

* dapr dashboard command now supports -n namespace argument

* fixing format issue

* printing error on failed k8s config load

* added defaultNamespace constant, fixed duplication bug

* changed to tell user which namespace dashboard is found in

* removed extra comment
2020-07-09 17:41:38 -07:00
Gurpreet Singh 0da3c555d5
Added documentation for dapr dashboard (#387)
* Added docs for dapr dashboard

* updated cli docs
2020-07-01 22:18:02 -07:00
Gurpreet Singh 0a1a0bdf2e
Added new CLI command dapr dashboard (#383)
* Added files for new command, added cobra command line code for dapr dashboard

* Janky first implementation

* WIP: added default host, port for dashboard

* implemented port-forwarding for dashboard

* fixed lint errors

* removed dashboard deployment, fixed PR comments
2020-06-29 10:16:14 -07:00