diff --git a/.chloggen/rmdepcfgtest.yaml b/.chloggen/rmdepcfgtest.yaml new file mode 100755 index 00000000000..1fec793a715 --- /dev/null +++ b/.chloggen/rmdepcfgtest.yaml @@ -0,0 +1,11 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: breaking + +# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) +component: config/configtest + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove deprecated `configtest` package. + +# One or more tracking issues or pull requests related to the change +issues: [6542] diff --git a/config/configtest/configtest.go b/config/configtest/configtest.go deleted file mode 100644 index 5a599bbbe2c..00000000000 --- a/config/configtest/configtest.go +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package configtest // import "go.opentelemetry.io/collector/config/configtest" - -import ( - "go.opentelemetry.io/collector/component/componenttest" -) - -// Deprecated: [v0.64.0] use componenttest.CheckConfigStruct. -var CheckConfigStruct = componenttest.CheckConfigStruct diff --git a/config/configtest/doc.go b/config/configtest/doc.go deleted file mode 100644 index 1c0319cb4c0..00000000000 --- a/config/configtest/doc.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package configtest provides testing functionality for config package interfaces. -package configtest // import "go.opentelemetry.io/collector/config/configtest"