go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/resource_monitor/fixed_heap/v2alpha Index | Files

package envoy_config_resource_monitor_fixed_heap_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/resource_monitor/fixed_heap/v2alpha"


Package Files

fixed_heap.pb.go fixed_heap.pb.validate.go


var File_envoy_config_resource_monitor_fixed_heap_v2alpha_fixed_heap_proto protoreflect.FileDescriptor

type FixedHeapConfig Uses

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 Uses

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

Deprecated: Use FixedHeapConfig.ProtoReflect.Descriptor instead.

func (*FixedHeapConfig) GetMaxHeapSizeBytes Uses

func (x *FixedHeapConfig) GetMaxHeapSizeBytes() uint64

func (*FixedHeapConfig) ProtoMessage Uses

func (*FixedHeapConfig) ProtoMessage()

func (*FixedHeapConfig) ProtoReflect Uses

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

func (*FixedHeapConfig) Reset Uses

func (x *FixedHeapConfig) Reset()

func (*FixedHeapConfig) String Uses

func (x *FixedHeapConfig) String() string

func (*FixedHeapConfig) Validate Uses

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 Uses

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 Uses

func (e FixedHeapConfigValidationError) Cause() error

Cause function returns cause value.

func (FixedHeapConfigValidationError) Error Uses

func (e FixedHeapConfigValidationError) Error() string

Error satisfies the builtin error interface

func (FixedHeapConfigValidationError) ErrorName Uses

func (e FixedHeapConfigValidationError) ErrorName() string

ErrorName returns error name.

func (FixedHeapConfigValidationError) Field Uses

func (e FixedHeapConfigValidationError) Field() string

Field function returns field value.

func (FixedHeapConfigValidationError) Key Uses

func (e FixedHeapConfigValidationError) Key() bool

Key function returns key value.

func (FixedHeapConfigValidationError) Reason Uses

func (e FixedHeapConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_resource_monitor_fixed_heap_v2alpha imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.