v2alpha

package
v0.0.0-...-113c6ea Latest Latest
Warning

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

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

Documentation

Overview

Package v2alpha is a generated protocol buffer package.

It is generated from these files:

envoy/config/resource_monitor/fixed_heap/v2alpha/fixed_heap.proto

It has these top-level messages:

FixedHeapConfig

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 {
	// Limit of the Envoy process heap size. This is used to calculate heap memory pressure which
	// is defined as (current heap size)/max_heap_size_bytes.
	MaxHeapSizeBytes uint64 `protobuf:"varint,1,opt,name=max_heap_size_bytes,json=maxHeapSizeBytes,proto3" json:"max_heap_size_bytes,omitempty"`
}

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.

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