Documentation ¶
Index ¶
- Variables
- type DogStatsdSink
- func (*DogStatsdSink) Descriptor() ([]byte, []int)
- func (m *DogStatsdSink) GetAddress() *v31.Address
- func (m *DogStatsdSink) GetDogStatsdSpecifier() isDogStatsdSink_DogStatsdSpecifier
- func (m *DogStatsdSink) GetPrefix() string
- func (m *DogStatsdSink) Marshal() (dAtA []byte, err error)
- func (m *DogStatsdSink) MarshalTo(dAtA []byte) (int, error)
- func (m *DogStatsdSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DogStatsdSink) ProtoMessage()
- func (m *DogStatsdSink) Reset()
- func (m *DogStatsdSink) Size() (n int)
- func (m *DogStatsdSink) String() string
- func (m *DogStatsdSink) Unmarshal(dAtA []byte) error
- func (m *DogStatsdSink) Validate() error
- func (m *DogStatsdSink) XXX_DiscardUnknown()
- func (m *DogStatsdSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DogStatsdSink) XXX_Merge(src proto.Message)
- func (*DogStatsdSink) XXX_OneofWrappers() []interface{}
- func (m *DogStatsdSink) XXX_Size() int
- func (m *DogStatsdSink) XXX_Unmarshal(b []byte) error
- type DogStatsdSinkValidationError
- func (e DogStatsdSinkValidationError) Cause() error
- func (e DogStatsdSinkValidationError) Error() string
- func (e DogStatsdSinkValidationError) ErrorName() string
- func (e DogStatsdSinkValidationError) Field() string
- func (e DogStatsdSinkValidationError) Key() bool
- func (e DogStatsdSinkValidationError) Reason() string
- type DogStatsdSink_Address
- type HystrixSink
- func (*HystrixSink) Descriptor() ([]byte, []int)
- func (m *HystrixSink) GetNumBuckets() int64
- func (m *HystrixSink) Marshal() (dAtA []byte, err error)
- func (m *HystrixSink) MarshalTo(dAtA []byte) (int, error)
- func (m *HystrixSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HystrixSink) ProtoMessage()
- func (m *HystrixSink) Reset()
- func (m *HystrixSink) Size() (n int)
- func (m *HystrixSink) String() string
- func (m *HystrixSink) Unmarshal(dAtA []byte) error
- func (m *HystrixSink) Validate() error
- func (m *HystrixSink) XXX_DiscardUnknown()
- func (m *HystrixSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HystrixSink) XXX_Merge(src proto.Message)
- func (m *HystrixSink) XXX_Size() int
- func (m *HystrixSink) XXX_Unmarshal(b []byte) error
- type HystrixSinkValidationError
- func (e HystrixSinkValidationError) Cause() error
- func (e HystrixSinkValidationError) Error() string
- func (e HystrixSinkValidationError) ErrorName() string
- func (e HystrixSinkValidationError) Field() string
- func (e HystrixSinkValidationError) Key() bool
- func (e HystrixSinkValidationError) Reason() string
- type MetricsServiceConfig
- func (*MetricsServiceConfig) Descriptor() ([]byte, []int)
- func (m *MetricsServiceConfig) GetGrpcService() *v3.GrpcService
- func (m *MetricsServiceConfig) Marshal() (dAtA []byte, err error)
- func (m *MetricsServiceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *MetricsServiceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetricsServiceConfig) ProtoMessage()
- func (m *MetricsServiceConfig) Reset()
- func (m *MetricsServiceConfig) Size() (n int)
- func (m *MetricsServiceConfig) String() string
- func (m *MetricsServiceConfig) Unmarshal(dAtA []byte) error
- func (m *MetricsServiceConfig) Validate() error
- func (m *MetricsServiceConfig) XXX_DiscardUnknown()
- func (m *MetricsServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsServiceConfig) XXX_Merge(src proto.Message)
- func (m *MetricsServiceConfig) XXX_Size() int
- func (m *MetricsServiceConfig) XXX_Unmarshal(b []byte) error
- type MetricsServiceConfigValidationError
- func (e MetricsServiceConfigValidationError) Cause() error
- func (e MetricsServiceConfigValidationError) Error() string
- func (e MetricsServiceConfigValidationError) ErrorName() string
- func (e MetricsServiceConfigValidationError) Field() string
- func (e MetricsServiceConfigValidationError) Key() bool
- func (e MetricsServiceConfigValidationError) Reason() string
- type StatsConfig
- func (*StatsConfig) Descriptor() ([]byte, []int)
- func (m *StatsConfig) GetStatsMatcher() *StatsMatcher
- func (m *StatsConfig) GetStatsTags() []*TagSpecifier
- func (m *StatsConfig) GetUseAllDefaultTags() *types.BoolValue
- func (m *StatsConfig) Marshal() (dAtA []byte, err error)
- func (m *StatsConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *StatsConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatsConfig) ProtoMessage()
- func (m *StatsConfig) Reset()
- func (m *StatsConfig) Size() (n int)
- func (m *StatsConfig) String() string
- func (m *StatsConfig) Unmarshal(dAtA []byte) error
- func (m *StatsConfig) Validate() error
- func (m *StatsConfig) XXX_DiscardUnknown()
- func (m *StatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsConfig) XXX_Merge(src proto.Message)
- func (m *StatsConfig) XXX_Size() int
- func (m *StatsConfig) XXX_Unmarshal(b []byte) error
- type StatsConfigValidationError
- func (e StatsConfigValidationError) Cause() error
- func (e StatsConfigValidationError) Error() string
- func (e StatsConfigValidationError) ErrorName() string
- func (e StatsConfigValidationError) Field() string
- func (e StatsConfigValidationError) Key() bool
- func (e StatsConfigValidationError) Reason() string
- type StatsMatcher
- func (*StatsMatcher) Descriptor() ([]byte, []int)
- func (m *StatsMatcher) GetExclusionList() *v3.ListStringMatcher
- func (m *StatsMatcher) GetInclusionList() *v3.ListStringMatcher
- func (m *StatsMatcher) GetRejectAll() bool
- func (m *StatsMatcher) GetStatsMatcher() isStatsMatcher_StatsMatcher
- func (m *StatsMatcher) Marshal() (dAtA []byte, err error)
- func (m *StatsMatcher) MarshalTo(dAtA []byte) (int, error)
- func (m *StatsMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatsMatcher) ProtoMessage()
- func (m *StatsMatcher) Reset()
- func (m *StatsMatcher) Size() (n int)
- func (m *StatsMatcher) String() string
- func (m *StatsMatcher) Unmarshal(dAtA []byte) error
- func (m *StatsMatcher) Validate() error
- func (m *StatsMatcher) XXX_DiscardUnknown()
- func (m *StatsMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsMatcher) XXX_Merge(src proto.Message)
- func (*StatsMatcher) XXX_OneofWrappers() []interface{}
- func (m *StatsMatcher) XXX_Size() int
- func (m *StatsMatcher) XXX_Unmarshal(b []byte) error
- type StatsMatcherValidationError
- func (e StatsMatcherValidationError) Cause() error
- func (e StatsMatcherValidationError) Error() string
- func (e StatsMatcherValidationError) ErrorName() string
- func (e StatsMatcherValidationError) Field() string
- func (e StatsMatcherValidationError) Key() bool
- func (e StatsMatcherValidationError) Reason() string
- type StatsMatcher_ExclusionList
- type StatsMatcher_InclusionList
- type StatsMatcher_RejectAll
- type StatsSink
- func (*StatsSink) Descriptor() ([]byte, []int)
- func (m *StatsSink) GetConfigType() isStatsSink_ConfigType
- func (m *StatsSink) GetName() string
- func (m *StatsSink) GetTypedConfig() *types.Any
- func (m *StatsSink) Marshal() (dAtA []byte, err error)
- func (m *StatsSink) MarshalTo(dAtA []byte) (int, error)
- func (m *StatsSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatsSink) ProtoMessage()
- func (m *StatsSink) Reset()
- func (m *StatsSink) Size() (n int)
- func (m *StatsSink) String() string
- func (m *StatsSink) Unmarshal(dAtA []byte) error
- func (m *StatsSink) Validate() error
- func (m *StatsSink) XXX_DiscardUnknown()
- func (m *StatsSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsSink) XXX_Merge(src proto.Message)
- func (*StatsSink) XXX_OneofWrappers() []interface{}
- func (m *StatsSink) XXX_Size() int
- func (m *StatsSink) XXX_Unmarshal(b []byte) error
- type StatsSinkValidationError
- type StatsSink_TypedConfig
- type StatsdSink
- func (*StatsdSink) Descriptor() ([]byte, []int)
- func (m *StatsdSink) GetAddress() *v31.Address
- func (m *StatsdSink) GetPrefix() string
- func (m *StatsdSink) GetStatsdSpecifier() isStatsdSink_StatsdSpecifier
- func (m *StatsdSink) GetTcpClusterName() string
- func (m *StatsdSink) Marshal() (dAtA []byte, err error)
- func (m *StatsdSink) MarshalTo(dAtA []byte) (int, error)
- func (m *StatsdSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatsdSink) ProtoMessage()
- func (m *StatsdSink) Reset()
- func (m *StatsdSink) Size() (n int)
- func (m *StatsdSink) String() string
- func (m *StatsdSink) Unmarshal(dAtA []byte) error
- func (m *StatsdSink) Validate() error
- func (m *StatsdSink) XXX_DiscardUnknown()
- func (m *StatsdSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatsdSink) XXX_Merge(src proto.Message)
- func (*StatsdSink) XXX_OneofWrappers() []interface{}
- func (m *StatsdSink) XXX_Size() int
- func (m *StatsdSink) XXX_Unmarshal(b []byte) error
- type StatsdSinkValidationError
- type StatsdSink_Address
- type StatsdSink_TcpClusterName
- type TagSpecifier
- func (*TagSpecifier) Descriptor() ([]byte, []int)
- func (m *TagSpecifier) GetFixedValue() string
- func (m *TagSpecifier) GetRegex() string
- func (m *TagSpecifier) GetTagName() string
- func (m *TagSpecifier) GetTagValue() isTagSpecifier_TagValue
- func (m *TagSpecifier) Marshal() (dAtA []byte, err error)
- func (m *TagSpecifier) MarshalTo(dAtA []byte) (int, error)
- func (m *TagSpecifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TagSpecifier) ProtoMessage()
- func (m *TagSpecifier) Reset()
- func (m *TagSpecifier) Size() (n int)
- func (m *TagSpecifier) String() string
- func (m *TagSpecifier) Unmarshal(dAtA []byte) error
- func (m *TagSpecifier) Validate() error
- func (m *TagSpecifier) XXX_DiscardUnknown()
- func (m *TagSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagSpecifier) XXX_Merge(src proto.Message)
- func (*TagSpecifier) XXX_OneofWrappers() []interface{}
- func (m *TagSpecifier) XXX_Size() int
- func (m *TagSpecifier) XXX_Unmarshal(b []byte) error
- type TagSpecifierValidationError
- func (e TagSpecifierValidationError) Cause() error
- func (e TagSpecifierValidationError) Error() string
- func (e TagSpecifierValidationError) ErrorName() string
- func (e TagSpecifierValidationError) Field() string
- func (e TagSpecifierValidationError) Key() bool
- func (e TagSpecifierValidationError) Reason() string
- type TagSpecifier_FixedValue
- type TagSpecifier_Regex
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DogStatsdSink ¶
type DogStatsdSink struct { // Types that are valid to be assigned to DogStatsdSpecifier: // *DogStatsdSink_Address DogStatsdSpecifier isDogStatsdSink_DogStatsdSpecifier `protobuf_oneof:"dog_statsd_specifier"` // Optional custom metric name prefix. See :ref:`StatsdSink's prefix field // <envoy_api_field_config.metrics.v3.StatsdSink.prefix>` for more details. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stats configuration proto schema for built-in *envoy.stat_sinks.dog_statsd* sink. The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_ compatible tags. Tags are configurable via :ref:`StatsConfig <envoy_api_msg_config.metrics.v3.StatsConfig>`. [#extension: envoy.stat_sinks.dog_statsd]
func (*DogStatsdSink) Descriptor ¶
func (*DogStatsdSink) Descriptor() ([]byte, []int)
func (*DogStatsdSink) GetAddress ¶
func (m *DogStatsdSink) GetAddress() *v31.Address
func (*DogStatsdSink) GetDogStatsdSpecifier ¶
func (m *DogStatsdSink) GetDogStatsdSpecifier() isDogStatsdSink_DogStatsdSpecifier
func (*DogStatsdSink) GetPrefix ¶
func (m *DogStatsdSink) GetPrefix() string
func (*DogStatsdSink) Marshal ¶
func (m *DogStatsdSink) Marshal() (dAtA []byte, err error)
func (*DogStatsdSink) MarshalToSizedBuffer ¶
func (m *DogStatsdSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DogStatsdSink) ProtoMessage ¶
func (*DogStatsdSink) ProtoMessage()
func (*DogStatsdSink) Reset ¶
func (m *DogStatsdSink) Reset()
func (*DogStatsdSink) Size ¶
func (m *DogStatsdSink) Size() (n int)
func (*DogStatsdSink) String ¶
func (m *DogStatsdSink) String() string
func (*DogStatsdSink) Unmarshal ¶
func (m *DogStatsdSink) Unmarshal(dAtA []byte) error
func (*DogStatsdSink) Validate ¶
func (m *DogStatsdSink) Validate() error
Validate checks the field values on DogStatsdSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DogStatsdSink) XXX_DiscardUnknown ¶
func (m *DogStatsdSink) XXX_DiscardUnknown()
func (*DogStatsdSink) XXX_Marshal ¶
func (m *DogStatsdSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DogStatsdSink) XXX_Merge ¶
func (m *DogStatsdSink) XXX_Merge(src proto.Message)
func (*DogStatsdSink) XXX_OneofWrappers ¶
func (*DogStatsdSink) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DogStatsdSink) XXX_Size ¶
func (m *DogStatsdSink) XXX_Size() int
func (*DogStatsdSink) XXX_Unmarshal ¶
func (m *DogStatsdSink) XXX_Unmarshal(b []byte) error
type DogStatsdSinkValidationError ¶
type DogStatsdSinkValidationError struct {
// contains filtered or unexported fields
}
DogStatsdSinkValidationError is the validation error returned by DogStatsdSink.Validate if the designated constraints aren't met.
func (DogStatsdSinkValidationError) Cause ¶
func (e DogStatsdSinkValidationError) Cause() error
Cause function returns cause value.
func (DogStatsdSinkValidationError) Error ¶
func (e DogStatsdSinkValidationError) Error() string
Error satisfies the builtin error interface
func (DogStatsdSinkValidationError) ErrorName ¶
func (e DogStatsdSinkValidationError) ErrorName() string
ErrorName returns error name.
func (DogStatsdSinkValidationError) Field ¶
func (e DogStatsdSinkValidationError) Field() string
Field function returns field value.
func (DogStatsdSinkValidationError) Key ¶
func (e DogStatsdSinkValidationError) Key() bool
Key function returns key value.
func (DogStatsdSinkValidationError) Reason ¶
func (e DogStatsdSinkValidationError) Reason() string
Reason function returns reason value.
type DogStatsdSink_Address ¶
type DogStatsdSink_Address struct {
Address *v31.Address `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
}
func (*DogStatsdSink_Address) MarshalTo ¶
func (m *DogStatsdSink_Address) MarshalTo(dAtA []byte) (int, error)
func (*DogStatsdSink_Address) MarshalToSizedBuffer ¶
func (m *DogStatsdSink_Address) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DogStatsdSink_Address) Size ¶
func (m *DogStatsdSink_Address) Size() (n int)
type HystrixSink ¶
type HystrixSink struct { // The number of buckets the rolling statistical window is divided into. // // Each time the sink is flushed, all relevant Envoy statistics are sampled and // added to the rolling window (removing the oldest samples in the window // in the process). The sink then outputs the aggregate statistics across the // current rolling window to the event stream(s). // // rolling_window(ms) = stats_flush_interval(ms) * num_of_buckets // // More detailed explanation can be found in `Hystrix wiki // <https://github.com/Netflix/Hystrix/wiki/Metrics-and-Monitoring#hystrixrollingnumber>`_. NumBuckets int64 `protobuf:"varint,1,opt,name=num_buckets,json=numBuckets,proto3" json:"num_buckets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stats configuration proto schema for built-in *envoy.stat_sinks.hystrix* sink. The sink emits stats in `text/event-stream <https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events>`_ formatted stream for use by `Hystrix dashboard <https://github.com/Netflix-Skunkworks/hystrix-dashboard/wiki>`_.
Note that only a single HystrixSink should be configured.
Streaming is started through an admin endpoint :http:get:`/hystrix_event_stream`. [#extension: envoy.stat_sinks.hystrix]
func (*HystrixSink) Descriptor ¶
func (*HystrixSink) Descriptor() ([]byte, []int)
func (*HystrixSink) GetNumBuckets ¶
func (m *HystrixSink) GetNumBuckets() int64
func (*HystrixSink) Marshal ¶
func (m *HystrixSink) Marshal() (dAtA []byte, err error)
func (*HystrixSink) MarshalToSizedBuffer ¶
func (m *HystrixSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HystrixSink) ProtoMessage ¶
func (*HystrixSink) ProtoMessage()
func (*HystrixSink) Reset ¶
func (m *HystrixSink) Reset()
func (*HystrixSink) Size ¶
func (m *HystrixSink) Size() (n int)
func (*HystrixSink) String ¶
func (m *HystrixSink) String() string
func (*HystrixSink) Unmarshal ¶
func (m *HystrixSink) Unmarshal(dAtA []byte) error
func (*HystrixSink) Validate ¶
func (m *HystrixSink) Validate() error
Validate checks the field values on HystrixSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HystrixSink) XXX_DiscardUnknown ¶
func (m *HystrixSink) XXX_DiscardUnknown()
func (*HystrixSink) XXX_Marshal ¶
func (m *HystrixSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HystrixSink) XXX_Merge ¶
func (m *HystrixSink) XXX_Merge(src proto.Message)
func (*HystrixSink) XXX_Size ¶
func (m *HystrixSink) XXX_Size() int
func (*HystrixSink) XXX_Unmarshal ¶
func (m *HystrixSink) XXX_Unmarshal(b []byte) error
type HystrixSinkValidationError ¶
type HystrixSinkValidationError struct {
// contains filtered or unexported fields
}
HystrixSinkValidationError is the validation error returned by HystrixSink.Validate if the designated constraints aren't met.
func (HystrixSinkValidationError) Cause ¶
func (e HystrixSinkValidationError) Cause() error
Cause function returns cause value.
func (HystrixSinkValidationError) Error ¶
func (e HystrixSinkValidationError) Error() string
Error satisfies the builtin error interface
func (HystrixSinkValidationError) ErrorName ¶
func (e HystrixSinkValidationError) ErrorName() string
ErrorName returns error name.
func (HystrixSinkValidationError) Field ¶
func (e HystrixSinkValidationError) Field() string
Field function returns field value.
func (HystrixSinkValidationError) Key ¶
func (e HystrixSinkValidationError) Key() bool
Key function returns key value.
func (HystrixSinkValidationError) Reason ¶
func (e HystrixSinkValidationError) Reason() string
Reason function returns reason value.
type MetricsServiceConfig ¶
type MetricsServiceConfig struct { // The upstream gRPC cluster that hosts the metrics service. GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink <envoy_api_msg_config.metrics.v3.StatsSink>`. This opaque configuration will be used to create Metrics Service. [#extension: envoy.stat_sinks.metrics_service]
func (*MetricsServiceConfig) Descriptor ¶
func (*MetricsServiceConfig) Descriptor() ([]byte, []int)
func (*MetricsServiceConfig) GetGrpcService ¶
func (m *MetricsServiceConfig) GetGrpcService() *v3.GrpcService
func (*MetricsServiceConfig) Marshal ¶
func (m *MetricsServiceConfig) Marshal() (dAtA []byte, err error)
func (*MetricsServiceConfig) MarshalTo ¶
func (m *MetricsServiceConfig) MarshalTo(dAtA []byte) (int, error)
func (*MetricsServiceConfig) MarshalToSizedBuffer ¶
func (m *MetricsServiceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetricsServiceConfig) ProtoMessage ¶
func (*MetricsServiceConfig) ProtoMessage()
func (*MetricsServiceConfig) Reset ¶
func (m *MetricsServiceConfig) Reset()
func (*MetricsServiceConfig) Size ¶
func (m *MetricsServiceConfig) Size() (n int)
func (*MetricsServiceConfig) String ¶
func (m *MetricsServiceConfig) String() string
func (*MetricsServiceConfig) Unmarshal ¶
func (m *MetricsServiceConfig) Unmarshal(dAtA []byte) error
func (*MetricsServiceConfig) Validate ¶
func (m *MetricsServiceConfig) Validate() error
Validate checks the field values on MetricsServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*MetricsServiceConfig) XXX_DiscardUnknown ¶
func (m *MetricsServiceConfig) XXX_DiscardUnknown()
func (*MetricsServiceConfig) XXX_Marshal ¶
func (m *MetricsServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsServiceConfig) XXX_Merge ¶
func (m *MetricsServiceConfig) XXX_Merge(src proto.Message)
func (*MetricsServiceConfig) XXX_Size ¶
func (m *MetricsServiceConfig) XXX_Size() int
func (*MetricsServiceConfig) XXX_Unmarshal ¶
func (m *MetricsServiceConfig) XXX_Unmarshal(b []byte) error
type MetricsServiceConfigValidationError ¶
type MetricsServiceConfigValidationError struct {
// contains filtered or unexported fields
}
MetricsServiceConfigValidationError is the validation error returned by MetricsServiceConfig.Validate if the designated constraints aren't met.
func (MetricsServiceConfigValidationError) Cause ¶
func (e MetricsServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (MetricsServiceConfigValidationError) Error ¶
func (e MetricsServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MetricsServiceConfigValidationError) ErrorName ¶
func (e MetricsServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MetricsServiceConfigValidationError) Field ¶
func (e MetricsServiceConfigValidationError) Field() string
Field function returns field value.
func (MetricsServiceConfigValidationError) Key ¶
func (e MetricsServiceConfigValidationError) Key() bool
Key function returns key value.
func (MetricsServiceConfigValidationError) Reason ¶
func (e MetricsServiceConfigValidationError) Reason() string
Reason function returns reason value.
type StatsConfig ¶
type StatsConfig struct { // Each stat name is iteratively processed through these tag specifiers. // When a tag is matched, the first capture group is removed from the name so // later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v3.TagSpecifier>` cannot match that // same portion of the match. StatsTags []*TagSpecifier `protobuf:"bytes,1,rep,name=stats_tags,json=statsTags,proto3" json:"stats_tags,omitempty"` // Use all default tag regexes specified in Envoy. These can be combined with // custom tags specified in :ref:`stats_tags // <envoy_api_field_config.metrics.v3.StatsConfig.stats_tags>`. They will be processed before // the custom tags. // // .. note:: // // If any default tags are specified twice, the config will be considered // invalid. // // See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the // default tags in Envoy. // // If not provided, the value is assumed to be true. UseAllDefaultTags *types.BoolValue `protobuf:"bytes,2,opt,name=use_all_default_tags,json=useAllDefaultTags,proto3" json:"use_all_default_tags,omitempty"` // Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated // as normal. Preventing the instantiation of certain families of stats can improve memory // performance for Envoys running especially large configs. // // .. warning:: // Excluding stats may affect Envoy's behavior in undocumented ways. See // `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. // If any unexpected behavior changes are observed, please open a new issue immediately. StatsMatcher *StatsMatcher `protobuf:"bytes,3,opt,name=stats_matcher,json=statsMatcher,proto3" json:"stats_matcher,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Statistics configuration such as tagging.
func (*StatsConfig) Descriptor ¶
func (*StatsConfig) Descriptor() ([]byte, []int)
func (*StatsConfig) GetStatsMatcher ¶
func (m *StatsConfig) GetStatsMatcher() *StatsMatcher
func (*StatsConfig) GetStatsTags ¶
func (m *StatsConfig) GetStatsTags() []*TagSpecifier
func (*StatsConfig) GetUseAllDefaultTags ¶
func (m *StatsConfig) GetUseAllDefaultTags() *types.BoolValue
func (*StatsConfig) Marshal ¶
func (m *StatsConfig) Marshal() (dAtA []byte, err error)
func (*StatsConfig) MarshalToSizedBuffer ¶
func (m *StatsConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsConfig) ProtoMessage ¶
func (*StatsConfig) ProtoMessage()
func (*StatsConfig) Reset ¶
func (m *StatsConfig) Reset()
func (*StatsConfig) Size ¶
func (m *StatsConfig) Size() (n int)
func (*StatsConfig) String ¶
func (m *StatsConfig) String() string
func (*StatsConfig) Unmarshal ¶
func (m *StatsConfig) Unmarshal(dAtA []byte) error
func (*StatsConfig) Validate ¶
func (m *StatsConfig) Validate() error
Validate checks the field values on StatsConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StatsConfig) XXX_DiscardUnknown ¶
func (m *StatsConfig) XXX_DiscardUnknown()
func (*StatsConfig) XXX_Marshal ¶
func (m *StatsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatsConfig) XXX_Merge ¶
func (m *StatsConfig) XXX_Merge(src proto.Message)
func (*StatsConfig) XXX_Size ¶
func (m *StatsConfig) XXX_Size() int
func (*StatsConfig) XXX_Unmarshal ¶
func (m *StatsConfig) XXX_Unmarshal(b []byte) error
type StatsConfigValidationError ¶
type StatsConfigValidationError struct {
// contains filtered or unexported fields
}
StatsConfigValidationError is the validation error returned by StatsConfig.Validate if the designated constraints aren't met.
func (StatsConfigValidationError) Cause ¶
func (e StatsConfigValidationError) Cause() error
Cause function returns cause value.
func (StatsConfigValidationError) Error ¶
func (e StatsConfigValidationError) Error() string
Error satisfies the builtin error interface
func (StatsConfigValidationError) ErrorName ¶
func (e StatsConfigValidationError) ErrorName() string
ErrorName returns error name.
func (StatsConfigValidationError) Field ¶
func (e StatsConfigValidationError) Field() string
Field function returns field value.
func (StatsConfigValidationError) Key ¶
func (e StatsConfigValidationError) Key() bool
Key function returns key value.
func (StatsConfigValidationError) Reason ¶
func (e StatsConfigValidationError) Reason() string
Reason function returns reason value.
type StatsMatcher ¶
type StatsMatcher struct { // Types that are valid to be assigned to StatsMatcher: // *StatsMatcher_RejectAll // *StatsMatcher_ExclusionList // *StatsMatcher_InclusionList StatsMatcher isStatsMatcher_StatsMatcher `protobuf_oneof:"stats_matcher"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for disabling stat instantiation.
func (*StatsMatcher) Descriptor ¶
func (*StatsMatcher) Descriptor() ([]byte, []int)
func (*StatsMatcher) GetExclusionList ¶
func (m *StatsMatcher) GetExclusionList() *v3.ListStringMatcher
func (*StatsMatcher) GetInclusionList ¶
func (m *StatsMatcher) GetInclusionList() *v3.ListStringMatcher
func (*StatsMatcher) GetRejectAll ¶
func (m *StatsMatcher) GetRejectAll() bool
func (*StatsMatcher) GetStatsMatcher ¶
func (m *StatsMatcher) GetStatsMatcher() isStatsMatcher_StatsMatcher
func (*StatsMatcher) Marshal ¶
func (m *StatsMatcher) Marshal() (dAtA []byte, err error)
func (*StatsMatcher) MarshalToSizedBuffer ¶
func (m *StatsMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsMatcher) ProtoMessage ¶
func (*StatsMatcher) ProtoMessage()
func (*StatsMatcher) Reset ¶
func (m *StatsMatcher) Reset()
func (*StatsMatcher) Size ¶
func (m *StatsMatcher) Size() (n int)
func (*StatsMatcher) String ¶
func (m *StatsMatcher) String() string
func (*StatsMatcher) Unmarshal ¶
func (m *StatsMatcher) Unmarshal(dAtA []byte) error
func (*StatsMatcher) Validate ¶
func (m *StatsMatcher) Validate() error
Validate checks the field values on StatsMatcher with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StatsMatcher) XXX_DiscardUnknown ¶
func (m *StatsMatcher) XXX_DiscardUnknown()
func (*StatsMatcher) XXX_Marshal ¶
func (m *StatsMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatsMatcher) XXX_Merge ¶
func (m *StatsMatcher) XXX_Merge(src proto.Message)
func (*StatsMatcher) XXX_OneofWrappers ¶
func (*StatsMatcher) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StatsMatcher) XXX_Size ¶
func (m *StatsMatcher) XXX_Size() int
func (*StatsMatcher) XXX_Unmarshal ¶
func (m *StatsMatcher) XXX_Unmarshal(b []byte) error
type StatsMatcherValidationError ¶
type StatsMatcherValidationError struct {
// contains filtered or unexported fields
}
StatsMatcherValidationError is the validation error returned by StatsMatcher.Validate if the designated constraints aren't met.
func (StatsMatcherValidationError) Cause ¶
func (e StatsMatcherValidationError) Cause() error
Cause function returns cause value.
func (StatsMatcherValidationError) Error ¶
func (e StatsMatcherValidationError) Error() string
Error satisfies the builtin error interface
func (StatsMatcherValidationError) ErrorName ¶
func (e StatsMatcherValidationError) ErrorName() string
ErrorName returns error name.
func (StatsMatcherValidationError) Field ¶
func (e StatsMatcherValidationError) Field() string
Field function returns field value.
func (StatsMatcherValidationError) Key ¶
func (e StatsMatcherValidationError) Key() bool
Key function returns key value.
func (StatsMatcherValidationError) Reason ¶
func (e StatsMatcherValidationError) Reason() string
Reason function returns reason value.
type StatsMatcher_ExclusionList ¶
type StatsMatcher_ExclusionList struct {
ExclusionList *v3.ListStringMatcher `protobuf:"bytes,2,opt,name=exclusion_list,json=exclusionList,proto3,oneof" json:"exclusion_list,omitempty"`
}
func (*StatsMatcher_ExclusionList) MarshalTo ¶
func (m *StatsMatcher_ExclusionList) MarshalTo(dAtA []byte) (int, error)
func (*StatsMatcher_ExclusionList) MarshalToSizedBuffer ¶
func (m *StatsMatcher_ExclusionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsMatcher_ExclusionList) Size ¶
func (m *StatsMatcher_ExclusionList) Size() (n int)
type StatsMatcher_InclusionList ¶
type StatsMatcher_InclusionList struct {
InclusionList *v3.ListStringMatcher `protobuf:"bytes,3,opt,name=inclusion_list,json=inclusionList,proto3,oneof" json:"inclusion_list,omitempty"`
}
func (*StatsMatcher_InclusionList) MarshalTo ¶
func (m *StatsMatcher_InclusionList) MarshalTo(dAtA []byte) (int, error)
func (*StatsMatcher_InclusionList) MarshalToSizedBuffer ¶
func (m *StatsMatcher_InclusionList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsMatcher_InclusionList) Size ¶
func (m *StatsMatcher_InclusionList) Size() (n int)
type StatsMatcher_RejectAll ¶
type StatsMatcher_RejectAll struct {
RejectAll bool `protobuf:"varint,1,opt,name=reject_all,json=rejectAll,proto3,oneof" json:"reject_all,omitempty"`
}
func (*StatsMatcher_RejectAll) MarshalTo ¶
func (m *StatsMatcher_RejectAll) MarshalTo(dAtA []byte) (int, error)
func (*StatsMatcher_RejectAll) MarshalToSizedBuffer ¶
func (m *StatsMatcher_RejectAll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsMatcher_RejectAll) Size ¶
func (m *StatsMatcher_RejectAll) Size() (n int)
type StatsSink ¶
type StatsSink struct { // The name of the stats sink to instantiate. The name must match a supported // stats sink. The built-in stats sinks are: // // * :ref:`envoy.stat_sinks.statsd <envoy_api_msg_config.metrics.v3.StatsdSink>` // * :ref:`envoy.stat_sinks.dog_statsd <envoy_api_msg_config.metrics.v3.DogStatsdSink>` // * :ref:`envoy.stat_sinks.metrics_service <envoy_api_msg_config.metrics.v3.MetricsServiceConfig>` // * :ref:`envoy.stat_sinks.hystrix <envoy_api_msg_config.metrics.v3.HystrixSink>` // // Sinks optionally support tagged/multiple dimensional metrics. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Stats sink specific configuration which depends on the sink being instantiated. See // :ref:`StatsdSink <envoy_api_msg_config.metrics.v3.StatsdSink>` for an example. // // Types that are valid to be assigned to ConfigType: // *StatsSink_TypedConfig ConfigType isStatsSink_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for pluggable stats sinks.
func (*StatsSink) Descriptor ¶
func (*StatsSink) GetConfigType ¶
func (m *StatsSink) GetConfigType() isStatsSink_ConfigType
func (*StatsSink) GetTypedConfig ¶
func (*StatsSink) MarshalToSizedBuffer ¶
func (*StatsSink) ProtoMessage ¶
func (*StatsSink) ProtoMessage()
func (*StatsSink) Validate ¶
Validate checks the field values on StatsSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StatsSink) XXX_DiscardUnknown ¶
func (m *StatsSink) XXX_DiscardUnknown()
func (*StatsSink) XXX_Marshal ¶
func (*StatsSink) XXX_OneofWrappers ¶
func (*StatsSink) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StatsSink) XXX_Unmarshal ¶
type StatsSinkValidationError ¶
type StatsSinkValidationError struct {
// contains filtered or unexported fields
}
StatsSinkValidationError is the validation error returned by StatsSink.Validate if the designated constraints aren't met.
func (StatsSinkValidationError) Cause ¶
func (e StatsSinkValidationError) Cause() error
Cause function returns cause value.
func (StatsSinkValidationError) Error ¶
func (e StatsSinkValidationError) Error() string
Error satisfies the builtin error interface
func (StatsSinkValidationError) ErrorName ¶
func (e StatsSinkValidationError) ErrorName() string
ErrorName returns error name.
func (StatsSinkValidationError) Field ¶
func (e StatsSinkValidationError) Field() string
Field function returns field value.
func (StatsSinkValidationError) Key ¶
func (e StatsSinkValidationError) Key() bool
Key function returns key value.
func (StatsSinkValidationError) Reason ¶
func (e StatsSinkValidationError) Reason() string
Reason function returns reason value.
type StatsSink_TypedConfig ¶
type StatsSink_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}
func (*StatsSink_TypedConfig) MarshalTo ¶
func (m *StatsSink_TypedConfig) MarshalTo(dAtA []byte) (int, error)
func (*StatsSink_TypedConfig) MarshalToSizedBuffer ¶
func (m *StatsSink_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsSink_TypedConfig) Size ¶
func (m *StatsSink_TypedConfig) Size() (n int)
type StatsdSink ¶
type StatsdSink struct { // Types that are valid to be assigned to StatsdSpecifier: // *StatsdSink_Address // *StatsdSink_TcpClusterName StatsdSpecifier isStatsdSink_StatsdSpecifier `protobuf_oneof:"statsd_specifier"` // Optional custom prefix for StatsdSink. If // specified, this will override the default prefix. // For example: // // .. code-block:: json // // { // "prefix" : "envoy-prod" // } // // will change emitted stats to // // .. code-block:: cpp // // envoy-prod.test_counter:1|c // envoy-prod.test_timer:5|ms // // Note that the default prefix, "envoy", will be used if a prefix is not // specified. // // Stats with default prefix: // // .. code-block:: cpp // // envoy.test_counter:1|c // envoy.test_timer:5|ms Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stats configuration proto schema for built-in *envoy.stat_sinks.statsd* sink. This sink does not support tagged metrics. [#extension: envoy.stat_sinks.statsd]
func (*StatsdSink) Descriptor ¶
func (*StatsdSink) Descriptor() ([]byte, []int)
func (*StatsdSink) GetAddress ¶
func (m *StatsdSink) GetAddress() *v31.Address
func (*StatsdSink) GetPrefix ¶
func (m *StatsdSink) GetPrefix() string
func (*StatsdSink) GetStatsdSpecifier ¶
func (m *StatsdSink) GetStatsdSpecifier() isStatsdSink_StatsdSpecifier
func (*StatsdSink) GetTcpClusterName ¶
func (m *StatsdSink) GetTcpClusterName() string
func (*StatsdSink) Marshal ¶
func (m *StatsdSink) Marshal() (dAtA []byte, err error)
func (*StatsdSink) MarshalToSizedBuffer ¶
func (m *StatsdSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsdSink) ProtoMessage ¶
func (*StatsdSink) ProtoMessage()
func (*StatsdSink) Reset ¶
func (m *StatsdSink) Reset()
func (*StatsdSink) Size ¶
func (m *StatsdSink) Size() (n int)
func (*StatsdSink) String ¶
func (m *StatsdSink) String() string
func (*StatsdSink) Unmarshal ¶
func (m *StatsdSink) Unmarshal(dAtA []byte) error
func (*StatsdSink) Validate ¶
func (m *StatsdSink) Validate() error
Validate checks the field values on StatsdSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StatsdSink) XXX_DiscardUnknown ¶
func (m *StatsdSink) XXX_DiscardUnknown()
func (*StatsdSink) XXX_Marshal ¶
func (m *StatsdSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatsdSink) XXX_Merge ¶
func (m *StatsdSink) XXX_Merge(src proto.Message)
func (*StatsdSink) XXX_OneofWrappers ¶
func (*StatsdSink) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*StatsdSink) XXX_Size ¶
func (m *StatsdSink) XXX_Size() int
func (*StatsdSink) XXX_Unmarshal ¶
func (m *StatsdSink) XXX_Unmarshal(b []byte) error
type StatsdSinkValidationError ¶
type StatsdSinkValidationError struct {
// contains filtered or unexported fields
}
StatsdSinkValidationError is the validation error returned by StatsdSink.Validate if the designated constraints aren't met.
func (StatsdSinkValidationError) Cause ¶
func (e StatsdSinkValidationError) Cause() error
Cause function returns cause value.
func (StatsdSinkValidationError) Error ¶
func (e StatsdSinkValidationError) Error() string
Error satisfies the builtin error interface
func (StatsdSinkValidationError) ErrorName ¶
func (e StatsdSinkValidationError) ErrorName() string
ErrorName returns error name.
func (StatsdSinkValidationError) Field ¶
func (e StatsdSinkValidationError) Field() string
Field function returns field value.
func (StatsdSinkValidationError) Key ¶
func (e StatsdSinkValidationError) Key() bool
Key function returns key value.
func (StatsdSinkValidationError) Reason ¶
func (e StatsdSinkValidationError) Reason() string
Reason function returns reason value.
type StatsdSink_Address ¶
type StatsdSink_Address struct {
Address *v31.Address `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
}
func (*StatsdSink_Address) MarshalTo ¶
func (m *StatsdSink_Address) MarshalTo(dAtA []byte) (int, error)
func (*StatsdSink_Address) MarshalToSizedBuffer ¶
func (m *StatsdSink_Address) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsdSink_Address) Size ¶
func (m *StatsdSink_Address) Size() (n int)
type StatsdSink_TcpClusterName ¶
type StatsdSink_TcpClusterName struct {
TcpClusterName string `protobuf:"bytes,2,opt,name=tcp_cluster_name,json=tcpClusterName,proto3,oneof" json:"tcp_cluster_name,omitempty"`
}
func (*StatsdSink_TcpClusterName) MarshalTo ¶
func (m *StatsdSink_TcpClusterName) MarshalTo(dAtA []byte) (int, error)
func (*StatsdSink_TcpClusterName) MarshalToSizedBuffer ¶
func (m *StatsdSink_TcpClusterName) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatsdSink_TcpClusterName) Size ¶
func (m *StatsdSink_TcpClusterName) Size() (n int)
type TagSpecifier ¶
type TagSpecifier struct { // Attaches an identifier to the tag values to identify the tag being in the // sink. Envoy has a set of default names and regexes to extract dynamic // portions of existing stats, which can be found in :repo:`well_known_names.h // <source/common/config/well_known_names.h>` in the Envoy repository. If a :ref:`tag_name // <envoy_api_field_config.metrics.v3.TagSpecifier.tag_name>` is provided in the config and // neither :ref:`regex <envoy_api_field_config.metrics.v3.TagSpecifier.regex>` or // :ref:`fixed_value <envoy_api_field_config.metrics.v3.TagSpecifier.fixed_value>` were specified, // Envoy will attempt to find that name in its set of defaults and use the accompanying regex. // // .. note:: // // It is invalid to specify the same tag name twice in a config. TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` // Types that are valid to be assigned to TagValue: // *TagSpecifier_Regex // *TagSpecifier_FixedValue TagValue isTagSpecifier_TagValue `protobuf_oneof:"tag_value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Designates a tag name and value pair. The value may be either a fixed value or a regex providing the value via capture groups. The specified tag will be unconditionally set if a fixed value, otherwise it will only be set if one or more capture groups in the regex match.
func (*TagSpecifier) Descriptor ¶
func (*TagSpecifier) Descriptor() ([]byte, []int)
func (*TagSpecifier) GetFixedValue ¶
func (m *TagSpecifier) GetFixedValue() string
func (*TagSpecifier) GetRegex ¶
func (m *TagSpecifier) GetRegex() string
func (*TagSpecifier) GetTagName ¶
func (m *TagSpecifier) GetTagName() string
func (*TagSpecifier) GetTagValue ¶
func (m *TagSpecifier) GetTagValue() isTagSpecifier_TagValue
func (*TagSpecifier) Marshal ¶
func (m *TagSpecifier) Marshal() (dAtA []byte, err error)
func (*TagSpecifier) MarshalToSizedBuffer ¶
func (m *TagSpecifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TagSpecifier) ProtoMessage ¶
func (*TagSpecifier) ProtoMessage()
func (*TagSpecifier) Reset ¶
func (m *TagSpecifier) Reset()
func (*TagSpecifier) Size ¶
func (m *TagSpecifier) Size() (n int)
func (*TagSpecifier) String ¶
func (m *TagSpecifier) String() string
func (*TagSpecifier) Unmarshal ¶
func (m *TagSpecifier) Unmarshal(dAtA []byte) error
func (*TagSpecifier) Validate ¶
func (m *TagSpecifier) Validate() error
Validate checks the field values on TagSpecifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TagSpecifier) XXX_DiscardUnknown ¶
func (m *TagSpecifier) XXX_DiscardUnknown()
func (*TagSpecifier) XXX_Marshal ¶
func (m *TagSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagSpecifier) XXX_Merge ¶
func (m *TagSpecifier) XXX_Merge(src proto.Message)
func (*TagSpecifier) XXX_OneofWrappers ¶
func (*TagSpecifier) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TagSpecifier) XXX_Size ¶
func (m *TagSpecifier) XXX_Size() int
func (*TagSpecifier) XXX_Unmarshal ¶
func (m *TagSpecifier) XXX_Unmarshal(b []byte) error
type TagSpecifierValidationError ¶
type TagSpecifierValidationError struct {
// contains filtered or unexported fields
}
TagSpecifierValidationError is the validation error returned by TagSpecifier.Validate if the designated constraints aren't met.
func (TagSpecifierValidationError) Cause ¶
func (e TagSpecifierValidationError) Cause() error
Cause function returns cause value.
func (TagSpecifierValidationError) Error ¶
func (e TagSpecifierValidationError) Error() string
Error satisfies the builtin error interface
func (TagSpecifierValidationError) ErrorName ¶
func (e TagSpecifierValidationError) ErrorName() string
ErrorName returns error name.
func (TagSpecifierValidationError) Field ¶
func (e TagSpecifierValidationError) Field() string
Field function returns field value.
func (TagSpecifierValidationError) Key ¶
func (e TagSpecifierValidationError) Key() bool
Key function returns key value.
func (TagSpecifierValidationError) Reason ¶
func (e TagSpecifierValidationError) Reason() string
Reason function returns reason value.
type TagSpecifier_FixedValue ¶
type TagSpecifier_FixedValue struct {
FixedValue string `protobuf:"bytes,3,opt,name=fixed_value,json=fixedValue,proto3,oneof" json:"fixed_value,omitempty"`
}
func (*TagSpecifier_FixedValue) MarshalTo ¶
func (m *TagSpecifier_FixedValue) MarshalTo(dAtA []byte) (int, error)
func (*TagSpecifier_FixedValue) MarshalToSizedBuffer ¶
func (m *TagSpecifier_FixedValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TagSpecifier_FixedValue) Size ¶
func (m *TagSpecifier_FixedValue) Size() (n int)
type TagSpecifier_Regex ¶
type TagSpecifier_Regex struct {
Regex string `protobuf:"bytes,2,opt,name=regex,proto3,oneof" json:"regex,omitempty"`
}
func (*TagSpecifier_Regex) MarshalTo ¶
func (m *TagSpecifier_Regex) MarshalTo(dAtA []byte) (int, error)
func (*TagSpecifier_Regex) MarshalToSizedBuffer ¶
func (m *TagSpecifier_Regex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TagSpecifier_Regex) Size ¶
func (m *TagSpecifier_Regex) Size() (n int)