Closed
Description
Component(s)
internal/k8stest
internal/core
Describe the issue you're reporting
There is a existing use-case, where multiple internal functions are used in other non-opentelemetry collector repositories to test custom built collectors which are based on the OTel-collector. To avoid the need to copy over the functions needed to properly test the custom collectors, it would be beneficial to have those functions available publicly outside of the internal
package, since in the current state, Golang does not allow importing packages marked as internal.
I would propose to make the following packages publicly available:
My suggestion would be the following:
internal/k8stest
->pkg/k8stest
internal/coreinternal/idutils
->pkg/core/idutils
Looking forward to your feedback!