Commit Graph

377 Commits

Author SHA1 Message Date
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
Adam Friedman
4f01fd38ef Address feedback from kubernetes-client/csharp#103. (#108) 2018-03-21 21:45:39 -07:00
Rohan Nagar
29083095f1 Use File.OpenRead (#107) 2018-03-20 22:35:24 -07:00
Adam Friedman
c0a42ad884 Custom validation of server certificate for WebSockets (#103)
* Improve SSL customisation for WebSockets

kubernetes-client/csharp#102

* First test for exec-in-pod over WebSockets.

Also, implement basic mock server for testing WebSockets.

kubernetes-client/csharp#102

* Attempt to handle raciness of Watcher tests.

kubernetes-client/csharp#102

* Attempt to handle raciness of ByteBuffer test.

kubernetes-client/csharp#102
2018-03-19 22:03:28 -07:00
Brendan Burns
5b1a831a1f Add a utility for YAML loading. (#98) 2018-03-12 14:55:35 -07:00
Norman Joyner
c2df930475 fix misspelling of Kubernetes (#99) 2018-03-12 14:55:21 -07:00
Frederik Carlier
47d73dca3f Update README (#95)
* Update README

* No need for npm
2018-02-15 22:34:05 -08:00
Frederik Carlier
a7ee07f6e6 Update the Kubernetes configuration model (#94)
* Add documentaton

* Add Extensions properties
Add as, as-groups, as-user-extra properties to UserCredentials
2018-02-15 22:32:59 -08:00
Marchenko Alexandr
4f80289b81 connect to GCP GKE from local machine (#92)
* connect to GCP GKE from local machine

explanation of how to connect from lacal machine to Google Cloud Kubernetes without headache, close #91

* connect to cluster from a local machine

add preferred way of connecting to cluster, add alternative way with proxy for non supported auth providers

* known issues and its workarounds
2018-02-13 06:43:35 -08:00
Allan Targino
a5f0e063f4 support for string and stream config (#83) 2018-01-31 17:21:14 -08:00
Boshi Lian
f17848d3ac regenerate with v1.9.2 (#88) 2018-01-26 12:25:58 -08:00
Boshi Lian
db7ed9cad1 fix tests stuck and failed on low core machine (#89) 2018-01-25 22:04:06 -08:00
Boshi Lian
db472b0d96 support target net452 (#86)
* support target net452

* dont build net45 on non windows host
2018-01-25 22:03:45 -08:00
Boshi Lian
48197fc321 regenerate with proxy stream support (#85) 2018-01-25 22:02:07 -08:00
Boshi Lian
740892658a make V1.Patch strong type of JsonPatch (#84)
* generate patch object

* generate using private set

* force patch to strong type
2018-01-25 21:57:42 -08:00
Frederik Carlier
edc0cfbc59 Use mainstream and strongly-named versions of BouncyCastle, YamlDotNet (#77)
* Use strongly-signed NuGet packages

* Use the Signed version of Fractions
2018-01-10 13:39:57 -08:00
Boshi Lian
6043dca5d6 generate with stream support (#75) 2018-01-02 20:46:28 -08:00
Frederik Carlier
ff7a455ae7 RFC - Support WebSockets with channels (#66)
* Add support for demuxing streams from WebSockets.

* Add missing using statement, fix unit test
2018-01-02 20:45:53 -08:00
Aaron Crickenberger
511cc60422 Add code-of-conduct.md (#74)
Refer to kubernetes/community as authoritative source for code of conduct
2017-12-20 20:12:42 -08:00
Phillip Hoff
bbd359f859 Fix for delete post-config-load. (#68) 2017-12-20 09:43:13 -08:00
Brendan Burns
759c1017cd Add support Namespace in the kubeconfig file. (#72) 2017-12-14 15:22:39 -08:00
Frederik Carlier
2a54a8c370 Add support for executing commands within a container (#63)
* Add support for executing commands within a container

* Add WebSocketNamespacedPodPortForwardAsync

* Add Attach functionality

* Simplify code
2017-12-10 22:21:09 -06:00
Boshi Lian
14b59f6511 fix unreachable code (#65)
* fix unreachable code

* remove unused comments
2017-12-08 07:30:31 -06:00
Brendan Burns
736ce06226 Merge pull request #61 from tg123/v1.8_quantity
add support for quantity
2017-12-03 21:15:13 -08:00
Brendan Burns
f46c02fccc Merge pull request #60 from tg123/v1.8
generate from V1.8.4
2017-12-03 21:02:17 -08:00
Boshi LIAN
9d30adb349 add test for json serialize 2017-12-02 14:06:10 +08:00
Boshi LIAN
88f50b1496 add csharp part of quntity 2017-12-02 14:06:10 +08:00
Boshi Lian
a04e6d22ba add equals to intstr 2017-12-02 14:01:57 +08:00
Boshi Lian
f7c0aa34d3 fix tests and examples to use v1.8 model 2017-12-02 14:01:57 +08:00
Boshi Lian
b102bc63bd update generated client base on v1.8.4 with enable intstr quantity 2017-12-02 14:01:48 +08:00
Brendan Burns
2fdf22b6ad Merge pull request #57 from tg123/intorstr
Add IntOrString support
2017-11-20 22:21:40 -08:00