package v2alpha

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

Index

Variables

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

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

Source Files

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

Version
v0.6.1
Published
Oct 15, 2018
Platform
windows/amd64
Imports
14 packages
Last checked
1 hour ago

Tools for package owners.