Documentation ¶
Index ¶
- Variables
- type FixedHeapConfig
- func (*FixedHeapConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FixedHeapConfig) GetMaxHeapSizeBytes() uint64
- func (*FixedHeapConfig) ProtoMessage()
- func (x *FixedHeapConfig) ProtoReflect() protoreflect.Message
- func (x *FixedHeapConfig) Reset()
- func (x *FixedHeapConfig) String() string
- func (m *FixedHeapConfig) Validate() error
- func (m *FixedHeapConfig) ValidateAll() error
- type FixedHeapConfigMultiError
- type FixedHeapConfigValidationError
- func (e FixedHeapConfigValidationError) Cause() error
- func (e FixedHeapConfigValidationError) Error() string
- func (e FixedHeapConfigValidationError) ErrorName() string
- func (e FixedHeapConfigValidationError) Field() string
- func (e FixedHeapConfigValidationError) Key() bool
- func (e FixedHeapConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_resource_monitors_fixed_heap_v3_fixed_heap_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FixedHeapConfig ¶
type FixedHeapConfig struct { MaxHeapSizeBytes uint64 `protobuf:"varint,1,opt,name=max_heap_size_bytes,json=maxHeapSizeBytes,proto3" json:"max_heap_size_bytes,omitempty"` // contains filtered or unexported fields }
The fixed heap resource monitor reports the Envoy process memory pressure, computed as a fraction of currently reserved heap memory divided by a statically configured maximum specified in the FixedHeapConfig.
func (*FixedHeapConfig) Descriptor
deprecated
func (*FixedHeapConfig) Descriptor() ([]byte, []int)
Deprecated: Use FixedHeapConfig.ProtoReflect.Descriptor instead.
func (*FixedHeapConfig) GetMaxHeapSizeBytes ¶
func (x *FixedHeapConfig) GetMaxHeapSizeBytes() uint64
func (*FixedHeapConfig) ProtoMessage ¶
func (*FixedHeapConfig) ProtoMessage()
func (*FixedHeapConfig) ProtoReflect ¶
func (x *FixedHeapConfig) ProtoReflect() protoreflect.Message
func (*FixedHeapConfig) Reset ¶
func (x *FixedHeapConfig) Reset()
func (*FixedHeapConfig) String ¶
func (x *FixedHeapConfig) String() string
func (*FixedHeapConfig) Validate ¶
func (m *FixedHeapConfig) Validate() error
Validate checks the field values on FixedHeapConfig 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 (*FixedHeapConfig) ValidateAll ¶
func (m *FixedHeapConfig) ValidateAll() error
ValidateAll checks the field values on FixedHeapConfig 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 FixedHeapConfigMultiError, or nil if none found.
type FixedHeapConfigMultiError ¶
type FixedHeapConfigMultiError []error
FixedHeapConfigMultiError is an error wrapping multiple validation errors returned by FixedHeapConfig.ValidateAll() if the designated constraints aren't met.
func (FixedHeapConfigMultiError) AllErrors ¶
func (m FixedHeapConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FixedHeapConfigMultiError) Error ¶
func (m FixedHeapConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FixedHeapConfigValidationError ¶
type FixedHeapConfigValidationError struct {
// contains filtered or unexported fields
}
FixedHeapConfigValidationError is the validation error returned by FixedHeapConfig.Validate if the designated constraints aren't met.
func (FixedHeapConfigValidationError) Cause ¶
func (e FixedHeapConfigValidationError) Cause() error
Cause function returns cause value.
func (FixedHeapConfigValidationError) Error ¶
func (e FixedHeapConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FixedHeapConfigValidationError) ErrorName ¶
func (e FixedHeapConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FixedHeapConfigValidationError) Field ¶
func (e FixedHeapConfigValidationError) Field() string
Field function returns field value.
func (FixedHeapConfigValidationError) Key ¶
func (e FixedHeapConfigValidationError) Key() bool
Key function returns key value.
func (FixedHeapConfigValidationError) Reason ¶
func (e FixedHeapConfigValidationError) Reason() string
Reason function returns reason value.