Commit Graph

30 Commits

Author SHA1 Message Date
Brendan Burns
c1de779933 Add in formatting pre-check. (#431) 2020-04-22 12:15:45 -07:00
Nicholas Steicke
3164e9234c introduce CreateWatchHandle for use with HttpClientFactory (#379) 2020-04-05 21:27:46 -07:00
Brendan Burns
67be97e74b Add a loadAll to load multiple objects from a single YAML. (and tests) (#344) 2020-01-10 13:59:37 -08:00
Brandon Sharp
3a30033090 Prevent NullReferenceException when using HttpClient to initialize Kubernetes client. Fixes #335 (#336)
* Preventing null ref exception when initializing with HttpClient and adding support for generating a default client handler from a config object

* Updating example to make use of config-based client handler generation
2020-01-06 21:28:17 -08:00
Boshi Lian
a95400bd50 watcher to support empty response (#313)
* Add a WatchAsync method.

* proposal for watcher async

* fix and add testcase for async watch

* try fix build
2019-10-22 16:02:13 -07:00
Brendan Burns
d9bca19e77 Fix port-forward example (#309) 2019-09-30 00:53:38 -07:00
David Parks
e00f67abd4 Add another couple of constructors to Fix #279 (#302)
* Add support for HttpClientFactory with KubernetesClientConfiguration

* Add an example with http client factory

* ensure sample uses the latest version of C#
2019-09-23 21:33:25 -07:00
Brendan Burns
de99b2b6b4 Improve the default client loading code. (#251)
* Improve the default client loading code.

* Address comments.
2019-03-06 01:26:04 -08:00
Daniel Semedo
a349292fc2 Update Program.cs (#240) 2019-02-12 21:40:09 -08:00
Brendan Burns
588807fb44 Add a port-forwarding example. (#232)
* Add a port-forwarding example.

* Address comments.
2019-01-29 12:32:15 -08:00
Boshi Lian
1600e44b00 generate for 1.13 (#223)
* generate for 1.13 and bump ver to 1.4

* fix examples for 1.13

* update outdated cert
2018-12-11 21:10:39 -08:00
Boshi Lian
9372e3291f align files to .editorconfig (#203)
* align files to .editorconfig

* fix space cause build failed
2018-09-27 10:50:39 -07:00
Boshi Lian
d01446718d add patch example (#189)
* add patch example

* fix typo
2018-07-09 06:50:39 -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
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
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
7f5ef645c1 Add a new example of how to list a subset of pods using labels. (#110) 2018-03-22 16:32:38 -07:00
Boshi Lian
f7c0aa34d3 fix tests and examples to use v1.8 model 2017-12-02 14:01:57 +08:00
Brendan Burns
89b23d8285 Merge pull request #56 from tg123/rest_rt
update auto rest runtime to latest stable
2017-11-20 22:20:47 -08:00
Boshi Lian
f362244cb3 remove unused dependencies from simple 2017-11-16 13:29:01 +08:00
Boshi Lian
4a208f3b1c add watch example 2017-11-16 02:06:28 +08:00
Boshi Lian
18eeeaf198 update namespace example to obj view and formating 2017-11-07 14:59:26 +08:00
Brendan Burns
f8d0e868ec Add a simple example of creating and deleting a namespace. 2017-11-03 22:01:53 -07:00
Brendan Burns
03dc518f26 Update example for new config file loading. 2017-11-02 07:01:55 -07:00
Cole Mickens
2a2e013181 remove BOM from UTF-8 files 2017-09-14 10:47:41 -07:00
Brendan Burns
63337846f8 Update credentials for more valid values. 2017-08-10 22:00:40 -07:00
krabhishek8260
ad74a08497 Add support for connecting/authenticating through kubeconfig 2017-06-17 14:11:52 -07:00
Brendan Burns
f6433ca252 Add some example code. 2017-06-12 22:54:30 -07:00