cpu_utilizationv3

package
v0.0.0-...-2f465fa Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_resource_monitors_cpu_utilization_v3_cpu_utilization_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CpuUtilizationConfig

type CpuUtilizationConfig struct {
	// contains filtered or unexported fields
}

The CPU utilization resource monitor reports the Envoy process the CPU Utilization of the entire host. Today, this only works on Linux and is calculated using the stats in the /proc/stat file.

func (*CpuUtilizationConfig) Descriptor deprecated

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

Deprecated: Use CpuUtilizationConfig.ProtoReflect.Descriptor instead.

func (*CpuUtilizationConfig) ProtoMessage

func (*CpuUtilizationConfig) ProtoMessage()

func (*CpuUtilizationConfig) ProtoReflect

func (x *CpuUtilizationConfig) ProtoReflect() protoreflect.Message

func (*CpuUtilizationConfig) Reset

func (x *CpuUtilizationConfig) Reset()

func (*CpuUtilizationConfig) String

func (x *CpuUtilizationConfig) String() string

func (*CpuUtilizationConfig) Validate

func (m *CpuUtilizationConfig) Validate() error

Validate checks the field values on CpuUtilizationConfig 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 (*CpuUtilizationConfig) ValidateAll

func (m *CpuUtilizationConfig) ValidateAll() error

ValidateAll checks the field values on CpuUtilizationConfig 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 CpuUtilizationConfigMultiError, or nil if none found.

type CpuUtilizationConfigMultiError

type CpuUtilizationConfigMultiError []error

CpuUtilizationConfigMultiError is an error wrapping multiple validation errors returned by CpuUtilizationConfig.ValidateAll() if the designated constraints aren't met.

func (CpuUtilizationConfigMultiError) AllErrors

func (m CpuUtilizationConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CpuUtilizationConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CpuUtilizationConfigValidationError

type CpuUtilizationConfigValidationError struct {
	// contains filtered or unexported fields
}

CpuUtilizationConfigValidationError is the validation error returned by CpuUtilizationConfig.Validate if the designated constraints aren't met.

func (CpuUtilizationConfigValidationError) Cause

Cause function returns cause value.

func (CpuUtilizationConfigValidationError) Error

Error satisfies the builtin error interface

func (CpuUtilizationConfigValidationError) ErrorName

ErrorName returns error name.

func (CpuUtilizationConfigValidationError) Field

Field function returns field value.

func (CpuUtilizationConfigValidationError) Key

Key function returns key value.

func (CpuUtilizationConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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