This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kn-admin] support downloading profiling data for knative components (#…
…72) * add utils for profile downloader Signed-off-by: Lance Liu <[email protected]> * fix typo and package name * remove unnecessary chan in Downloader struct * move the example main to seperate folder Signed-off-by: Lance Liu <[email protected]> * check response code before saving body * add profiling subcommand Signed-off-by: chaozbj <[email protected]> * implemented profiling command and ut codes Signed-off-by: chaozbj <[email protected]> * reworded test function names Signed-off-by: chaozbj <[email protected]> * improved expected messages for UT Signed-off-by: chaozbj <[email protected]> * improved command help Signed-off-by: chaozbj <[email protected]> * remove main.go add interface to downloader add tests to downloader split downloadOptions to seperate file Signed-off-by: Lance Liu <[email protected]> * add licence to files Signed-off-by: Lance Liu <[email protected]> * change downloader initliazer interface for UT fix some UT for downloader Signed-off-by: Lance Liu <[email protected]> * Add more tests for downloader connect function Signed-off-by: Lance Liu <[email protected]> * use assert.Error to check error Signed-off-by: Lance Liu <[email protected]> * fix lint errors Signed-off-by: Lance Liu <[email protected]> * fix typos Signed-off-by: Lance Liu <[email protected]> * improve wording Signed-off-by: chaozbj <[email protected]> * add e2e to profiling subcommand Signed-off-by: Lance Liu <[email protected]> Co-authored-by: chaozbj <[email protected]>
- Loading branch information
Showing
12 changed files
with
1,794 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.