KubernetesCRDModelGen.Tool 1.0.0-alpha.563

This is a prerelease version of KubernetesCRDModelGen.Tool.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global KubernetesCRDModelGen.Tool --version 1.0.0-alpha.563
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local KubernetesCRDModelGen.Tool --version 1.0.0-alpha.563
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=KubernetesCRDModelGen.Tool&version=1.0.0-alpha.563&prerelease
                    
nuke :add-package KubernetesCRDModelGen.Tool --version 1.0.0-alpha.563
                    

KubernetesCRDModelGen

codecov

What is this?

This project contains components which allow generation of C# Classes/Assemblies from Kubernetes Custom Resource Definitions.

  • KubernetesCRDModelGen
    • Custom Resource Definition to C# Class/Assembly Generator
  • KubernetesCRDModelGen.Tool
    • Yaml to C# Class Generator
  • KubernetesCRDModelGen.Sync
    • Synchronizes Custom Resource Definitions from numerous sources

How to use

  • Programmatically
    var crd = KubernetesYaml.LoadAllFromString(yaml);
    var fac = new LoggerFactory();
    var generator = new Generator(fac.CreateLogger<Generator>());
    var code = generator.GenerateCode(crd);
    var assembly = generator.GenerateAssembly(crd)
    
  • CLI
    • Install .Net Tool
      • dotnet tool install --global KubernetesCRDModelGen.Tool --prerelease
    • Run
      • KubernetesCRDModelGen --FolderPath /path/to/yamls --Namespace Namespace

Published Packages

We publish the following premade packages

Group NuGet
aquasecurity.github.io Link
argoproj.io Link
aws.upbound.io Link
azure.com Link
azure.upbound.io Link
cnrm.cloud.google.com Link
crossplane.io Link
fluxcd.io Link
gateway.networking.k8s.io Link
gcp.upbound.io Link
helm.crossplane.io Link
istio.io Link
jetstack.io Link
keda.sh Link
knative.dev Link
kubevirt.io Link
postgresql.cnpg.io Link
projectcalico.org Link
secrets-store.csi.x-k8s.io Link
storage.k8s.io Link
tf.upbound.io Link
traefik.io Link

Type Mappings

OpenAPIv3 type Type
'object' with Properties object
'object' with AdditionalProperties Dictionary
'object' with x-kubernetes-embedded-type object
'object' with x-kubernetes-preserve-unknown-fields object
'object' with x-kubernetes-int-or-string k8s.Models.IntstrIntOrString
'array' List
'array' with x-kubernetes-list-type=atomic List
'array' with x-kubernetes-list-type=map List
'array' with x-kubernetes-list-type=set List
'boolean' boolean
'number' (all formats) double
'integer' (all formats) int
'integer' with format=int64 long
'null' null
'string' string
'string' with format=binary bytes
'string' with format=byte (base64 encoded) bytes
'string' with format=date timestamp (google.protobuf.Timestamp)
'string' with format=date-time timestamp (google.protobuf.Timestamp)
'string' with format=duration duration (google.protobuf.Duration)
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.2.0 140 11/15/2025
1.1.2 263 11/11/2025
1.1.1 256 11/11/2025
1.1.0 175 10/20/2025
1.0.1 176 9/25/2025
1.0.0-alpha.624 128 9/25/2025
1.0.0-alpha.623 129 9/25/2025
1.0.0-alpha.622 127 9/25/2025
1.0.0-alpha.621 128 9/24/2025
1.0.0-alpha.620 127 9/24/2025
1.0.0-alpha.619 136 9/23/2025
1.0.0-alpha.618 132 9/23/2025
1.0.0-alpha.617 141 9/20/2025
1.0.0-alpha.616 254 9/18/2025
1.0.0-alpha.615 257 9/17/2025
1.0.0-alpha.614 262 9/17/2025
1.0.0-alpha.613 263 9/17/2025
1.0.0-alpha.612 258 9/16/2025
1.0.0-alpha.611 265 9/16/2025
1.0.0-alpha.610 262 9/16/2025
1.0.0-alpha.609 255 9/16/2025
1.0.0-alpha.608 251 9/15/2025
1.0.0-alpha.607 111 9/12/2025
1.0.0-alpha.606 119 9/9/2025
1.0.0-alpha.605 126 9/9/2025
1.0.0-alpha.604 126 9/8/2025
1.0.0-alpha.603 89 9/5/2025
1.0.0-alpha.602 141 9/4/2025
1.0.0-alpha.601 144 9/3/2025
1.0.0-alpha.600 125 9/2/2025
1.0.0-alpha.599 127 9/2/2025
1.0.0-alpha.598 170 8/29/2025
1.0.0-alpha.597 176 8/27/2025
1.0.0-alpha.596 175 8/27/2025
1.0.0-alpha.595 176 8/26/2025
1.0.0-alpha.594 179 8/26/2025
1.0.0-alpha.593 199 8/26/2025
1.0.0-alpha.592 169 8/26/2025
1.0.0-alpha.591 148 8/25/2025
1.0.0-alpha.590 193 8/24/2025
1.0.0-alpha.589 122 8/20/2025
1.0.0-alpha.588 129 8/20/2025
1.0.0-alpha.587 127 8/20/2025
1.0.0-alpha.586 127 8/20/2025
1.0.0-alpha.585 129 8/20/2025
1.0.0-alpha.584 121 8/19/2025
1.0.0-alpha.583 127 8/18/2025
1.0.0-alpha.582 121 8/18/2025
1.0.0-alpha.581 128 8/18/2025
1.0.0-alpha.580 127 8/18/2025
1.0.0-alpha.579 121 8/18/2025
1.0.0-alpha.578 129 8/17/2025
1.0.0-alpha.577 125 8/17/2025
1.0.0-alpha.576 102 8/17/2025
1.0.0-alpha.575 103 8/17/2025
1.0.0-alpha.574 99 8/17/2025
1.0.0-alpha.573 103 8/16/2025
1.0.0-alpha.572 121 8/15/2025
1.0.0-alpha.571 117 8/15/2025
1.0.0-alpha.570 129 8/14/2025
1.0.0-alpha.569 128 8/14/2025
1.0.0-alpha.565 131 8/12/2025
1.0.0-alpha.564 221,324 8/8/2025
1.0.0-alpha.563 140 8/8/2025
1.0.0-alpha.562 149 8/8/2025
1.0.0-alpha.561 158 8/8/2025
1.0.0-alpha.560 204 8/7/2025
1.0.0-alpha.559 205 8/6/2025
1.0.0-alpha.558 211 8/5/2025
1.0.0-alpha.557 55 8/1/2025
1.0.0-alpha.556 52 8/1/2025
1.0.0-alpha.555 99 8/1/2025
1.0.0-alpha.554 101 7/31/2025
1.0.0-alpha.553 105 7/31/2025
1.0.0-alpha.552 105 7/30/2025
1.0.0-alpha.551 105 7/30/2025
1.0.0-alpha.550 106 7/30/2025
1.0.0-alpha.549 102 7/29/2025
1.0.0-alpha.548 110 7/28/2025
1.0.0-alpha.547 378 7/25/2025
1.0.0-alpha.546 469 7/24/2025
1.0.0-alpha.545 474 7/24/2025
1.0.0-alpha.544 475 7/24/2025
1.0.0-alpha.543 468 7/24/2025
1.0.0-alpha.542 520 7/23/2025
1.0.0-alpha.541 518 7/23/2025
1.0.0-alpha.540 521 7/22/2025
1.0.0-alpha.539 514 7/22/2025
1.0.0-alpha.538 101 7/18/2025
1.0.0-alpha.537 121 7/17/2025
1.0.0-alpha.536 126 7/16/2025
1.0.0-alpha.535 124 7/15/2025
1.0.0-alpha.534 126 7/15/2025
1.0.0-alpha.533 129 7/14/2025
1.0.0-alpha.532 132 7/9/2025
1.0.0-alpha.531 130 7/8/2025
1.0.0-alpha.530 125 7/7/2025
1.0.0-alpha.529 127 7/3/2025
1.0.0-alpha.528 132 7/3/2025
1.0.0-alpha.527 126 7/2/2025
1.0.0-alpha.526 129 7/1/2025
1.0.0-alpha.525 131 6/30/2025
1.0.0-alpha.524 125 6/26/2025
1.0.0-alpha.523 128 6/26/2025
1.0.0-alpha.522 127 6/24/2025
1.0.0-alpha.521 127 6/24/2025
1.0.0-alpha.520 95 6/20/2025
1.0.0-alpha.519 135 6/19/2025
1.0.0-alpha.518 128 6/19/2025
1.0.0-alpha.517 133 6/18/2025
1.0.0-alpha.516 127 6/18/2025
1.0.0-alpha.515 126 6/18/2025
1.0.0-alpha.514 136 6/18/2025
1.0.0-alpha.513 126 6/17/2025
1.0.0-alpha.512 129 6/16/2025
1.0.0-alpha.511 149 6/14/2025
1.0.0-alpha.510 155 6/14/2025
1.0.0-alpha.509 238 6/13/2025
1.0.0-alpha.508 268 6/13/2025
1.0.0-alpha.507 273 6/12/2025
1.0.0-alpha.506 279 6/10/2025
1.0.0-alpha.505 225 6/9/2025
1.0.0-alpha.504 154 6/3/2025
1.0.0-alpha.503 88 5/31/2025
1.0.0-alpha.502 142 5/29/2025
1.0.0-alpha.501 135 5/29/2025
1.0.0-alpha.500 134 5/29/2025
1.0.0-alpha.499 143 5/27/2025
1.0.0-alpha.498 127 5/26/2025
1.0.0-alpha.497 245 5/15/2025
1.0.0-alpha.496 227 5/13/2025
1.0.0-alpha.495 90 5/9/2025
1.0.0-alpha.494 144 5/8/2025
1.0.0-alpha.493 139 5/8/2025
1.0.0-alpha.492 141 5/7/2025
1.0.0-alpha.491 149 5/6/2025
1.0.0-alpha.490 133 5/6/2025
1.0.0-alpha.489 68 5/3/2025
1.0.0-alpha.488 97 5/2/2025
1.0.0-alpha.487 160 4/29/2025
1.0.0-alpha.486 144 4/25/2025
1.0.0-alpha.485 110 4/25/2025
1.0.0-alpha.484 159 4/24/2025
1.0.0-alpha.483 160 4/24/2025
1.0.0-alpha.482 174 4/24/2025
1.0.0-alpha.481 161 4/23/2025
1.0.0-alpha.480 158 4/23/2025
1.0.0-alpha.479 168 4/22/2025
1.0.0-alpha.478 179 4/18/2025
1.0.0-alpha.477 190 4/17/2025
1.0.0-alpha.476 196 4/17/2025
1.0.0-alpha.475 188 4/17/2025
1.0.0-alpha.474 177 4/15/2025
1.0.0-alpha.473 196 4/14/2025
1.0.0-alpha.472 196 4/14/2025
1.0.0-alpha.471 118 4/11/2025
1.0.0-alpha.470 172 4/10/2025
1.0.0-alpha.469 171 4/8/2025
1.0.0-alpha.468 156 4/8/2025
1.0.0-alpha.467 166 4/7/2025
1.0.0-alpha.466 117 4/4/2025
1.0.0-alpha.465 165 4/3/2025
1.0.0-alpha.464 168 3/31/2025
1.0.0-alpha.463 172 3/31/2025
1.0.0-alpha.462 124 3/28/2025
1.0.0-alpha.461 457 3/26/2025
1.0.0-alpha.460 477 3/25/2025
1.0.0-alpha.459 414 3/24/2025
1.0.0-alpha.458 88 3/21/2025
1.0.0-alpha.457 90 3/21/2025
1.0.0-alpha.456 141 3/19/2025
1.0.0-alpha.455 149 3/13/2025
1.0.0-alpha.454 140 3/13/2025
1.0.0-alpha.453 223 3/5/2025
1.0.0-alpha.452 217 3/5/2025
1.0.0-alpha.451 192 3/4/2025
1.0.0-alpha.450 204 3/4/2025
1.0.0-alpha.449 210 3/3/2025
1.0.0-alpha.448 89 2/28/2025
1.0.0-alpha.447 99 2/25/2025
1.0.0-alpha.446 108 2/20/2025
1.0.0-alpha.445 96 2/19/2025
1.0.0-alpha.444 118 2/13/2025
1.0.0-alpha.443 107 2/12/2025
1.0.0-alpha.442 108 2/11/2025
1.0.0-alpha.441 106 2/7/2025
1.0.0-alpha.440 88 2/6/2025
1.0.0-alpha.439 98 2/4/2025
1.0.0-alpha.438 107 2/4/2025
1.0.0-alpha.437 93 2/3/2025
1.0.0-alpha.436 98 1/31/2025
1.0.0-alpha.435 103 1/31/2025
1.0.0-alpha.434 98 1/30/2025
1.0.0-alpha.433 86 1/29/2025
1.0.0-alpha.432 106 1/28/2025
1.0.0-alpha.431 92 1/28/2025
1.0.0-alpha.430 97 1/10/2025
1.0.0-alpha.429 84 1/9/2025
1.0.0-alpha.428 76 1/9/2025
1.0.0-alpha.427 99 1/6/2025
1.0.0-alpha.426 127 1/3/2025
1.0.0-alpha.425 92 12/26/2024
1.0.0-alpha.424 100 12/24/2024
1.0.0-alpha.423 85 12/23/2024
1.0.0-alpha.422 101 12/20/2024
1.0.0-alpha.421 102 12/19/2024
1.0.0-alpha.420 99 12/19/2024
1.0.0-alpha.419 148 12/13/2024
1.0.0-alpha.418 92 12/13/2024
1.0.0-alpha.417 113 12/11/2024
1.0.0-alpha.416 103 12/11/2024
1.0.0-alpha.415 109 12/11/2024
1.0.0-alpha.414 98 12/9/2024
1.0.0-alpha.413 95 12/9/2024
1.0.0-alpha.412 96 12/9/2024
1.0.0-alpha.411 116 12/9/2024
1.0.0-alpha.410 100 12/5/2024
1.0.0-alpha.409 128 12/5/2024
1.0.0-alpha.408 94 12/5/2024
1.0.0-alpha.407 97 12/3/2024
1.0.0-alpha.406 101 12/3/2024
1.0.0-alpha.405 77 12/2/2024
1.0.0-alpha.404 88 12/2/2024
1.0.0-alpha.403 96 11/25/2024
1.0.0-alpha.402 102 11/21/2024
1.0.0-alpha.401 109 11/21/2024
1.0.0-alpha.400 93 11/21/2024
1.0.0-alpha.399 82 11/20/2024
1.0.0-alpha.398 90 11/20/2024
1.0.0-alpha.397 92 11/20/2024
1.0.0-alpha.396 91 11/20/2024
1.0.0-alpha.395 87 11/20/2024
1.0.0-alpha.394 87 11/20/2024
1.0.0-alpha.393 79 11/20/2024
1.0.0-alpha.392 95 11/19/2024
1.0.0-alpha.391 83 11/19/2024
1.0.0-alpha.390 84 11/18/2024
1.0.0-alpha.389 79 11/18/2024
1.0.0-alpha.388 84 11/15/2024
1.0.0-alpha.387 109 11/13/2024
1.0.0-alpha.386 100 11/13/2024
1.0.0-alpha.385 89 11/13/2024
1.0.0-alpha.384 88 11/12/2024
1.0.0-alpha.383 90 11/7/2024
1.0.0-alpha.382 82 11/7/2024
1.0.0-alpha.381 79 11/7/2024
1.0.0-alpha.380 83 11/6/2024
1.0.0-alpha.379 86 11/6/2024
1.0.0-alpha.378 89 11/5/2024
1.0.0-alpha.377 99 11/5/2024
1.0.0-alpha.376 97 11/4/2024
1.0.0-alpha.375 84 11/4/2024
1.0.0-alpha.374 76 11/4/2024
1.0.0-alpha.373 72 11/4/2024
1.0.0-alpha.372 87 11/4/2024
1.0.0-alpha.371 81 11/1/2024
1.0.0-alpha.370 86 10/31/2024
1.0.0-alpha.369 82 10/31/2024
1.0.0-alpha.368 108 10/31/2024
1.0.0-alpha.367 81 10/31/2024
1.0.0-alpha.366 92 10/30/2024
1.0.0-alpha.365 80 10/30/2024
1.0.0-alpha.364 82 10/29/2024
1.0.0-alpha.363 105 10/29/2024
1.0.0-alpha.362 82 10/29/2024
1.0.0-alpha.361 86 10/28/2024
1.0.0-alpha.360 90 10/28/2024
1.0.0-alpha.359 101 10/25/2024
1.0.0-alpha.358 90 10/23/2024
1.0.0-alpha.357 91 10/23/2024
1.0.0-alpha.356 120 10/23/2024
1.0.0-alpha.355 80 10/22/2024
1.0.0-alpha.354 81 10/22/2024
1.0.0-alpha.353 86 10/22/2024
1.0.0-alpha.352 69 10/22/2024
1.0.0-alpha.351 84 10/22/2024
1.0.0-alpha.350 81 10/17/2024
1.0.0-alpha.349 85 10/17/2024
1.0.0-alpha.348 83 10/17/2024
1.0.0-alpha.347 93 10/16/2024
1.0.0-alpha.346 86 10/16/2024
1.0.0-alpha.345 109 10/15/2024
1.0.0-alpha.344 92 10/15/2024
1.0.0-alpha.343 110 10/11/2024
1.0.0-alpha.342 108 10/11/2024
1.0.0-alpha.341 96 10/9/2024
1.0.0-alpha.340 119 10/9/2024
1.0.0-alpha.339 87 10/9/2024
1.0.0-alpha.338 96 10/8/2024
1.0.0-alpha.337 125 10/4/2024
1.0.0-alpha.336 93 10/3/2024
1.0.0-alpha.335 98 10/3/2024
1.0.0-alpha.334 91 10/1/2024
1.0.0-alpha.333 107 9/30/2024
1.0.0-alpha.332 107 9/27/2024
1.0.0-alpha.331 104 9/26/2024
1.0.0-alpha.330 78 9/25/2024
1.0.0-alpha.329 79 9/25/2024