go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/trace/v2alpha Index | Files

package envoy_config_trace_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/trace/v2alpha"

Index

Package Files

xray.pb.go xray.pb.validate.go

Variables

var File_envoy_config_trace_v2alpha_xray_proto protoreflect.FileDescriptor

type XRayConfig Uses

type XRayConfig struct {

    // The UDP endpoint of the X-Ray Daemon where the spans will be sent.
    // If this value is not set, the default value of 127.0.0.1:2000 will be used.
    DaemonEndpoint *core.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"`
    // The name of the X-Ray segment.
    SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
    // The location of a local custom sampling rules JSON file.
    // For an example of the sampling rules see:
    // `X-Ray SDK documentation
    // <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
    SamplingRuleManifest *core.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"`
    // contains filtered or unexported fields
}

func (*XRayConfig) Descriptor Uses

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

Deprecated: Use XRayConfig.ProtoReflect.Descriptor instead.

func (*XRayConfig) GetDaemonEndpoint Uses

func (x *XRayConfig) GetDaemonEndpoint() *core.SocketAddress

func (*XRayConfig) GetSamplingRuleManifest Uses

func (x *XRayConfig) GetSamplingRuleManifest() *core.DataSource

func (*XRayConfig) GetSegmentName Uses

func (x *XRayConfig) GetSegmentName() string

func (*XRayConfig) ProtoMessage Uses

func (*XRayConfig) ProtoMessage()

func (*XRayConfig) ProtoReflect Uses

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

func (*XRayConfig) Reset Uses

func (x *XRayConfig) Reset()

func (*XRayConfig) String Uses

func (x *XRayConfig) String() string

func (*XRayConfig) Validate Uses

func (m *XRayConfig) Validate() error

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

type XRayConfigValidationError Uses

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

XRayConfigValidationError is the validation error returned by XRayConfig.Validate if the designated constraints aren't met.

func (XRayConfigValidationError) Cause Uses

func (e XRayConfigValidationError) Cause() error

Cause function returns cause value.

func (XRayConfigValidationError) Error Uses

func (e XRayConfigValidationError) Error() string

Error satisfies the builtin error interface

func (XRayConfigValidationError) ErrorName Uses

func (e XRayConfigValidationError) ErrorName() string

ErrorName returns error name.

func (XRayConfigValidationError) Field Uses

func (e XRayConfigValidationError) Field() string

Field function returns field value.

func (XRayConfigValidationError) Key Uses

func (e XRayConfigValidationError) Key() bool

Key function returns key value.

func (XRayConfigValidationError) Reason Uses

func (e XRayConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_trace_v2alpha imports 19 packages (graph) and is imported by 4 packages. Updated 2020-10-29. Refresh now. Tools for package owners.