Steven Powell
50e9147e4e
fix lint errors
2023-03-20 12:43:07 -07:00
Steven Powell
3e35746d50
fix generate-docs on arm64
2022-09-28 10:48:34 -07:00
Sharif Elgamal
3adee394ec
fix display order for error codes documentation
2022-04-19 13:41:01 -07:00
Eugene Kalinin
c66f557823
Fix golint warnings
2021-12-05 12:26:25 +03:00
Medya Gh
5d0ce59625
tests docs change name
2021-11-18 10:55:32 -08:00
Peixuan Ding
b43f0bcd39
Add detailed info for integration tests
2021-10-11 01:00:06 -04:00
KallyDev
70022d9b2e
Move from deprecated ioutil to os and io packages
2021-10-08 08:57:19 +08:00
Sharif Elgamal
efeeca0134
better formatting still
2021-05-21 14:30:52 -07:00
Sharif Elgamal
300e51da4a
fix newlines some more
2021-05-21 14:12:38 -07:00
Sharif Elgamal
62ea4fdfea
fix newlines
2021-05-21 14:03:14 -07:00
Sharif Elgamal
1638cceed2
fix formatting
2021-05-21 13:52:35 -07:00
Sharif Elgamal
f1e40b6e77
add error strings to doc
2021-05-21 13:45:38 -07:00
Sharif Elgamal
e89aca810a
Add list of error codes to documentation
2021-05-21 11:07:59 -07:00
Sharif Elgamal
5b512a7296
Merge branch 'master' of github.com:kubernetes/minikube into error-codes
2021-05-19 15:26:11 -07:00
Sharif Elgamal
ef304f7c05
add error codes file
2021-05-19 15:25:45 -07:00
Anders F Björklund
6ea7e03304
Remove integration test count from documentation
2021-05-17 08:06:19 +02:00
Sharif Elgamal
80bb2999e4
remove last newline
2021-05-11 15:32:57 -07:00
Sharif Elgamal
972dae8133
Make sure all tests have comments
2021-05-11 15:17:43 -07:00
Sharif Elgamal
191d3dce5a
fix lint
2021-04-16 15:45:44 -07:00
Sharif Elgamal
245f44da66
write to a file and move code around for clarity
2021-04-16 15:33:50 -07:00
Sharif Elgamal
0ed5b13995
add docs for all integration tests and generate docs with them
2021-04-16 13:42:41 -07:00
Tharun
e37f8bc1a2
add unload as an alias and fixed parent command usage
...
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-27 02:30:15 +05:30
Anders F Björklund
360771ce84
Fix the docs generation to be more deterministic
...
This was failing the unit tests sometimes otherwise,
due to the default value for log_file being changed.
2021-03-24 08:32:40 +01:00
edtrist
1440438020
Remove unused argument
2020-12-01 23:25:38 +00:00
edtrist
230c397aed
Custom GenMarkDown from Cobra to add shell language to runnable commands
2020-12-01 22:42:41 +00:00
Priya Modali
97d96bf925
Switching from glob library to klog library.
2020-09-29 15:49:41 -07:00
Thomas Stromberg
2c5e8fdaee
Add detailed JSON & status codes for all error paths
2020-08-30 17:25:11 -07:00
Anders F Björklund
a4d872faee
Fix some minor gofmt and golint issues
...
So that "make gofmt" and "make golint" go green again
2020-05-14 07:50:29 +02:00
Thomas Stromberg
436cee2d84
Fix minikube/kubernetes capitalization, make short help consistent
2020-05-07 14:12:10 -07:00
Priya Wadhwa
3c7c47e1c7
Rewrite default values that are OS dependent
2020-04-06 10:58:54 -07:00
Priya Wadhwa
ff65422562
Code review comments
2020-04-06 10:26:16 -07:00
Priya Wadhwa
7004c398b0
Don't generate documentation for hidden commands
2020-04-02 12:05:27 -07:00
Priya Wadhwa
63ffbd952e
Rewrite --mount-string since it depends on host
2020-04-02 11:29:43 -07:00
Priya Wadhwa
7988704bed
fixups
2020-04-02 11:01:26 -07:00
Priya Wadhwa
270d4cf5c0
include newline
2020-04-02 10:57:05 -07:00
Priya Wadhwa
6fdecf2ebf
Add unit test to check that docs are up to date
...
This requires the following changes:
1. We need to pass in -ldflags to `go test`, since we need to know the curren iso version to correctly generate the description for --iso-url
2. We need to rewrite the description of the --driver flag on `minikube start` because it is operating system specific, which doesn't make sense for our documentation
2020-04-02 10:48:47 -07:00
Priya Wadhwa
c409c4c91c
Add unit tests to make sure docs are up to date
2020-04-01 16:13:54 -07:00
Priya Wadhwa
a9dcfe82fe
Update generate-docs command
...
Now, generate-docs will compile all subcommands for one command into one document instead of creating a document per subcommand.
For example, instead of creating:
minikbue_addons_enable.md
minikbue_addons_disable.md
it will now create
addons.md
which will include subsections for `minikube addons enable` and `minikube addons disable`.
2020-04-01 15:59:33 -07:00