mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-21 12:30:24 +00:00
e5d9b68d36
Bumps the golang-dependencies group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.16.0 to 0.17.0 - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
235 lines
11 KiB
Go
235 lines
11 KiB
Go
// 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 embedded provides interfaces embedded within the [OpenTelemetry
|
|
// metric API].
|
|
//
|
|
// Implementers of the [OpenTelemetry metric API] can embed the relevant type
|
|
// from this package into their implementation directly. Doing so will result
|
|
// in a compilation error for users when the [OpenTelemetry metric API] is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
//
|
|
// [OpenTelemetry metric API]: https://pkg.go.dev/go.opentelemetry.io/otel/metric
|
|
package embedded // import "go.opentelemetry.io/otel/metric/embedded"
|
|
|
|
// MeterProvider is embedded in
|
|
// [go.opentelemetry.io/otel/metric.MeterProvider].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.MeterProvider] if you want users to
|
|
// experience a compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/metric.MeterProvider]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type MeterProvider interface{ meterProvider() }
|
|
|
|
// Meter is embedded in [go.opentelemetry.io/otel/metric.Meter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Meter] if you want users to experience a
|
|
// compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/metric.Meter] interface
|
|
// is extended (which is something that can happen without a major version bump
|
|
// of the API package).
|
|
type Meter interface{ meter() }
|
|
|
|
// Float64Observer is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64Observer].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64Observer] if you want
|
|
// users to experience a compilation error, signaling they need to update to
|
|
// your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64Observer] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Float64Observer interface{ float64Observer() }
|
|
|
|
// Int64Observer is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64Observer].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64Observer] if you want users
|
|
// to experience a compilation error, signaling they need to update to your
|
|
// latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64Observer] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Int64Observer interface{ int64Observer() }
|
|
|
|
// Observer is embedded in [go.opentelemetry.io/otel/metric.Observer].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Observer] if you want users to experience a
|
|
// compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/metric.Observer]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Observer interface{ observer() }
|
|
|
|
// Registration is embedded in [go.opentelemetry.io/otel/metric.Registration].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Registration] if you want users to
|
|
// experience a compilation error, signaling they need to update to your latest
|
|
// implementation, when the [go.opentelemetry.io/otel/metric.Registration]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Registration interface{ registration() }
|
|
|
|
// Float64Counter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64Counter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64Counter] if you want
|
|
// users to experience a compilation error, signaling they need to update to
|
|
// your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64Counter] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Float64Counter interface{ float64Counter() }
|
|
|
|
// Float64Histogram is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64Histogram].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64Histogram] if you want
|
|
// users to experience a compilation error, signaling they need to update to
|
|
// your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64Histogram] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Float64Histogram interface{ float64Histogram() }
|
|
|
|
// Float64ObservableCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableCounter] if you
|
|
// want users to experience a compilation error, signaling they need to update
|
|
// to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableCounter]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Float64ObservableCounter interface{ float64ObservableCounter() }
|
|
|
|
// Float64ObservableGauge is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableGauge].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableGauge] if you
|
|
// want users to experience a compilation error, signaling they need to update
|
|
// to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableGauge]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Float64ObservableGauge interface{ float64ObservableGauge() }
|
|
|
|
// Float64ObservableUpDownCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter]
|
|
// if you want users to experience a compilation error, signaling they need to
|
|
// update to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64ObservableUpDownCounter]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Float64ObservableUpDownCounter interface{ float64ObservableUpDownCounter() }
|
|
|
|
// Float64UpDownCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Float64UpDownCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Float64UpDownCounter] if you
|
|
// want users to experience a compilation error, signaling they need to update
|
|
// to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Float64UpDownCounter] interface
|
|
// is extended (which is something that can happen without a major version bump
|
|
// of the API package).
|
|
type Float64UpDownCounter interface{ float64UpDownCounter() }
|
|
|
|
// Int64Counter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64Counter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64Counter] if you want users
|
|
// to experience a compilation error, signaling they need to update to your
|
|
// latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64Counter] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Int64Counter interface{ int64Counter() }
|
|
|
|
// Int64Histogram is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64Histogram].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64Histogram] if you want
|
|
// users to experience a compilation error, signaling they need to update to
|
|
// your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64Histogram] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Int64Histogram interface{ int64Histogram() }
|
|
|
|
// Int64ObservableCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableCounter] if you
|
|
// want users to experience a compilation error, signaling they need to update
|
|
// to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableCounter]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Int64ObservableCounter interface{ int64ObservableCounter() }
|
|
|
|
// Int64ObservableGauge is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableGauge].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableGauge] if you
|
|
// want users to experience a compilation error, signaling they need to update
|
|
// to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableGauge] interface
|
|
// is extended (which is something that can happen without a major version bump
|
|
// of the API package).
|
|
type Int64ObservableGauge interface{ int64ObservableGauge() }
|
|
|
|
// Int64ObservableUpDownCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter] if
|
|
// you want users to experience a compilation error, signaling they need to
|
|
// update to your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64ObservableUpDownCounter]
|
|
// interface is extended (which is something that can happen without a major
|
|
// version bump of the API package).
|
|
type Int64ObservableUpDownCounter interface{ int64ObservableUpDownCounter() }
|
|
|
|
// Int64UpDownCounter is embedded in
|
|
// [go.opentelemetry.io/otel/metric.Int64UpDownCounter].
|
|
//
|
|
// Embed this interface in your implementation of the
|
|
// [go.opentelemetry.io/otel/metric.Int64UpDownCounter] if you want
|
|
// users to experience a compilation error, signaling they need to update to
|
|
// your latest implementation, when the
|
|
// [go.opentelemetry.io/otel/metric.Int64UpDownCounter] interface is
|
|
// extended (which is something that can happen without a major version bump of
|
|
// the API package).
|
|
type Int64UpDownCounter interface{ int64UpDownCounter() }
|