diff --git a/service/builder/builder.go b/service/internal/builder/builder.go similarity index 100% rename from service/builder/builder.go rename to service/internal/builder/builder.go diff --git a/service/builder/doc.go b/service/internal/builder/doc.go similarity index 100% rename from service/builder/doc.go rename to service/internal/builder/doc.go diff --git a/service/builder/exporters_builder.go b/service/internal/builder/exporters_builder.go similarity index 100% rename from service/builder/exporters_builder.go rename to service/internal/builder/exporters_builder.go diff --git a/service/builder/exporters_builder_test.go b/service/internal/builder/exporters_builder_test.go similarity index 100% rename from service/builder/exporters_builder_test.go rename to service/internal/builder/exporters_builder_test.go diff --git a/service/builder/extensions_builder.go b/service/internal/builder/extensions_builder.go similarity index 100% rename from service/builder/extensions_builder.go rename to service/internal/builder/extensions_builder.go diff --git a/service/builder/pipelines_builder.go b/service/internal/builder/pipelines_builder.go similarity index 100% rename from service/builder/pipelines_builder.go rename to service/internal/builder/pipelines_builder.go diff --git a/service/builder/pipelines_builder_test.go b/service/internal/builder/pipelines_builder_test.go similarity index 100% rename from service/builder/pipelines_builder_test.go rename to service/internal/builder/pipelines_builder_test.go diff --git a/service/builder/receivers_builder.go b/service/internal/builder/receivers_builder.go similarity index 100% rename from service/builder/receivers_builder.go rename to service/internal/builder/receivers_builder.go diff --git a/service/builder/receivers_builder_test.go b/service/internal/builder/receivers_builder_test.go similarity index 100% rename from service/builder/receivers_builder_test.go rename to service/internal/builder/receivers_builder_test.go diff --git a/service/builder/testdata/bad_processor_factory.yaml b/service/internal/builder/testdata/bad_processor_factory.yaml similarity index 100% rename from service/builder/testdata/bad_processor_factory.yaml rename to service/internal/builder/testdata/bad_processor_factory.yaml diff --git a/service/builder/testdata/bad_receiver_factory.yaml b/service/internal/builder/testdata/bad_receiver_factory.yaml similarity index 100% rename from service/builder/testdata/bad_receiver_factory.yaml rename to service/internal/builder/testdata/bad_receiver_factory.yaml diff --git a/service/builder/testdata/pipelines_builder.yaml b/service/internal/builder/testdata/pipelines_builder.yaml similarity index 100% rename from service/builder/testdata/pipelines_builder.yaml rename to service/internal/builder/testdata/pipelines_builder.yaml diff --git a/service/builder/testdata/unused_receiver.yaml b/service/internal/builder/testdata/unused_receiver.yaml similarity index 100% rename from service/builder/testdata/unused_receiver.yaml rename to service/internal/builder/testdata/unused_receiver.yaml diff --git a/service/service.go b/service/service.go index 196116c51fc..dc7a136f8c2 100644 --- a/service/service.go +++ b/service/service.go @@ -41,8 +41,8 @@ import ( "go.opentelemetry.io/collector/consumer/consumererror" "go.opentelemetry.io/collector/internal/collector/telemetry" "go.opentelemetry.io/collector/internal/version" - "go.opentelemetry.io/collector/service/builder" "go.opentelemetry.io/collector/service/internal" + "go.opentelemetry.io/collector/service/internal/builder" ) const ( diff --git a/service/service_test.go b/service/service_test.go index 7b8800609be..003fc51b766 100644 --- a/service/service_test.go +++ b/service/service_test.go @@ -44,8 +44,8 @@ import ( "go.opentelemetry.io/collector/processor/attributesprocessor" "go.opentelemetry.io/collector/processor/batchprocessor" "go.opentelemetry.io/collector/receiver/jaegerreceiver" - "go.opentelemetry.io/collector/service/builder" "go.opentelemetry.io/collector/service/defaultcomponents" + "go.opentelemetry.io/collector/service/internal/builder" "go.opentelemetry.io/collector/testutil" )