Boshi Lian
49bb82b15d
generate v1.11.0 ( #182 )
...
* generate v1.11 -rc3
* add generated watcher
* regenrate with 1.11.0
2018-07-02 07:22:11 -07:00
Frederik Carlier
bc1cb6205c
Watcher: notify the caller when the server closes the connection ( #184 )
...
* Watcher: Add onClosed event and callback
* Update the code generators to accept the onClose callback
* Re-generate API
* Update unit tests
* Fix unit test
* Watcher fixes/improvements:
- Run Task.Yield at the beginning to make sure we're running async
- Set Watching = false before invoking OnClosed, to make sure the callers see a consistent state.
2018-06-27 14:38:28 -07:00
Boshi Lian
c1543b527e
add SECURITY_CONTACTS ( #180 )
2018-06-25 07:14:27 -07:00
Frederik Carlier
de916f6390
Additional watcher tests ( #178 )
2018-06-25 07:14:02 -07:00
Boshi Lian
7723604b7e
fix test case fail on windows ( #177 )
...
* fix test case fail on windows
* fix cert not working on windows
* changed to RuntimeInformation to see if osx
* change to a more common way to deal with line ending (due to git autocrlf)
2018-06-25 07:13:09 -07:00
David Orbelian
6eb5555145
Fix issue with X509VerificationFlags.AllowUnknownCertificateAuthority behavior ( #174 )
...
* Fix issue with X509VerificationFlags.AllowUnknownCertificateAuthority behavior
* Add CertificateValidationTests
2018-06-13 10:55:41 -07:00
David Orbelian
f488d54ce7
Fix incorrect exception message in CertUtils ( #172 )
2018-06-11 13:09:51 -07:00
Adam Friedman
a358cb9afd
Remove hacky WebSocket connection factory. ( #171 )
...
Replace it with the new (officially-supported) ClientWebSocket
SSL functionality in .NET Core 2.1.
kubernetes-client/csharp#130
2018-06-07 16:47:39 -07:00
Frederik Carlier
6e0aec994e
Bump version for 1.1.0 ( #169 )
2018-06-01 21:26:36 -07:00
Frederik Carlier
976fee2e0d
Generate XML documentation for the KubernetesClient project ( #168 )
...
* Generate XML documentation for the KubernetesClient project
* Fix spacing
2018-06-01 11:27:00 -07:00
Frederik Carlier
6f38b7299e
Fix an issue where growing the ByteBuffer would fail ( #167 )
...
* Fix an issue where growing a buffer when the read water mark = 0 would fail
* Simplify fix
2018-06-01 11:26:49 -07:00
Frederik Carlier
86abfc1b7c
Update to .NET Core 2.1 RTM ( #166 )
2018-05-31 22:57:10 -07:00
Frederik Carlier
9253eeb2eb
Fix issue where the watcher URLs would be prefixed with a '/'. This would lead to URLs such as https://localhost:8443//api/ ..., and the double // after the port number would case a 404 NOT FOUND response. ( #164 )
2018-05-29 19:42:34 -07:00
Brendan Burns
e6c1177471
Update to 1.0.0 ( #163 )
2018-05-25 20:41:25 -07:00
Brendan Burns
307c77bf04
Rev version to 0.8.0 ( #159 )
2018-05-22 21:47:04 -07:00
Frederik Carlier
6728505e34
Upgrade to .NET Core 2.1 RC1 ( #157 )
2018-05-08 18:40:05 -07:00
Frederik Carlier
586520750f
Push to NuGet feeds ( #156 )
2018-05-07 11:53:15 -07:00
Frederik Carlier
3785ac3952
Strongly-name the KubernetesClient assembly ( #76 )
...
* Add a strong name to the KubernetesClient assembly
* Fix location of the .snk file
* Remove unneeded remove statement
2018-05-04 21:51:31 -07:00
Frederik Carlier
bf4a7040d4
Add a common IKubernetesObject interface, expose type metadata ( #152 )
...
* - Implement common interface across all Kubernetes elements
- Add ApiVersion, Kind and Group properties
* Add IKubernetesObject interface
* Regenerate code
* Fixup after rebase
* Fixes after rebase, make method names consistent
2018-05-02 22:04:47 -07:00
Frederik Carlier
0f2832b86c
Allow callers to specify which WebSocket subprotocol to use ( #154 )
...
* Allow callers to specify which WebSocket subprotocol to use.
* Update unit tests
* Update unit test
* Fix ordering
* Trace CancellationToken
2018-05-02 22:02:05 -07:00
Frederik Carlier
c60882088a
Handle WebSocket exceptions ( #155 )
2018-04-30 15:16:06 -07:00
Frederik Carlier
a5a15d7042
Use automatic versioning ( #149 )
...
* Use automatic versioning
* Don't do shallow clones
2018-04-30 15:08:09 -07:00
Frederik Carlier
ebf8661641
Auto-generate Watcher code (for individual objects) ( #148 )
...
* Only keep WatchObjectAsync<T> in the manually-generated code
* Add a console application which can generate the various Watch methods
* Generate the Watch methods
* Use Nustache and templates to generate the watcher code
* Re-generate code
2018-04-30 15:07:27 -07:00
Frederik Carlier
29a9c22644
Handle error messages in the watcher ( #150 )
...
* Handle error messages in the watcher
* Fix documentation
* Fix typo
2018-04-27 20:51:02 -07:00
Frederik Carlier
194211b370
Fix flakey tests by making them async ( #144 )
...
* Fix flakey tests by converting them to async and synchronizing code blocks
* Use the same timeout for all tests
* Use signals to gracefully shut down the mock server
2018-04-27 20:40:47 -07:00
Frederik Carlier
5247597ef5
Add support for watching individual objects. ( #147 )
2018-04-26 21:24:18 -07:00
Frederik Carlier
03ac03d848
Don't throw an exception on MuxedStream.Flush ( #143 )
2018-04-26 21:15:25 -07:00
Frederik Carlier
1c07966d72
Add ChannelIndex enumeration, and some documentation ( #142 )
2018-04-26 21:14:38 -07:00
Frederik Carlier
d90289a094
Support relative paths in Kubernetes configuration files ( #141 )
...
* Support relative paths in Kubernetes configuration files
* Filename -> FileName
* Filename -> FileName
* KuberentesClientConfiguration: Allow the user to opt-out of the mechanism which resolves relative paths in the configuration file.
* Update unit tests
* Fix test
2018-04-26 21:13:48 -07:00
Brendan Burns
eea4c88f8e
Rev the version number. ( #139 )
2018-04-20 12:42:04 -07:00
Brendan Burns
9312370f44
Fix examples by re-adding the no-arg config file builder. ( #137 )
2018-04-20 08:40:01 -07:00
Brendan Burns
8544e08ec6
Move to dotnet-2.1-preview2 ( #138 )
2018-04-19 21:48:05 -07:00
Bill Pratt
df4d5dc31a
Make LoadKubeConfig public and refactor to use YAML helper methods ( #133 )
...
* Made LoadKubeConfig public and refactored to use YAML helper methods
* Addressing Code review feedback
2018-04-18 21:52:19 -07:00
Adam Friedman
ea62ca00e0
Move projects to subdirectories of /src and /tests ( #134 )
...
kubernetes-client/csharp#127
2018-04-04 22:13:45 -07:00
Boshi Lian
dc97164332
revert changes to ci.sh in c0a42ad884 ( #125 )
2018-04-02 21:35:32 -07:00
Frederik Carlier
d20e2597b9
WebSocketNamespacedPodExecAsync: Support specifying command arguments ( #123 )
...
* WebSocketNamespacedPodExecAsync: Support specifying command argumets
* Address PR feedback
* Address PR feedback
* Fix unstable test
2018-03-30 22:56:52 -07:00
Frederik Carlier
cf1c9950a0
Run integration tests as part of CI (after #129 ) ( #131 )
...
* Run CI scripts on both Mac and Linux
* Fix AuthTests for macOS
* Use SocketsHttpHandler
* Install minikube on the Travis CI servers
* Add integration tests
* Fix an issue where StreamConnectAsync would crash if the credentials were not set
2018-03-30 22:32:14 -07:00
Brendan Burns
12769b647e
Eliminate all arbitrary delays, replace with synchronization. ( #124 )
2018-03-30 22:24:22 -07:00
Frederik Carlier
c8ad8f8fa2
Fix an issue where StreamConnectAsync would crash if the credentials were not set ( #132 )
2018-03-30 22:23:45 -07:00
Frederik Carlier
801455c4d8
Fix YAML serialization of ResourceQuantity values ( #126 )
...
* Fix YAML serialization of ResourceQuantity values
* Address PR feedback
2018-03-30 22:02:29 -07:00
Frederik Carlier
3f2f2696d9
Don't throw in StreamDemuxer.Dispose ( #128 )
2018-03-30 21:48:09 -07:00
Boshi Lian
b3135f72b2
add logo to package ( #122 )
2018-03-27 22:08:34 -07:00
Boshi Lian
e91d2be9fd
generate v1.10.0 client ( #121 )
2018-03-27 19:30:09 -07:00
Boshi Lian
c489e066d6
fix testcases ( #119 )
2018-03-27 19:29:37 -07:00
Brendan Burns
4046256472
Add a logs example. ( #117 )
2018-03-26 12:49:38 -07:00
Brendan Burns
d0c17ee2d5
Add an attach example. Fix the attach code. ( #116 )
2018-03-23 22:07:51 -07:00
Brendan Burns
fcc08bc457
Add an 'exec' example. Clean up some websockets code. ( #114 )
2018-03-23 21:47:40 -07:00
Brendan Burns
2eaf506b42
Rev the library version number. ( #111 )
...
* Rev version number.
* Rev version number.
2018-03-22 16:33:16 -07:00
Brendan Burns
7f5ef645c1
Add a new example of how to list a subset of pods using labels. ( #110 )
2018-03-22 16:32:38 -07:00
Adam Friedman
d65b6aaf66
KubernetesWebSocketOptions.EnabledSslProtocols now defaults to None. ( #113 )
...
This lets the the local platform select the most appropriate protocol.
kubernetes-client/csharp#112
2018-03-22 16:30:02 -07:00