Update customResource example nuget packages + update example
Update httpClientFactory example nuget packages
Update nuget packages
Change DateTime to DateTimeOffset
Update tests nuget packages
Make KubernetesClient project reference instead of Nuget package reference
Co-authored-by: Boshi Lian <farmer1992@gmail.com>
Co-authored-by: Boshi Lian <farmer1992@gmail.com>
* support async enum watch
* honor ct and catch more exception
* fix format
* better flaky
* ct to for should throw
* make sure no npe
* fix nuget build
* fix watcher test
* check close before dispose
* Initial port of cache functions from java client
* Move lock in Cache.Replace to be less disruptive
* Remove IListerWatcher as it's not used at the moment
* Added todo in Cache.Get as reminder
* TApiType implement IKubernetesObject
* TApiType implement IKubernetesObject
* TApiType implement class along with IKubernetesObject
* Disable failing test until it can be figured out
* Ran `dotnet format --fix-whitespace --fix-style` to put formatting in compliance
* Moved contents of KubernetesClient.Util into KubernetesClient project
* Moved contents of KubernetesClient.Util into KubernetesClient project #2 :(
* add minimal oidc support
* add OidcTokenProvider
* add null check for accessToken
* deal with missing client-secret in config
* fix formatting, typos
* remove commented line
* trigger github actions to check for non-deterministic test behavior
* Update src/KubernetesClient/Authentication/OidcTokenProvider.cs
Co-authored-by: Boshi Lian <farmer1992@gmail.com>
* Update src/KubernetesClient/Authentication/OidcTokenProvider.cs
Co-authored-by: Boshi Lian <farmer1992@gmail.com>
* cleanup
* add CA1723 to exceptions
* remove exception for CA1723, add CA1724 instead
Co-authored-by: Boshi Lian <farmer1992@gmail.com>
* remove most net452 related code
* first net4 remove
* migrate test proj to net5 base
* fix format
* update sta xunit to fix platform not support
* Squashed commit of the following:
commit 16e1f819058ad281e1571b356c10d4d6ce77cf38
Author: Boshi Lian <farmer1992@gmail.com>
Date: Tue Dec 8 22:42:57 2020 -0800
temp disable some version converter
commit 7d1a651f4e7d27d1e61c91f46f73ac8d04ea8ab9
Author: Boshi Lian <farmer1992@gmail.com>
Date: Tue Dec 8 20:55:44 2020 -0800
add missing watcher generator files
commit 3f3199aad269bf89406ea71d0bc63f1a7ec23245
Author: Boshi Lian <farmer1992@gmail.com>
Date: Tue Dec 8 22:14:47 2020 +0000
gen v1.20.0
* bump version to 4.0
* support empty spec
* fix version converter for generator
* add generated header
* fix warning
* rerun generator
* Add Watcher constructor overload which accepts the more general TextReader.
* Make CancelableStream delegate the async methods to the inner stream.
* Make CancelableStream dispose of the inner stream.
* Make PeekableStreamReader a decorator enabling direct delegation to the inner's asynchronous methods.
* Make CancelableStream.Flush respect the cancellation token.
* Rename CancellationTokenSourceSlim -> LinkedCancellationTokenSource.
* Specify 7.3 language version.