v2alpha

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFixedHeap = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFixedHeap   = fmt.Errorf("proto: integer overflow")
)

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*FixedHeapConfig) GetMaxHeapSizeBytes

func (m *FixedHeapConfig) GetMaxHeapSizeBytes() uint64

func (*FixedHeapConfig) Marshal

func (m *FixedHeapConfig) Marshal() (dAtA []byte, err error)

func (*FixedHeapConfig) MarshalTo

func (m *FixedHeapConfig) MarshalTo(dAtA []byte) (int, error)

func (*FixedHeapConfig) ProtoMessage

func (*FixedHeapConfig) ProtoMessage()

func (*FixedHeapConfig) Reset

func (m *FixedHeapConfig) Reset()

func (*FixedHeapConfig) Size

func (m *FixedHeapConfig) Size() (n int)

func (*FixedHeapConfig) String

func (m *FixedHeapConfig) String() string

func (*FixedHeapConfig) Unmarshal

func (m *FixedHeapConfig) Unmarshal(dAtA []byte) error

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.

func (*FixedHeapConfig) XXX_DiscardUnknown

func (m *FixedHeapConfig) XXX_DiscardUnknown()

func (*FixedHeapConfig) XXX_Marshal

func (m *FixedHeapConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FixedHeapConfig) XXX_Merge

func (dst *FixedHeapConfig) XXX_Merge(src proto.Message)

func (*FixedHeapConfig) XXX_Size

func (m *FixedHeapConfig) XXX_Size() int

func (*FixedHeapConfig) XXX_Unmarshal

func (m *FixedHeapConfig) XXX_Unmarshal(b []byte) error

type FixedHeapConfigValidationError

type FixedHeapConfigValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

FixedHeapConfigValidationError is the validation error returned by FixedHeapConfig.Validate if the designated constraints aren't met.

func (FixedHeapConfigValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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