diff --git a/.chloggen/rmconfigauth.yaml b/.chloggen/rmconfigauth.yaml new file mode 100755 index 00000000000..56d1b6cfacd --- /dev/null +++ b/.chloggen/rmconfigauth.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: configauth + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove deprecated funcs/types from `configauth` + +# One or more tracking issues or pull requests related to the change +issues: [6719] diff --git a/config/configauth/configauth.go b/config/configauth/configauth.go index 3e21ad80b08..d74f758ae3e 100644 --- a/config/configauth/configauth.go +++ b/config/configauth/configauth.go @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +// Package configauth implements the configuration settings to +// ensure authentication on incoming requests, and allows +// exporters to add authentication on outgoing requests. package configauth // import "go.opentelemetry.io/collector/config/configauth" import ( diff --git a/config/configauth/deprecated.go b/config/configauth/deprecated.go deleted file mode 100644 index 39d18ebf248..00000000000 --- a/config/configauth/deprecated.go +++ /dev/null @@ -1,65 +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 configauth // import "go.opentelemetry.io/collector/config/configauth" - -import ( - "go.opentelemetry.io/collector/extension/auth" - "go.opentelemetry.io/collector/extension/auth/authtest" -) - -// Deprecated: [v0.67.0] Use auth.Client -type ClientAuthenticator = auth.Client - -// Deprecated: [v0.67.0] Use auth.ClientOption -type ClientOption = auth.ClientOption - -// Deprecated: [v0.67.0] Use auth.WithClientStart -var WithClientStart = auth.WithClientStart - -// Deprecated: [v0.67.0] Use auth.WithClientShutdown -var WithClientShutdown = auth.WithClientShutdown - -// Deprecated: [v0.67.0] Use auth.WithClientRoundTripper -var WithClientRoundTripper = auth.WithClientRoundTripper - -// Deprecated: [v0.67.0] Use auth.WithClientPerRPCCredentials -var WithPerRPCCredentials = auth.WithClientPerRPCCredentials - -// Deprecated: [v0.67.0] Use auth.NewClient -var NewClientAuthenticator = auth.NewClient - -// Deprecated: [v0.67.0] Use auth.Server -type ServerAuthenticator = auth.Server - -// Deprecated: [v0.67.0] Use auth.ServerAuthenticateFunc -type AuthenticateFunc = auth.ServerAuthenticateFunc - -// Deprecated: [v0.67.0] Use auth.ServerOption -type Option = auth.ServerOption - -// Deprecated: [v0.67.0] Use auth.WithServerAuthenticate -var WithAuthenticate = auth.WithServerAuthenticate - -// Deprecated: [v0.67.0] Use auth.WithServerStart -var WithStart = auth.WithServerStart - -// Deprecated: [v0.67.0] Use auth.WithShutdown -var WithShutdown = auth.WithServerShutdown - -// Deprecated: [v0.67.0] Use auth.NewServer -var NewServerAuthenticator = auth.NewServer - -// Deprecated: [v0.67.0] Use auth.MockClient -type MockClientAuthenticator = authtest.MockClient diff --git a/config/configauth/doc.go b/config/configauth/doc.go deleted file mode 100644 index b034aab6fa1..00000000000 --- a/config/configauth/doc.go +++ /dev/null @@ -1,18 +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 configauth implements the configuration settings to -// ensure authentication on incoming requests, and allows -// exporters to add authentication on outgoing requests. -package configauth // import "go.opentelemetry.io/collector/config/configauth"