Create an interface for each object type to add the ability to create an objectList for each k8s type. For instance all endpoint stack them into a discoveryv1.EndpointSliceList. This is needed by the collector.
Effort were already made to be fully supported by the writers (tar and file one).
Create an interface for each object type to add the ability to create an objectList for each k8s type. For instance all endpoint stack them into a discoveryv1.EndpointSliceList. This is needed by the collector. Effort were already made to be fully supported by the writers (tar and file one).