KubernetesCRDModelGen.Models.traefik.io 1.0.0-alpha.331

This is a prerelease version of KubernetesCRDModelGen.Models.traefik.io.
dotnet add package KubernetesCRDModelGen.Models.traefik.io --version 1.0.0-alpha.331                
NuGet\Install-Package KubernetesCRDModelGen.Models.traefik.io -Version 1.0.0-alpha.331                
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.Models.traefik.io" Version="1.0.0-alpha.331" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KubernetesCRDModelGen.Models.traefik.io --version 1.0.0-alpha.331                
#r "nuget: KubernetesCRDModelGen.Models.traefik.io, 1.0.0-alpha.331"                
#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.Models.traefik.io as a Cake Addin
#addin nuget:?package=KubernetesCRDModelGen.Models.traefik.io&version=1.0.0-alpha.331&prerelease

// Install KubernetesCRDModelGen.Models.traefik.io as a Cake Tool
#tool nuget:?package=KubernetesCRDModelGen.Models.traefik.io&version=1.0.0-alpha.331&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
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-alpha.331 27 9/26/2024
1.0.0-alpha.330 30 9/25/2024
1.0.0-alpha.329 27 9/25/2024
1.0.0-alpha.328 31 9/24/2024
1.0.0-alpha.326 39 9/19/2024
1.0.0-alpha.324 37 9/18/2024
1.0.0-alpha.323 41 9/17/2024
1.0.0-alpha.322 54 9/14/2024
1.0.0-alpha.321 44 9/10/2024
1.0.0-alpha.319 40 9/5/2024
1.0.0-alpha.318 39 9/3/2024
1.0.0-alpha.317 41 8/29/2024
1.0.0-alpha.316 37 8/29/2024
1.0.0-alpha.315 60 8/22/2024
1.0.0-alpha.314 61 8/22/2024
1.0.0-alpha.313 100 8/17/2024
1.0.0-alpha.312 59 8/16/2024
1.0.0-alpha.310 59 8/15/2024
1.0.0-alpha.309 59 8/14/2024
1.0.0-alpha.308 57 8/13/2024
1.0.0-alpha.307 57 8/13/2024
1.0.0-alpha.306 59 8/13/2024
1.0.0-alpha.305 63 8/13/2024
1.0.0-alpha.304 69 8/13/2024
1.0.0-alpha.303 62 8/12/2024
1.0.0-alpha.302 54 8/12/2024
1.0.0-alpha.301 48 8/8/2024
1.0.0-alpha.300 39 8/7/2024
1.0.0-alpha.299 26 8/6/2024
1.0.0-alpha.298 22 8/6/2024
1.0.0-alpha.297 27 8/5/2024
1.0.0-alpha.296 27 8/3/2024
1.0.0-alpha.295 35 8/1/2024
1.0.0-alpha.294 34 8/1/2024
1.0.0-alpha.293 26 7/31/2024
1.0.0-alpha.292 36 7/30/2024
1.0.0-alpha.291 35 7/29/2024
1.0.0-alpha.290 48 7/26/2024
1.0.0-alpha.289 39 7/25/2024
1.0.0-alpha.288 35 7/23/2024
1.0.0-alpha.287 41 7/23/2024
1.0.0-alpha.286 45 7/23/2024
1.0.0-alpha.285 67 7/19/2024
1.0.0-alpha.284 44 7/19/2024
1.0.0-alpha.283 47 7/19/2024
1.0.0-alpha.278 74 2/13/2024
1.0.0-alpha.277 50 2/12/2024
1.0.0-alpha.276 67 2/8/2024
1.0.0-alpha.275 50 2/7/2024
1.0.0-alpha.274 58 2/5/2024
1.0.0-alpha.273 61 2/1/2024
1.0.0-alpha.272 61 1/24/2024
1.0.0-alpha.271 52 1/23/2024
1.0.0-alpha.270 57 1/19/2024
1.0.0-alpha.269 63 1/16/2024
1.0.0-alpha.268 62 1/13/2024
1.0.0-alpha.267 356 1/9/2024
1.0.0-alpha.266 56 1/6/2024
1.0.0-alpha.265 82 12/27/2023
1.0.0-alpha.264 60 12/26/2023
1.0.0-alpha.263 71 12/19/2023
1.0.0-alpha.262 73 12/19/2023
1.0.0-alpha.261 55 12/19/2023
1.0.0-alpha.260 68 12/18/2023
1.0.0-alpha.259 72 12/15/2023
1.0.0-alpha.258 63 12/15/2023
1.0.0-alpha.257 78 12/14/2023
1.0.0-alpha.256 69 12/13/2023
1.0.0-alpha.255 60 12/13/2023
1.0.0-alpha.254 69 12/12/2023
1.0.0-alpha.253 72 12/12/2023
1.0.0-alpha.252 65 12/11/2023
1.0.0-alpha.251 58 12/11/2023
1.0.0-alpha.250 73 12/8/2023
1.0.0-alpha.249 67 12/7/2023
1.0.0-alpha.248 59 12/7/2023
1.0.0-alpha.247 69 12/5/2023
1.0.0-alpha.246 68 12/4/2023
1.0.0-alpha.245 64 11/29/2023
1.0.0-alpha.244 58 11/28/2023
1.0.0-alpha.243 56 11/28/2023
1.0.0-alpha.242 56 11/28/2023
1.0.0-alpha.241 64 11/28/2023
1.0.0-alpha.240 63 11/27/2023
1.0.0-alpha.239 59 11/27/2023
1.0.0-alpha.238 69 11/25/2023