This pr updates the cloud linter command to be able to stream resources to a file, rather than keep everything in memory, before writing to a file
This main difference in this pr is that the entry point just calls process_resource_<resource_name>, and then the resource is in charge of getting all metadata/metrics, and then streaming the results to a file. Previously, the process_resource function would return the resources for further processing
This pr updates the cloud linter command to be able to stream resources to a file, rather than keep everything in memory, before writing to a file
This main difference in this pr is that the entry point just calls
process_resource_<resource_name>
, and then the resource is in charge of getting all metadata/metrics, and then streaming the results to a file. Previously, theprocess_resource
function would return the resources for further processing