Update Kubernetes client packages to 0.18.6

Lots of functions need Context parameters added
This commit is contained in:
Bryan Boreham committed 2020-08-04 10:11:30 +00:00
1 parent d14502e071
commit b3d387fb86
1237 files changed
+196148 -68941

No files matched your search

+2 -2
View File
@@ -86,8 +86,8 @@ fmt.Println("ip has value ", *ip)
fmt.Println("flagvar has value ", flagvar)
```
There are helpers function to get values later if you have the FlagSet but
it was difficult to keep up with all of the flag pointers in your code.
There are helper functions available to get the value stored in a Flag if you have a FlagSet but find
it difficult to keep up with all of the pointers in your code.
If you have a pflag.FlagSet with a flag called 'flagname' of type int you
can use GetInt() to get the int value. But notice that 'flagname' must exist
and it must be an int. GetString("flagname") will fail.