Back to godoc.org

Package envoy_config_trace_v2alpha

v0.9.6
Latest Go to latest

The latest major version is .

Published: Jul 5, 2020 | License: Apache-2.0 | Module: github.com/envoyproxy/go-control-plane

Index

Variables

var File_envoy_config_trace_v2alpha_xray_proto protoreflect.FileDescriptor

type XRayConfig

type XRayConfig struct {
	DaemonEndpoint       *core.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"`
	SegmentName          string              `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
	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

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

Deprecated: Use XRayConfig.ProtoReflect.Descriptor instead.

func (*XRayConfig) GetDaemonEndpoint

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

func (*XRayConfig) GetSamplingRuleManifest

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

func (*XRayConfig) GetSegmentName

func (x *XRayConfig) GetSegmentName() string

func (*XRayConfig) ProtoMessage

func (*XRayConfig) ProtoMessage()

func (*XRayConfig) ProtoReflect

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

func (*XRayConfig) Reset

func (x *XRayConfig) Reset()

func (*XRayConfig) String

func (x *XRayConfig) String() string

func (*XRayConfig) Validate

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

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

func (e XRayConfigValidationError) Cause() error

Cause function returns cause value.

func (XRayConfigValidationError) Error

func (e XRayConfigValidationError) Error() string

Error satisfies the builtin error interface

func (XRayConfigValidationError) ErrorName

func (e XRayConfigValidationError) ErrorName() string

ErrorName returns error name.

func (XRayConfigValidationError) Field

func (e XRayConfigValidationError) Field() string

Field function returns field value.

func (XRayConfigValidationError) Key

func (e XRayConfigValidationError) Key() bool

Key function returns key value.

func (XRayConfigValidationError) Reason

func (e XRayConfigValidationError) Reason() string

Reason function returns reason value.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier