dotnet add package KubernetesClient
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
# Where REPO_DIR points to the root of the csharp repository
cd ${REPO_DIR}/csharp/src
${GEN_DIR}/openapi/csharp.sh generated csharp.settings
git clone [email protected]:kubernetes-client/csharp.git
cd csharp\examples\simple
dotnet run
The project uses XUnit as unit testing framework.
To run the tests
cd csharp\tests
dotnet restore
dotnet test