Initial add of generated code, update readme, add settings file.

This commit is contained in:
Brendan Burns
2017-06-06 23:02:14 -07:00
parent 08c455751a
commit d42da04e5d
333 changed files with 208792 additions and 0 deletions

View File

@@ -1,2 +1,28 @@
# csharp
Work In Progress
# 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](https://github.com/azure/autorest):
```
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
```