Documentation ¶
Index ¶
- Variables
- type GraphiteStatsdSink
- func (*GraphiteStatsdSink) Descriptor() ([]byte, []int)deprecated
- func (x *GraphiteStatsdSink) GetAddress() *v3.Address
- func (x *GraphiteStatsdSink) GetMaxBytesPerDatagram() *wrappers.UInt64Value
- func (x *GraphiteStatsdSink) GetPrefix() string
- func (m *GraphiteStatsdSink) GetStatsdSpecifier() isGraphiteStatsdSink_StatsdSpecifier
- func (*GraphiteStatsdSink) ProtoMessage()
- func (x *GraphiteStatsdSink) ProtoReflect() protoreflect.Message
- func (x *GraphiteStatsdSink) Reset()
- func (x *GraphiteStatsdSink) String() string
- func (m *GraphiteStatsdSink) Validate() error
- func (m *GraphiteStatsdSink) ValidateAll() error
- type GraphiteStatsdSinkMultiError
- type GraphiteStatsdSinkValidationError
- func (e GraphiteStatsdSinkValidationError) Cause() error
- func (e GraphiteStatsdSinkValidationError) Error() string
- func (e GraphiteStatsdSinkValidationError) ErrorName() string
- func (e GraphiteStatsdSinkValidationError) Field() string
- func (e GraphiteStatsdSinkValidationError) Key() bool
- func (e GraphiteStatsdSinkValidationError) Reason() string
- type GraphiteStatsdSink_Address
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_stat_sinks_graphite_statsd_v3_graphite_statsd_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GraphiteStatsdSink ¶
type GraphiteStatsdSink struct { // Types that are assignable to StatsdSpecifier: // // *GraphiteStatsdSink_Address StatsdSpecifier isGraphiteStatsdSink_StatsdSpecifier `protobuf_oneof:"statsd_specifier"` // Optional custom metric name prefix. See :ref:`StatsdSink's prefix field // <envoy_v3_api_field_config.metrics.v3.StatsdSink.prefix>` for more details. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // Optional max datagram size to use when sending UDP messages. By default Envoy // will emit one metric per datagram. By specifying a max-size larger than a single // metric, Envoy will emit multiple, new-line separated metrics. The max datagram // size should not exceed your network's MTU. // // Note that this value may not be respected if smaller than a single metric. MaxBytesPerDatagram *wrappers.UInt64Value `protobuf:"bytes,4,opt,name=max_bytes_per_datagram,json=maxBytesPerDatagram,proto3" json:"max_bytes_per_datagram,omitempty"` // contains filtered or unexported fields }
func (*GraphiteStatsdSink) Descriptor
deprecated
func (*GraphiteStatsdSink) Descriptor() ([]byte, []int)
Deprecated: Use GraphiteStatsdSink.ProtoReflect.Descriptor instead.
func (*GraphiteStatsdSink) GetAddress ¶
func (x *GraphiteStatsdSink) GetAddress() *v3.Address
func (*GraphiteStatsdSink) GetMaxBytesPerDatagram ¶
func (x *GraphiteStatsdSink) GetMaxBytesPerDatagram() *wrappers.UInt64Value
func (*GraphiteStatsdSink) GetPrefix ¶
func (x *GraphiteStatsdSink) GetPrefix() string
func (*GraphiteStatsdSink) GetStatsdSpecifier ¶
func (m *GraphiteStatsdSink) GetStatsdSpecifier() isGraphiteStatsdSink_StatsdSpecifier
func (*GraphiteStatsdSink) ProtoMessage ¶
func (*GraphiteStatsdSink) ProtoMessage()
func (*GraphiteStatsdSink) ProtoReflect ¶
func (x *GraphiteStatsdSink) ProtoReflect() protoreflect.Message
func (*GraphiteStatsdSink) Reset ¶
func (x *GraphiteStatsdSink) Reset()
func (*GraphiteStatsdSink) String ¶
func (x *GraphiteStatsdSink) String() string
func (*GraphiteStatsdSink) Validate ¶
func (m *GraphiteStatsdSink) Validate() error
Validate checks the field values on GraphiteStatsdSink with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GraphiteStatsdSink) ValidateAll ¶
func (m *GraphiteStatsdSink) ValidateAll() error
ValidateAll checks the field values on GraphiteStatsdSink with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GraphiteStatsdSinkMultiError, or nil if none found.
type GraphiteStatsdSinkMultiError ¶
type GraphiteStatsdSinkMultiError []error
GraphiteStatsdSinkMultiError is an error wrapping multiple validation errors returned by GraphiteStatsdSink.ValidateAll() if the designated constraints aren't met.
func (GraphiteStatsdSinkMultiError) AllErrors ¶
func (m GraphiteStatsdSinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GraphiteStatsdSinkMultiError) Error ¶
func (m GraphiteStatsdSinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GraphiteStatsdSinkValidationError ¶
type GraphiteStatsdSinkValidationError struct {
// contains filtered or unexported fields
}
GraphiteStatsdSinkValidationError is the validation error returned by GraphiteStatsdSink.Validate if the designated constraints aren't met.
func (GraphiteStatsdSinkValidationError) Cause ¶
func (e GraphiteStatsdSinkValidationError) Cause() error
Cause function returns cause value.
func (GraphiteStatsdSinkValidationError) Error ¶
func (e GraphiteStatsdSinkValidationError) Error() string
Error satisfies the builtin error interface
func (GraphiteStatsdSinkValidationError) ErrorName ¶
func (e GraphiteStatsdSinkValidationError) ErrorName() string
ErrorName returns error name.
func (GraphiteStatsdSinkValidationError) Field ¶
func (e GraphiteStatsdSinkValidationError) Field() string
Field function returns field value.
func (GraphiteStatsdSinkValidationError) Key ¶
func (e GraphiteStatsdSinkValidationError) Key() bool
Key function returns key value.
func (GraphiteStatsdSinkValidationError) Reason ¶
func (e GraphiteStatsdSinkValidationError) Reason() string
Reason function returns reason value.