go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/tracers/lightstep/v4alpha Index | Files

package envoy_extensions_tracers_lightstep_v4alpha

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

Index

Package Files

lightstep.pb.go lightstep.pb.validate.go

Variables

var (
    LightstepConfig_PropagationMode_name = map[int32]string{
        0:  "ENVOY",
        1:  "LIGHTSTEP",
        2:  "B3",
        3:  "TRACE_CONTEXT",
    }
    LightstepConfig_PropagationMode_value = map[string]int32{
        "ENVOY":         0,
        "LIGHTSTEP":     1,
        "B3":            2,
        "TRACE_CONTEXT": 3,
    }
)

Enum value maps for LightstepConfig_PropagationMode.

var File_envoy_extensions_tracers_lightstep_v4alpha_lightstep_proto protoreflect.FileDescriptor

type LightstepConfig Uses

type LightstepConfig struct {

    // The cluster manager cluster that hosts the LightStep collectors.
    CollectorCluster string `protobuf:"bytes,1,opt,name=collector_cluster,json=collectorCluster,proto3" json:"collector_cluster,omitempty"`
    // File containing the access token to the `LightStep
    // <https://lightstep.com/>`_ API.
    AccessTokenFile string `protobuf:"bytes,2,opt,name=access_token_file,json=accessTokenFile,proto3" json:"access_token_file,omitempty"`
    // Propagation modes to use by LightStep's tracer.
    PropagationModes []LightstepConfig_PropagationMode `protobuf:"varint,3,rep,packed,name=propagation_modes,json=propagationModes,proto3,enum=envoy.extensions.tracers.lightstep.v4alpha.LightstepConfig_PropagationMode" json:"propagation_modes,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the LightStep tracer. [#extension: envoy.tracers.lightstep]

func (*LightstepConfig) Descriptor Uses

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

Deprecated: Use LightstepConfig.ProtoReflect.Descriptor instead.

func (*LightstepConfig) GetAccessTokenFile Uses

func (x *LightstepConfig) GetAccessTokenFile() string

func (*LightstepConfig) GetCollectorCluster Uses

func (x *LightstepConfig) GetCollectorCluster() string

func (*LightstepConfig) GetPropagationModes Uses

func (x *LightstepConfig) GetPropagationModes() []LightstepConfig_PropagationMode

func (*LightstepConfig) ProtoMessage Uses

func (*LightstepConfig) ProtoMessage()

func (*LightstepConfig) ProtoReflect Uses

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

func (*LightstepConfig) Reset Uses

func (x *LightstepConfig) Reset()

func (*LightstepConfig) String Uses

func (x *LightstepConfig) String() string

func (*LightstepConfig) Validate Uses

func (m *LightstepConfig) Validate() error

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

type LightstepConfigValidationError Uses

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

LightstepConfigValidationError is the validation error returned by LightstepConfig.Validate if the designated constraints aren't met.

func (LightstepConfigValidationError) Cause Uses

func (e LightstepConfigValidationError) Cause() error

Cause function returns cause value.

func (LightstepConfigValidationError) Error Uses

func (e LightstepConfigValidationError) Error() string

Error satisfies the builtin error interface

func (LightstepConfigValidationError) ErrorName Uses

func (e LightstepConfigValidationError) ErrorName() string

ErrorName returns error name.

func (LightstepConfigValidationError) Field Uses

func (e LightstepConfigValidationError) Field() string

Field function returns field value.

func (LightstepConfigValidationError) Key Uses

func (e LightstepConfigValidationError) Key() bool

Key function returns key value.

func (LightstepConfigValidationError) Reason Uses

func (e LightstepConfigValidationError) Reason() string

Reason function returns reason value.

type LightstepConfig_PropagationMode Uses

type LightstepConfig_PropagationMode int32

Available propagation modes

const (
    // Propagate trace context in the single header x-ot-span-context.
    LightstepConfig_ENVOY LightstepConfig_PropagationMode = 0
    // Propagate trace context using LightStep's native format.
    LightstepConfig_LIGHTSTEP LightstepConfig_PropagationMode = 1
    // Propagate trace context using the b3 format.
    LightstepConfig_B3 LightstepConfig_PropagationMode = 2
    // Propagation trace context using the w3 trace-context standard.
    LightstepConfig_TRACE_CONTEXT LightstepConfig_PropagationMode = 3
)

func (LightstepConfig_PropagationMode) Descriptor Uses

func (LightstepConfig_PropagationMode) Descriptor() protoreflect.EnumDescriptor

func (LightstepConfig_PropagationMode) Enum Uses

func (x LightstepConfig_PropagationMode) Enum() *LightstepConfig_PropagationMode

func (LightstepConfig_PropagationMode) EnumDescriptor Uses

func (LightstepConfig_PropagationMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use LightstepConfig_PropagationMode.Descriptor instead.

func (LightstepConfig_PropagationMode) Number Uses

func (x LightstepConfig_PropagationMode) Number() protoreflect.EnumNumber

func (LightstepConfig_PropagationMode) String Uses

func (x LightstepConfig_PropagationMode) String() string

func (LightstepConfig_PropagationMode) Type Uses

func (LightstepConfig_PropagationMode) Type() protoreflect.EnumType

Package envoy_extensions_tracers_lightstep_v4alpha imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.