Azure / azure-service-operator

Azure Service Operator allows you to create Azure resources using kubectl
https://azure.github.io/azure-service-operator/
MIT License
716 stars 194 forks source link

Move ARM types into subpackage #3982

Open theunrepentantgeek opened 4 months ago

theunrepentantgeek commented 4 months ago

Describe the current behavior

At the moment, ARM types generated by the ASO code generator sit alongside the other types generated to support each resource, polluting the package directory with extra fluff.

This makes it easy for someone looking into the structure of a resource to accidentally choose the ARM variant instead of the resource itself.

Describe the improvement

Move the ARM types into a subpackage (we should probably call this simply arm) as they're an implementation detail related to how we interact with the ARM API.

Additional context

Split out from #1588