v2alpha

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

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.11.2

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 added in v0.11.2

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 added in v0.11.2

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 added in v0.11.2

func (m FixedHeapConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FixedHeapConfigMultiError) Error added in v0.11.2

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

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