Work In Progress
dotnet add package KubernetesClientCheck out the generator project into some other directory
(henceforth $GEN_DIR)
cd $GEN_DIR/..
git clone https://github.com/kubernetes-client/genInstall the autorest tool:
npm install autorest# Where REPO_DIR points to the root of the csharp repository
cd ${REPO_DIR}/csharp/src
${GEN_DIR}/openapi/csharp.sh generated csharp.settings- OpenSSL
- For Linux/Mac:
- LibCurl built with OpenSSL (Mac:
brew install curl --with-nghttp2)
- LibCurl built with OpenSSL (Mac:
- For Windows:
- The easiest option is to use choco
choco install openssl.light
- The easiest option is to use choco
Make sure that the openssl executable is in your path, by running openssl before trying to use the library.
git clone [email protected]:kubernetes-client/csharp.git
cd csharp\examples\simple
dotnet runThe project uses XUnit as unit testing framework.
To run the tests
cd csharp\tests
dotnet restore
dotnet xunit