Closed TheSpiritXIII closed 10 months ago
My vote would be to keep a single types.go
with all the canonical structs and client generation tags, but move the individual functions to separate files.
Thanks for your insight, @pintohutch! Can you elaborate on some reasons why you think we should do it this way?
My reasons for not doing it this way are:
po-docgen
needs filenames, but this tool is deprecated and we should move off of it at some point.Had an offline discussion with @pintohutch who okayed this change, as long as controller-generators still work (as part of #738).
fyi, renamed collection_types to pod_types, and created monitoring_types for common status objects that would be used by podmonitoring, nodemonitoring and probemonitoring!
Since the file was becoming unwieldy...