diff --git a/pkg/customresourcestate/config.go b/pkg/customresourcestate/config.go index 76e7786763..ef4b5298c6 100644 --- a/pkg/customresourcestate/config.go +++ b/pkg/customresourcestate/config.go @@ -161,6 +161,11 @@ type ConfigDecoder interface { Decode(v interface{}) (err error) } +// generateResources generates the set of possible resources from the varying V and, or K of the original config. +func generateResources(r []Resource) []Resource { + return nil +} + // FromConfig decodes a configuration source into a slice of customresource.RegistryFactory that are ready to use. func FromConfig(decoder ConfigDecoder) ([]customresource.RegistryFactory, error) { var crconfig Metrics