Brendan Burns 2fdf22b6ad Merge pull request #57 from tg123/intorstr
Add IntOrString support
2017-11-20 22:21:40 -08:00
2017-11-16 21:36:08 +08:00
2017-10-24 17:05:26 +08:00
2017-10-24 05:09:55 +08:00
2017-11-16 02:07:02 +08:00
2017-10-19 20:06:49 +00:00
2017-05-12 10:18:12 -07:00
2017-05-12 10:20:28 -07:00
2017-11-14 22:10:47 -08:00

Kubernetes C# Client

Travis Client Capabilities Client Support Level

Usage

Nuget Package

dotnet add package KubernetesClient

Generating the Client Code

Prerequisites

Check out the generator project into some other directory (henceforth $GEN_DIR)

cd $GEN_DIR/..
git clone https://github.com/kubernetes-client/gen

Install the autorest tool:

npm install autorest

Generating code

# Where REPO_DIR points to the root of the csharp repository
cd ${REPO_DIR}/csharp/src
${GEN_DIR}/openapi/csharp.sh generated csharp.settings

Usage

Running the Examples

git clone git@github.com:kubernetes-client/csharp.git
cd csharp\examples\simple
dotnet run

Testing

The project uses XUnit as unit testing framework.

To run the tests

cd csharp\tests
dotnet restore
dotnet test
Description
No description provided
Readme Apache-2.0 11 MiB
Languages
C# 100%