package envoy_extensions_tracers_dynamic_ot_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/dynamic_ot/v4alpha"

Index

Variables

var File_envoy_extensions_tracers_dynamic_ot_v4alpha_dynamic_ot_proto protoreflect.FileDescriptor

Types

type DynamicOtConfig

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
}

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]

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

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

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

func (DynamicOtConfigValidationError) Cause

Cause function returns cause value.

func (DynamicOtConfigValidationError) Error

Error satisfies the builtin error interface

func (DynamicOtConfigValidationError) ErrorName

func (e DynamicOtConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DynamicOtConfigValidationError) Field

Field function returns field value.

func (DynamicOtConfigValidationError) Key

Key function returns key value.

func (DynamicOtConfigValidationError) Reason

Reason function returns reason value.

Source Files

dynamic_ot.pb.go dynamic_ot.pb.validate.go

Version
v0.9.9
Published
May 21, 2021
Platform
js/wasm
Imports
19 packages
Last checked
2 hours ago

Tools for package owners.