go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/resource_monitor/injected_resource/v2alpha Index | Files

package envoy_config_resource_monitor_injected_resource_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/resource_monitor/injected_resource/v2alpha"


Package Files

injected_resource.pb.go injected_resource.pb.validate.go


var File_envoy_config_resource_monitor_injected_resource_v2alpha_injected_resource_proto protoreflect.FileDescriptor

type InjectedResourceConfig Uses

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 Uses

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

Deprecated: Use InjectedResourceConfig.ProtoReflect.Descriptor instead.

func (*InjectedResourceConfig) GetFilename Uses

func (x *InjectedResourceConfig) GetFilename() string

func (*InjectedResourceConfig) ProtoMessage Uses

func (*InjectedResourceConfig) ProtoMessage()

func (*InjectedResourceConfig) ProtoReflect Uses

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

func (*InjectedResourceConfig) Reset Uses

func (x *InjectedResourceConfig) Reset()

func (*InjectedResourceConfig) String Uses

func (x *InjectedResourceConfig) String() string

func (*InjectedResourceConfig) Validate Uses

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 Uses

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 Uses

func (e InjectedResourceConfigValidationError) Cause() error

Cause function returns cause value.

func (InjectedResourceConfigValidationError) Error Uses

func (e InjectedResourceConfigValidationError) Error() string

Error satisfies the builtin error interface

func (InjectedResourceConfigValidationError) ErrorName Uses

func (e InjectedResourceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (InjectedResourceConfigValidationError) Field Uses

func (e InjectedResourceConfigValidationError) Field() string

Field function returns field value.

func (InjectedResourceConfigValidationError) Key Uses

func (e InjectedResourceConfigValidationError) Key() bool

Key function returns key value.

func (InjectedResourceConfigValidationError) Reason Uses

func (e InjectedResourceConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_resource_monitor_injected_resource_v2alpha imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.