...

Package envoy_extensions_tracers_dynamic_ot_v4alpha

import "github.com/datawire/ambassador/v2/pkg/api/envoy/extensions/tracers/dynamic_ot/v4alpha"
Overview
Index

Overview ▾

Variables

var File_envoy_extensions_tracers_dynamic_ot_v4alpha_dynamic_ot_proto protoreflect.FileDescriptor

type DynamicOtConfig

DynamicOtConfig is used to dynamically load a tracer from a shared library that implements the `OpenTracing dynamic loading API <https://github.com/opentracing/opentracing-cpp>`_. [#extension: envoy.tracers.dynamic_ot]

type DynamicOtConfig struct {

    // Dynamic library implementing the `OpenTracing API
    // <https://github.com/opentracing/opentracing-cpp>`_.
    Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"`
    // The configuration to use when creating a tracer from the given dynamic
    // library.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
    // contains filtered or unexported fields
}

func (*DynamicOtConfig) Descriptor

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

Deprecated: Use DynamicOtConfig.ProtoReflect.Descriptor instead.

func (*DynamicOtConfig) GetConfig

func (x *DynamicOtConfig) GetConfig() *_struct.Struct

func (*DynamicOtConfig) GetLibrary

func (x *DynamicOtConfig) GetLibrary() string

func (*DynamicOtConfig) ProtoMessage

func (*DynamicOtConfig) ProtoMessage()

func (*DynamicOtConfig) ProtoReflect

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

func (*DynamicOtConfig) Reset

func (x *DynamicOtConfig) Reset()

func (*DynamicOtConfig) String

func (x *DynamicOtConfig) String() string

func (*DynamicOtConfig) Validate

func (m *DynamicOtConfig) Validate() error

Validate checks the field values on DynamicOtConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DynamicOtConfigValidationError

DynamicOtConfigValidationError is the validation error returned by DynamicOtConfig.Validate if the designated constraints aren't met.

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

func (DynamicOtConfigValidationError) Cause

func (e DynamicOtConfigValidationError) Cause() error

Cause function returns cause value.

func (DynamicOtConfigValidationError) Error

func (e DynamicOtConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DynamicOtConfigValidationError) ErrorName

func (e DynamicOtConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DynamicOtConfigValidationError) Field

func (e DynamicOtConfigValidationError) Field() string

Field function returns field value.

func (DynamicOtConfigValidationError) Key

func (e DynamicOtConfigValidationError) Key() bool

Key function returns key value.

func (DynamicOtConfigValidationError) Reason

func (e DynamicOtConfigValidationError) Reason() string

Reason function returns reason value.