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 (m *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 {
	// 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

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.

Source Files

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

Version
v0.8.5
Published
Aug 6, 2019
Platform
darwin/amd64
Imports
15 packages
Last checked
32 minutes ago

Tools for package owners.