package samplersv3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/opentelemetry/samplers/v3"

Index

Variables

var File_envoy_extensions_tracers_opentelemetry_samplers_v3_always_on_sampler_proto protoreflect.FileDescriptor

Types

type AlwaysOnSamplerConfig

type AlwaysOnSamplerConfig struct {
	// contains filtered or unexported fields
}

func (*AlwaysOnSamplerConfig) Descriptor

func (*AlwaysOnSamplerConfig) Descriptor() ([]byte, []int)

Deprecated: Use AlwaysOnSamplerConfig.ProtoReflect.Descriptor instead.

func (*AlwaysOnSamplerConfig) ProtoMessage

func (*AlwaysOnSamplerConfig) ProtoMessage()

func (*AlwaysOnSamplerConfig) ProtoReflect

func (x *AlwaysOnSamplerConfig) ProtoReflect() protoreflect.Message

func (*AlwaysOnSamplerConfig) Reset

func (x *AlwaysOnSamplerConfig) Reset()

func (*AlwaysOnSamplerConfig) String

func (x *AlwaysOnSamplerConfig) String() string

func (*AlwaysOnSamplerConfig) Validate

func (m *AlwaysOnSamplerConfig) Validate() error

Validate checks the field values on AlwaysOnSamplerConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AlwaysOnSamplerConfig) ValidateAll

func (m *AlwaysOnSamplerConfig) ValidateAll() error

ValidateAll checks the field values on AlwaysOnSamplerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AlwaysOnSamplerConfigMultiError, or nil if none found.

type AlwaysOnSamplerConfigMultiError

type AlwaysOnSamplerConfigMultiError []error

AlwaysOnSamplerConfigMultiError is an error wrapping multiple validation errors returned by AlwaysOnSamplerConfig.ValidateAll() if the designated constraints aren't met.

func (AlwaysOnSamplerConfigMultiError) AllErrors

func (m AlwaysOnSamplerConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AlwaysOnSamplerConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AlwaysOnSamplerConfigValidationError

type AlwaysOnSamplerConfigValidationError struct {
	// contains filtered or unexported fields
}

AlwaysOnSamplerConfigValidationError is the validation error returned by AlwaysOnSamplerConfig.Validate if the designated constraints aren't met.

func (AlwaysOnSamplerConfigValidationError) Cause

Cause function returns cause value.

func (AlwaysOnSamplerConfigValidationError) Error

Error satisfies the builtin error interface

func (AlwaysOnSamplerConfigValidationError) ErrorName

ErrorName returns error name.

func (AlwaysOnSamplerConfigValidationError) Field

Field function returns field value.

func (AlwaysOnSamplerConfigValidationError) Key

Key function returns key value.

func (AlwaysOnSamplerConfigValidationError) Reason

Reason function returns reason value.

Source Files

always_on_sampler.pb.go always_on_sampler.pb.validate.go

Version
v0.12.0
Published
Jan 2, 2024
Platform
linux/amd64
Imports
17 packages
Last checked
7 minutes ago

Tools for package owners.