KubernetesCRDModelGen 1.0.0-alpha.391

This is a prerelease version of KubernetesCRDModelGen.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package KubernetesCRDModelGen --version 1.0.0-alpha.391                
NuGet\Install-Package KubernetesCRDModelGen -Version 1.0.0-alpha.391                
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.391" />                
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.391                
#r "nuget: KubernetesCRDModelGen, 1.0.0-alpha.391"                
#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.391&prerelease

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