envoy_config_resource_monitor_fixed_heap_v2alpha

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 18 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 added in v0.9.6

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

Cause function returns cause value.

func (FixedHeapConfigValidationError) Error

Error satisfies the builtin error interface

func (FixedHeapConfigValidationError) ErrorName added in v0.7.0

func (e FixedHeapConfigValidationError) ErrorName() string

ErrorName returns error name.

func (FixedHeapConfigValidationError) Field

Field function returns field value.

func (FixedHeapConfigValidationError) Key

Key function returns key value.

func (FixedHeapConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL