envoy_extensions_filters_http_kill_request_v3

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 18 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_kill_request_v3_kill_request_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KillRequest

type KillRequest struct {

	// The probability that a Kill request will be triggered.
	Probability *v3.FractionalPercent `protobuf:"bytes,1,opt,name=probability,proto3" json:"probability,omitempty"`
	// The name of the kill request header. If this field is not empty, it will override the :ref:`default header <config_http_filters_kill_request_http_header>` name. Otherwise the default header name will be used.
	KillRequestHeader string `protobuf:"bytes,2,opt,name=kill_request_header,json=killRequestHeader,proto3" json:"kill_request_header,omitempty"`
	// contains filtered or unexported fields
}

Configuration for KillRequest filter.

func (*KillRequest) Descriptor deprecated

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

Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.

func (*KillRequest) GetKillRequestHeader

func (x *KillRequest) GetKillRequestHeader() string

func (*KillRequest) GetProbability

func (x *KillRequest) GetProbability() *v3.FractionalPercent

func (*KillRequest) ProtoMessage

func (*KillRequest) ProtoMessage()

func (*KillRequest) ProtoReflect

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

func (*KillRequest) Reset

func (x *KillRequest) Reset()

func (*KillRequest) String

func (x *KillRequest) String() string

func (*KillRequest) Validate

func (m *KillRequest) Validate() error

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

type KillRequestValidationError

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

KillRequestValidationError is the validation error returned by KillRequest.Validate if the designated constraints aren't met.

func (KillRequestValidationError) Cause

Cause function returns cause value.

func (KillRequestValidationError) Error

Error satisfies the builtin error interface

func (KillRequestValidationError) ErrorName

func (e KillRequestValidationError) ErrorName() string

ErrorName returns error name.

func (KillRequestValidationError) Field

Field function returns field value.

func (KillRequestValidationError) Key

Key function returns key value.

func (KillRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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