envoy_config_resource_monitor_injected_resource_v2alpha

package
Version: v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InjectedResourceConfig

type InjectedResourceConfig struct {
	Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

The injected resource monitor allows injecting a synthetic resource pressure into Envoy via a text file, which must contain a floating-point number in the range [0..1] representing the resource pressure and be updated atomically by a symbolic link swap. This is intended primarily for integration tests to force Envoy into an overloaded state.

func (*InjectedResourceConfig) Descriptor deprecated

This method has been deprecated.
func (*InjectedResourceConfig) Descriptor() ([]byte, []int)

Deprecated: Use InjectedResourceConfig.ProtoReflect.Descriptor instead.

func (*InjectedResourceConfig) GetFilename

func (x *InjectedResourceConfig) GetFilename() string

func (*InjectedResourceConfig) ProtoMessage

func (*InjectedResourceConfig) ProtoMessage()

func (*InjectedResourceConfig) ProtoReflect

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

func (*InjectedResourceConfig) Reset

func (x *InjectedResourceConfig) Reset()

func (*InjectedResourceConfig) String

func (x *InjectedResourceConfig) String() string

func (*InjectedResourceConfig) Validate

func (m *InjectedResourceConfig) Validate() error

Validate checks the field values on InjectedResourceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type InjectedResourceConfigValidationError

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

InjectedResourceConfigValidationError is the validation error returned by InjectedResourceConfig.Validate if the designated constraints aren't met.

func (InjectedResourceConfigValidationError) Cause

Cause function returns cause value.

func (InjectedResourceConfigValidationError) Error

Error satisfies the builtin error interface

func (InjectedResourceConfigValidationError) ErrorName

ErrorName returns error name.

func (InjectedResourceConfigValidationError) Field

Field function returns field value.

func (InjectedResourceConfigValidationError) Key

Key function returns key value.

func (InjectedResourceConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to