KubernetesCRDModelGen 1.0.0-alpha.402

This is a prerelease version of KubernetesCRDModelGen.
dotnet add package KubernetesCRDModelGen --version 1.0.0-alpha.402                
NuGet\Install-Package KubernetesCRDModelGen -Version 1.0.0-alpha.402                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KubernetesCRDModelGen" Version="1.0.0-alpha.402" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KubernetesCRDModelGen --version 1.0.0-alpha.402                
#r "nuget: KubernetesCRDModelGen, 1.0.0-alpha.402"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KubernetesCRDModelGen as a Cake Addin
#addin nuget:?package=KubernetesCRDModelGen&version=1.0.0-alpha.402&prerelease

// Install KubernetesCRDModelGen as a Cake Tool
#tool nuget:?package=KubernetesCRDModelGen&version=1.0.0-alpha.402&prerelease                

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 = LoggerFactory.Create((x) => { });
    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
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
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on KubernetesCRDModelGen:

Package Downloads
KubernetesCRDModelGen.SourceGenerator

Converts Custom Resource Definition Yaml files to Models

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on KubernetesCRDModelGen:

Repository Stars
IvanJosipovic/KubeUI
Kubernetes User Interface
Version Downloads Last updated
1.0.0-alpha.402 47 11/21/2024
1.0.0-alpha.401 40 11/21/2024
1.0.0-alpha.400 47 11/21/2024
1.0.0-alpha.399 43 11/20/2024
1.0.0-alpha.398 29 11/20/2024
1.0.0-alpha.397 41 11/20/2024
1.0.0-alpha.396 55 11/20/2024
1.0.0-alpha.395 44 11/20/2024
1.0.0-alpha.394 32 11/20/2024
1.0.0-alpha.393 30 11/20/2024
1.0.0-alpha.392 43 11/19/2024
1.0.0-alpha.391 44 11/19/2024
1.0.0-alpha.390 52 11/18/2024
1.0.0-alpha.389 29 11/18/2024
1.0.0-alpha.388 49 11/15/2024
1.0.0-alpha.387 43 11/13/2024
1.0.0-alpha.386 60 11/13/2024
1.0.0-alpha.385 34 11/13/2024
1.0.0-alpha.384 45 11/12/2024
1.0.0-alpha.383 53 11/7/2024
1.0.0-alpha.382 46 11/7/2024
1.0.0-alpha.381 44 11/7/2024
1.0.0-alpha.380 45 11/6/2024
1.0.0-alpha.379 48 11/6/2024
1.0.0-alpha.378 44 11/5/2024
1.0.0-alpha.377 54 11/5/2024
1.0.0-alpha.376 504 11/4/2024
1.0.0-alpha.375 47 11/4/2024
1.0.0-alpha.374 28 11/4/2024
1.0.0-alpha.373 24 11/4/2024
1.0.0-alpha.372 43 11/4/2024
1.0.0-alpha.371 46 11/1/2024
1.0.0-alpha.370 43 10/31/2024
1.0.0-alpha.369 41 10/31/2024
1.0.0-alpha.368 32 10/31/2024
1.0.0-alpha.367 37 10/31/2024
1.0.0-alpha.366 43 10/30/2024
1.0.0-alpha.365 43 10/30/2024
1.0.0-alpha.364 51 10/29/2024
1.0.0-alpha.363 45 10/29/2024
1.0.0-alpha.362 33 10/29/2024
1.0.0-alpha.361 45 10/28/2024
1.0.0-alpha.360 46 10/28/2024
1.0.0-alpha.359 45 10/25/2024
1.0.0-alpha.358 245 10/23/2024
1.0.0-alpha.357 39 10/23/2024
1.0.0-alpha.356 46 10/23/2024
1.0.0-alpha.355 36 10/22/2024
1.0.0-alpha.354 39 10/22/2024
1.0.0-alpha.353 33 10/22/2024
1.0.0-alpha.352 33 10/22/2024
1.0.0-alpha.351 28 10/22/2024
1.0.0-alpha.350 76 10/17/2024
1.0.0-alpha.349 46 10/17/2024
1.0.0-alpha.348 47 10/17/2024
1.0.0-alpha.347 51 10/16/2024
1.0.0-alpha.346 41 10/16/2024
1.0.0-alpha.345 60 10/15/2024
1.0.0-alpha.344 38 10/15/2024
1.0.0-alpha.343 506 10/11/2024
1.0.0-alpha.342 43 10/11/2024
1.0.0-alpha.341 60 10/9/2024
1.0.0-alpha.340 58 10/9/2024
1.0.0-alpha.339 47 10/9/2024
1.0.0-alpha.338 357 10/8/2024
1.0.0-alpha.337 55 10/4/2024
1.0.0-alpha.336 58 10/3/2024
1.0.0-alpha.335 45 10/3/2024
1.0.0-alpha.334 67 10/1/2024
1.0.0-alpha.333 59 9/30/2024
1.0.0-alpha.332 511 9/27/2024
1.0.0-alpha.331 213 9/26/2024
1.0.0-alpha.330 145 9/25/2024
1.0.0-alpha.329 36 9/25/2024
1.0.0-alpha.328 63 9/24/2024
1.0.0-alpha.326 965 9/19/2024
1.0.0-alpha.324 61 9/18/2024
1.0.0-alpha.323 64 9/17/2024
1.0.0-alpha.322 80 9/14/2024
1.0.0-alpha.321 103 9/10/2024
1.0.0-alpha.319 136 9/5/2024
1.0.0-alpha.318 108 9/3/2024
1.0.0-alpha.317 53 8/29/2024
1.0.0-alpha.316 36 8/29/2024
1.0.0-alpha.315 81 8/22/2024
1.0.0-alpha.314 80 8/22/2024
1.0.0-alpha.313 150 8/17/2024
1.0.0-alpha.312 743 8/16/2024
1.0.0-alpha.310 120 8/15/2024
1.0.0-alpha.309 12,847 8/14/2024
1.0.0-alpha.308 85 8/13/2024
1.0.0-alpha.307 75 8/13/2024
1.0.0-alpha.306 68 8/13/2024
1.0.0-alpha.305 68 8/13/2024
1.0.0-alpha.304 63 8/13/2024
1.0.0-alpha.303 70 8/12/2024
1.0.0-alpha.302 1,062 8/12/2024
1.0.0-alpha.301 66 8/8/2024
1.0.0-alpha.300 61 8/7/2024
1.0.0-alpha.299 212 8/6/2024
1.0.0-alpha.298 36 8/6/2024
1.0.0-alpha.297 43 8/5/2024
1.0.0-alpha.296 530 8/3/2024
1.0.0-alpha.295 59 8/1/2024
1.0.0-alpha.294 59 8/1/2024
1.0.0-alpha.293 51 7/31/2024
1.0.0-alpha.292 58 7/30/2024
1.0.0-alpha.291 60 7/29/2024
1.0.0-alpha.290 74 7/26/2024
1.0.0-alpha.289 66 7/25/2024
1.0.0-alpha.288 68 7/23/2024
1.0.0-alpha.287 61 7/23/2024
1.0.0-alpha.286 63 7/23/2024
1.0.0-alpha.285 254 7/19/2024
1.0.0-alpha.284 51 7/19/2024
1.0.0-alpha.283 53 7/19/2024
1.0.0-alpha.282 54 7/19/2024
1.0.0-alpha.281 47 7/19/2024
1.0.0-alpha.280 48 7/19/2024
1.0.0-alpha.278 1,644 2/13/2024
1.0.0-alpha.277 85 2/12/2024
1.0.0-alpha.276 83 2/8/2024
1.0.0-alpha.275 105 2/7/2024
1.0.0-alpha.274 118 2/5/2024
1.0.0-alpha.273 91 2/1/2024
1.0.0-alpha.272 191 1/24/2024
1.0.0-alpha.271 85 1/23/2024
1.0.0-alpha.270 83 1/19/2024
1.0.0-alpha.269 113 1/16/2024
1.0.0-alpha.268 85 1/13/2024
1.0.0-alpha.267 192 1/9/2024
1.0.0-alpha.266 84 1/6/2024
1.0.0-alpha.265 134 12/27/2023
1.0.0-alpha.264 74 12/26/2023
1.0.0-alpha.263 136 12/19/2023
1.0.0-alpha.262 74 12/19/2023
1.0.0-alpha.261 83 12/19/2023
1.0.0-alpha.260 82 12/18/2023
1.0.0-alpha.259 95 12/15/2023
1.0.0-alpha.258 83 12/15/2023
1.0.0-alpha.257 82 12/14/2023
1.0.0-alpha.256 81 12/13/2023
1.0.0-alpha.255 73 12/13/2023
1.0.0-alpha.254 81 12/12/2023
1.0.0-alpha.253 66 12/12/2023
1.0.0-alpha.252 85 12/11/2023
1.0.0-alpha.251 82 12/11/2023
1.0.0-alpha.250 101 12/8/2023
1.0.0-alpha.249 78 12/7/2023
1.0.0-alpha.248 74 12/7/2023
1.0.0-alpha.247 77 12/5/2023
1.0.0-alpha.246 83 12/4/2023
1.0.0-alpha.245 81 11/29/2023
1.0.0-alpha.244 69 11/28/2023
1.0.0-alpha.243 63 11/28/2023
1.0.0-alpha.242 75 11/28/2023
1.0.0-alpha.241 80 11/28/2023
1.0.0-alpha.240 81 11/27/2023
1.0.0-alpha.239 69 11/27/2023
1.0.0-alpha.238 79 11/25/2023
1.0.0-alpha.237 78 11/21/2023
1.0.0-alpha.236 81 11/21/2023
1.0.0-alpha.235 75 11/20/2023
1.0.0-alpha.234 80 11/17/2023
1.0.0-alpha.233 86 11/16/2023
1.0.0-alpha.232 161 11/15/2023
1.0.0-alpha.231 96 11/13/2023
1.0.0-alpha.230 81 11/10/2023
1.0.0-alpha.229 78 11/7/2023
1.0.0-alpha.228 75 11/6/2023
1.0.0-alpha.227 88 11/1/2023
1.0.0-alpha.226 82 10/31/2023
1.0.0-alpha.225 90 10/30/2023
1.0.0-alpha.224 76 10/30/2023
1.0.0-alpha.223 88 10/26/2023
1.0.0-alpha.222 97 10/25/2023
1.0.0-alpha.221 68 10/25/2023
1.0.0-alpha.220 93 10/24/2023
1.0.0-alpha.219 93 10/24/2023
1.0.0-alpha.218 84 10/24/2023
1.0.0-alpha.217 79 10/23/2023
1.0.0-alpha.216 78 10/20/2023
1.0.0-alpha.215 63 10/20/2023
1.0.0-alpha.214 76 10/19/2023
1.0.0-alpha.213 90 10/18/2023
1.0.0-alpha.212 78 10/18/2023
1.0.0-alpha.211 75 10/18/2023
1.0.0-alpha.210 82 10/18/2023
1.0.0-alpha.209 85 10/17/2023
1.0.0-alpha.208 85 10/17/2023
1.0.0-alpha.207 76 10/17/2023
1.0.0-alpha.206 94 10/15/2023
1.0.0-alpha.205 71 10/15/2023
1.0.0-alpha.204 205 10/13/2023
1.0.0-alpha.203 84 10/12/2023
1.0.0-alpha.202 78 10/12/2023
1.0.0-alpha.201 78 10/11/2023
1.0.0-alpha.200 87 10/10/2023
1.0.0-alpha.199 94 10/4/2023
1.0.0-alpha.198 80 10/3/2023
1.0.0-alpha.197 72 10/3/2023
1.0.0-alpha.196 85 9/28/2023
1.0.0-alpha.195 78 9/28/2023
1.0.0-alpha.194 68 9/28/2023
1.0.0-alpha.193 74 9/28/2023
1.0.0-alpha.192 77 9/28/2023
1.0.0-alpha.191 78 9/28/2023
1.0.0-alpha.190 88 9/27/2023
1.0.0-alpha.189 80 9/27/2023
1.0.0-alpha.188 88 9/27/2023
1.0.0-alpha.187 75 9/26/2023
1.0.0-alpha.186 85 9/26/2023
1.0.0-alpha.185 85 9/25/2023
1.0.0-alpha.184 71 9/25/2023
1.0.0-alpha.183 139 9/22/2023
1.0.0-alpha.182 77 9/22/2023
1.0.0-alpha.181 67 9/21/2023
1.0.0-alpha.180 96 9/19/2023
1.0.0-alpha.179 86 9/14/2023
1.0.0-alpha.178 95 9/13/2023
1.0.0-alpha.177 143 9/12/2023
1.0.0-alpha.176 95 9/11/2023
1.0.0-alpha.175 89 9/11/2023
1.0.0-alpha.174 95 9/7/2023
1.0.0-alpha.173 98 9/7/2023
1.0.0-alpha.172 76 9/7/2023
1.0.0-alpha.171 93 9/6/2023
1.0.0-alpha.170 89 9/6/2023
1.0.0-alpha.169 104 9/6/2023
1.0.0-alpha.168 95 9/5/2023
1.0.0-alpha.167 83 9/5/2023
1.0.0-alpha.166 95 9/5/2023
1.0.0-alpha.165 165 9/1/2023
1.0.0-alpha.164 86 9/1/2023
1.0.0-alpha.163 123 8/29/2023
1.0.0-alpha.162 96 8/29/2023
1.0.0-alpha.161 100 8/28/2023
1.0.0-alpha.160 94 8/25/2023
1.0.0-alpha.159 88 8/24/2023
1.0.0-alpha.158 84 8/23/2023
1.0.0-alpha.157 100 8/23/2023
1.0.0-alpha.156 94 8/21/2023
1.0.0-alpha.155 93 8/17/2023
1.0.0-alpha.154 93 8/15/2023
1.0.0-alpha.153 109 8/11/2023
1.0.0-alpha.152 103 8/11/2023
1.0.0-alpha.151 216 8/10/2023
1.0.0-alpha.150 106 8/8/2023
1.0.0-alpha.149 106 8/3/2023
1.0.0-alpha.148 189 7/31/2023
1.0.0-alpha.147 108 7/31/2023
1.0.0-alpha.146 85 7/31/2023
1.0.0-alpha.145 98 7/31/2023
1.0.0-alpha.144 87 7/31/2023
1.0.0-alpha.143 108 7/28/2023
1.0.0-alpha.142 103 7/27/2023
1.0.0-alpha.141 107 7/26/2023
1.0.0-alpha.140 101 7/26/2023
1.0.0-alpha.139 110 7/25/2023
1.0.0-alpha.138 108 7/25/2023
1.0.0-alpha.137 106 7/24/2023
1.0.0-alpha.136 110 7/21/2023
1.0.0-alpha.135 106 7/21/2023
1.0.0-alpha.134 101 7/20/2023
1.0.0-alpha.133 88 7/20/2023
1.0.0-alpha.132 112 7/20/2023
1.0.0-alpha.131 105 7/20/2023
1.0.0-alpha.130 75 7/20/2023
1.0.0-alpha.129 103 7/20/2023
1.0.0-alpha.128 104 7/19/2023
1.0.0-alpha.127 137 7/13/2023
1.0.0-alpha.126 106 7/12/2023
1.0.0-alpha.125 110 7/12/2023
1.0.0-alpha.124 131 7/11/2023
1.0.0-alpha.123 98 7/11/2023
1.0.0-alpha.122 104 7/11/2023
1.0.0-alpha.121 102 7/11/2023
1.0.0-alpha.120 169 7/7/2023
1.0.0-alpha.119 103 6/22/2023
1.0.0-alpha.118 90 6/21/2023
1.0.0-alpha.117 76 6/21/2023
1.0.0-alpha.116 87 6/21/2023
1.0.0-alpha.115 84 6/21/2023
1.0.0-alpha.114 100 6/20/2023
1.0.0-alpha.113 181 6/16/2023
1.0.0-alpha.112 111 6/12/2023
1.0.0-alpha.111 87 6/12/2023
1.0.0-alpha.110 97 6/12/2023
1.0.0-alpha.109 94 6/12/2023
1.0.0-alpha.108 114 6/9/2023
1.0.0-alpha.107 81 6/9/2023
1.0.0-alpha.106 132 5/31/2023
1.0.0-alpha.105 88 5/30/2023
1.0.0-alpha.104 92 5/27/2023
1.0.0-alpha.103 121 5/24/2023
1.0.0-alpha.102 103 5/20/2023
1.0.0-alpha.101 155 5/18/2023
1.0.0-alpha.99 360 5/10/2023
1.0.0-alpha.98 104 5/10/2023
1.0.0-alpha.97 147 5/5/2023
1.0.0-alpha.96 98 5/2/2023
1.0.0-alpha.95 108 5/2/2023
1.0.0-alpha.94 113 4/29/2023
1.0.0-alpha.93 95 4/24/2023
1.0.0-alpha.92 343 4/19/2023
1.0.0-alpha.91 107 4/18/2023
1.0.0-alpha.90 93 4/18/2023
1.0.0-alpha.89 97 4/18/2023
1.0.0-alpha.88 82 4/17/2023
1.0.0-alpha.87 4,759 4/16/2023
1.0.0-alpha.86 102 4/16/2023
1.0.0-alpha.85 91 4/16/2023
1.0.0-alpha.84 1,038 1/23/2023
1.0.0-alpha.83 118 1/20/2023
1.0.0-alpha.82 107 1/19/2023
1.0.0-alpha.81 1,042 1/18/2023
1.0.0-alpha.80 112 1/17/2023
1.0.0-alpha.79 109 1/16/2023
1.0.0-alpha.78 149 1/13/2023
1.0.0-alpha.76 124 1/8/2023
1.0.0-alpha.75 122 1/6/2023
1.0.0-alpha.74 128 1/2/2023
1.0.0-alpha.73 113 1/2/2023
1.0.0-alpha.72 101 1/1/2023
1.0.0-alpha.71 110 12/30/2022
1.0.0-alpha.70 111 12/30/2022
1.0.0-alpha.69 177 12/30/2022
1.0.0-alpha.68 121 12/29/2022
1.0.0-alpha.67 122 12/28/2022
1.0.0-alpha.66 113 12/28/2022
1.0.0-alpha.65 107 12/27/2022
1.0.0-alpha.64 102 12/23/2022
1.0.0-alpha.63 109 12/22/2022
1.0.0-alpha.62 104 12/21/2022
1.0.0-alpha.61 116 12/20/2022
1.0.0-alpha.60 113 12/19/2022
1.0.0-alpha.59 121 12/17/2022
1.0.0-alpha.58 109 12/16/2022
1.0.0-alpha.57 101 12/16/2022
1.0.0-alpha.56 129 12/15/2022
1.0.0-alpha.55 107 12/14/2022
1.0.0-alpha.54 109 12/13/2022
1.0.0-alpha.53 113 12/13/2022
1.0.0-alpha.52 112 12/12/2022
1.0.0-alpha.51 117 12/10/2022
1.0.0-alpha.50 97 12/10/2022
1.0.0-alpha.49 105 12/9/2022
1.0.0-alpha.48 99 12/9/2022
1.0.0-alpha.47 113 12/7/2022
1.0.0-alpha.46 98 12/6/2022
1.0.0-alpha.45 118 12/6/2022
1.0.0-alpha.44 181 12/3/2022
1.0.0-alpha.43 111 12/1/2022
1.0.0-alpha.42 107 12/1/2022
1.0.0-alpha.41 117 12/1/2022
1.0.0-alpha.40 113 11/30/2022
1.0.0-alpha.39 125 11/29/2022
1.0.0-alpha.38 109 11/29/2022
1.0.0-alpha.37 117 11/28/2022
1.0.0-alpha.36 106 11/28/2022
1.0.0-alpha.35 102 11/28/2022
1.0.0-alpha.34 101 11/28/2022
1.0.0-alpha.33 122 11/24/2022
1.0.0-alpha.32 115 11/20/2022
1.0.0-alpha.31 111 11/18/2022
1.0.0-alpha.30 105 11/18/2022
1.0.0-alpha.29 113 11/18/2022
1.0.0-alpha.28 112 11/17/2022
1.0.0-alpha.27 163 10/25/2022
1.0.0-alpha.25 206 10/23/2022
1.0.0-alpha.24 135 10/22/2022
1.0.0-alpha.23 135 10/22/2022
1.0.0-alpha.22 140 10/21/2022
1.0.0-alpha.21 168 10/21/2022
1.0.0-alpha.20 121 10/21/2022
1.0.0-alpha.19 119 10/21/2022
1.0.0-alpha.18 115 10/13/2022
1.0.0-alpha.17 195 10/4/2022
1.0.0-alpha.16 193 9/28/2022
1.0.0-alpha.15 156 9/27/2022
1.0.0-alpha.14 308 9/20/2022
1.0.0-alpha.13 170 9/16/2022
1.0.0-alpha.12 243 9/1/2022
1.0.0-alpha.11 184 8/29/2022
1.0.0-alpha.10 128 8/27/2022
1.0.0-alpha.9 152 8/25/2022
1.0.0-alpha.8 138 8/23/2022
1.0.0-alpha.7 146 8/19/2022
1.0.0-alpha.6 118 8/18/2022
1.0.0-alpha.5 116 8/18/2022
1.0.0-alpha.4 145 8/18/2022
1.0.0-alpha.3 109 8/18/2022
1.0.0-alpha.2 110 8/18/2022
1.0.0-alpha.1 133 8/18/2022