Documentation ¶
Index ¶
- Variables
- type CpuUtilizationConfig
- func (*CpuUtilizationConfig) Descriptor() ([]byte, []int)deprecated
- func (*CpuUtilizationConfig) ProtoMessage()
- func (x *CpuUtilizationConfig) ProtoReflect() protoreflect.Message
- func (x *CpuUtilizationConfig) Reset()
- func (x *CpuUtilizationConfig) String() string
- func (m *CpuUtilizationConfig) Validate() error
- func (m *CpuUtilizationConfig) ValidateAll() error
- type CpuUtilizationConfigMultiError
- type CpuUtilizationConfigValidationError
- func (e CpuUtilizationConfigValidationError) Cause() error
- func (e CpuUtilizationConfigValidationError) Error() string
- func (e CpuUtilizationConfigValidationError) ErrorName() string
- func (e CpuUtilizationConfigValidationError) Field() string
- func (e CpuUtilizationConfigValidationError) Key() bool
- func (e CpuUtilizationConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (m CpuUtilizationConfigMultiError) Error() string
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 ¶
func (e CpuUtilizationConfigValidationError) Cause() error
Cause function returns cause value.
func (CpuUtilizationConfigValidationError) Error ¶
func (e CpuUtilizationConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CpuUtilizationConfigValidationError) ErrorName ¶
func (e CpuUtilizationConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CpuUtilizationConfigValidationError) Field ¶
func (e CpuUtilizationConfigValidationError) Field() string
Field function returns field value.
func (CpuUtilizationConfigValidationError) Key ¶
func (e CpuUtilizationConfigValidationError) Key() bool
Key function returns key value.
func (CpuUtilizationConfigValidationError) Reason ¶
func (e CpuUtilizationConfigValidationError) Reason() string
Reason function returns reason value.