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
- 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_config_resource_monitor_fixed_heap_v2alpha_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, an error is returned.
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.