committed by
Brendan Burns
parent
a7ee07f6e6
commit
47d73dca3f
12
README.md
12
README.md
@@ -14,6 +14,10 @@ dotnet add package KubernetesClient
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
You'll need a Linux machine with Docker.
|
||||||
|
|
||||||
|
The generated code works on all platforms supported by .NET or .NET Core.
|
||||||
|
|
||||||
Check out the generator project into some other directory
|
Check out the generator project into some other directory
|
||||||
(henceforth `$GEN_DIR`)
|
(henceforth `$GEN_DIR`)
|
||||||
|
|
||||||
@@ -22,18 +26,12 @@ cd $GEN_DIR/..
|
|||||||
git clone https://github.com/kubernetes-client/gen
|
git clone https://github.com/kubernetes-client/gen
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the [`autorest` tool](https://github.com/azure/autorest):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install autorest
|
|
||||||
```
|
|
||||||
|
|
||||||
## Generating code
|
## Generating code
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Where REPO_DIR points to the root of the csharp repository
|
# Where REPO_DIR points to the root of the csharp repository
|
||||||
cd ${REPO_DIR}/csharp/src
|
cd ${REPO_DIR}/csharp/src
|
||||||
${GEN_DIR}/openapi/csharp.sh generated csharp.settings
|
${GEN_DIR}/openapi/csharp.sh generated ../csharp.settings
|
||||||
```
|
```
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user