go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/fault/v2 Index | Files

package envoy_config_filter_http_fault_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/fault/v2"

Index

Package Files

fault.pb.go fault.pb.validate.go

Variables

var File_envoy_config_filter_http_fault_v2_fault_proto protoreflect.FileDescriptor

type FaultAbort Uses

type FaultAbort struct {

    // Types that are assignable to ErrorType:
    //	*FaultAbort_HttpStatus
    //	*FaultAbort_HeaderAbort_
    ErrorType  isFaultAbort_ErrorType   `protobuf_oneof:"error_type"`
    Percentage *_type.FractionalPercent `protobuf:"bytes,3,opt,name=percentage,proto3" json:"percentage,omitempty"`
    // contains filtered or unexported fields
}

func (*FaultAbort) Descriptor Uses

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

Deprecated: Use FaultAbort.ProtoReflect.Descriptor instead.

func (*FaultAbort) GetErrorType Uses

func (m *FaultAbort) GetErrorType() isFaultAbort_ErrorType

func (*FaultAbort) GetHeaderAbort Uses

func (x *FaultAbort) GetHeaderAbort() *FaultAbort_HeaderAbort

func (*FaultAbort) GetHttpStatus Uses

func (x *FaultAbort) GetHttpStatus() uint32

func (*FaultAbort) GetPercentage Uses

func (x *FaultAbort) GetPercentage() *_type.FractionalPercent

func (*FaultAbort) ProtoMessage Uses

func (*FaultAbort) ProtoMessage()

func (*FaultAbort) ProtoReflect Uses

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

func (*FaultAbort) Reset Uses

func (x *FaultAbort) Reset()

func (*FaultAbort) String Uses

func (x *FaultAbort) String() string

func (*FaultAbort) Validate Uses

func (m *FaultAbort) Validate() error

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

type FaultAbortValidationError Uses

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

FaultAbortValidationError is the validation error returned by FaultAbort.Validate if the designated constraints aren't met.

func (FaultAbortValidationError) Cause Uses

func (e FaultAbortValidationError) Cause() error

Cause function returns cause value.

func (FaultAbortValidationError) Error Uses

func (e FaultAbortValidationError) Error() string

Error satisfies the builtin error interface

func (FaultAbortValidationError) ErrorName Uses

func (e FaultAbortValidationError) ErrorName() string

ErrorName returns error name.

func (FaultAbortValidationError) Field Uses

func (e FaultAbortValidationError) Field() string

Field function returns field value.

func (FaultAbortValidationError) Key Uses

func (e FaultAbortValidationError) Key() bool

Key function returns key value.

func (FaultAbortValidationError) Reason Uses

func (e FaultAbortValidationError) Reason() string

Reason function returns reason value.

type FaultAbort_HeaderAbort Uses

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

func (*FaultAbort_HeaderAbort) Descriptor Uses

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

Deprecated: Use FaultAbort_HeaderAbort.ProtoReflect.Descriptor instead.

func (*FaultAbort_HeaderAbort) ProtoMessage Uses

func (*FaultAbort_HeaderAbort) ProtoMessage()

func (*FaultAbort_HeaderAbort) ProtoReflect Uses

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

func (*FaultAbort_HeaderAbort) Reset Uses

func (x *FaultAbort_HeaderAbort) Reset()

func (*FaultAbort_HeaderAbort) String Uses

func (x *FaultAbort_HeaderAbort) String() string

func (*FaultAbort_HeaderAbort) Validate Uses

func (m *FaultAbort_HeaderAbort) Validate() error

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

type FaultAbort_HeaderAbortValidationError Uses

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

FaultAbort_HeaderAbortValidationError is the validation error returned by FaultAbort_HeaderAbort.Validate if the designated constraints aren't met.

func (FaultAbort_HeaderAbortValidationError) Cause Uses

func (e FaultAbort_HeaderAbortValidationError) Cause() error

Cause function returns cause value.

func (FaultAbort_HeaderAbortValidationError) Error Uses

func (e FaultAbort_HeaderAbortValidationError) Error() string

Error satisfies the builtin error interface

func (FaultAbort_HeaderAbortValidationError) ErrorName Uses

func (e FaultAbort_HeaderAbortValidationError) ErrorName() string

ErrorName returns error name.

func (FaultAbort_HeaderAbortValidationError) Field Uses

func (e FaultAbort_HeaderAbortValidationError) Field() string

Field function returns field value.

func (FaultAbort_HeaderAbortValidationError) Key Uses

func (e FaultAbort_HeaderAbortValidationError) Key() bool

Key function returns key value.

func (FaultAbort_HeaderAbortValidationError) Reason Uses

func (e FaultAbort_HeaderAbortValidationError) Reason() string

Reason function returns reason value.

type FaultAbort_HeaderAbort_ Uses

type FaultAbort_HeaderAbort_ struct {
    HeaderAbort *FaultAbort_HeaderAbort `protobuf:"bytes,4,opt,name=header_abort,json=headerAbort,proto3,oneof"`
}

type FaultAbort_HttpStatus Uses

type FaultAbort_HttpStatus struct {
    HttpStatus uint32 `protobuf:"varint,2,opt,name=http_status,json=httpStatus,proto3,oneof"`
}

type HTTPFault Uses

type HTTPFault struct {
    Delay                           *v2.FaultDelay         `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
    Abort                           *FaultAbort            `protobuf:"bytes,2,opt,name=abort,proto3" json:"abort,omitempty"`
    UpstreamCluster                 string                 `protobuf:"bytes,3,opt,name=upstream_cluster,json=upstreamCluster,proto3" json:"upstream_cluster,omitempty"`
    Headers                         []*route.HeaderMatcher `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"`
    DownstreamNodes                 []string               `protobuf:"bytes,5,rep,name=downstream_nodes,json=downstreamNodes,proto3" json:"downstream_nodes,omitempty"`
    MaxActiveFaults                 *wrappers.UInt32Value  `protobuf:"bytes,6,opt,name=max_active_faults,json=maxActiveFaults,proto3" json:"max_active_faults,omitempty"`
    ResponseRateLimit               *v2.FaultRateLimit     `protobuf:"bytes,7,opt,name=response_rate_limit,json=responseRateLimit,proto3" json:"response_rate_limit,omitempty"`
    DelayPercentRuntime             string                 `protobuf:"bytes,8,opt,name=delay_percent_runtime,json=delayPercentRuntime,proto3" json:"delay_percent_runtime,omitempty"`
    AbortPercentRuntime             string                 `protobuf:"bytes,9,opt,name=abort_percent_runtime,json=abortPercentRuntime,proto3" json:"abort_percent_runtime,omitempty"`
    DelayDurationRuntime            string                 `protobuf:"bytes,10,opt,name=delay_duration_runtime,json=delayDurationRuntime,proto3" json:"delay_duration_runtime,omitempty"`
    AbortHttpStatusRuntime          string                 `protobuf:"bytes,11,opt,name=abort_http_status_runtime,json=abortHttpStatusRuntime,proto3" json:"abort_http_status_runtime,omitempty"`
    MaxActiveFaultsRuntime          string                 `protobuf:"bytes,12,opt,name=max_active_faults_runtime,json=maxActiveFaultsRuntime,proto3" json:"max_active_faults_runtime,omitempty"`
    ResponseRateLimitPercentRuntime string                 `protobuf:"bytes,13,opt,name=response_rate_limit_percent_runtime,json=responseRateLimitPercentRuntime,proto3" json:"response_rate_limit_percent_runtime,omitempty"`
    // contains filtered or unexported fields
}

func (*HTTPFault) Descriptor Uses

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

Deprecated: Use HTTPFault.ProtoReflect.Descriptor instead.

func (*HTTPFault) GetAbort Uses

func (x *HTTPFault) GetAbort() *FaultAbort

func (*HTTPFault) GetAbortHttpStatusRuntime Uses

func (x *HTTPFault) GetAbortHttpStatusRuntime() string

func (*HTTPFault) GetAbortPercentRuntime Uses

func (x *HTTPFault) GetAbortPercentRuntime() string

func (*HTTPFault) GetDelay Uses

func (x *HTTPFault) GetDelay() *v2.FaultDelay

func (*HTTPFault) GetDelayDurationRuntime Uses

func (x *HTTPFault) GetDelayDurationRuntime() string

func (*HTTPFault) GetDelayPercentRuntime Uses

func (x *HTTPFault) GetDelayPercentRuntime() string

func (*HTTPFault) GetDownstreamNodes Uses

func (x *HTTPFault) GetDownstreamNodes() []string

func (*HTTPFault) GetHeaders Uses

func (x *HTTPFault) GetHeaders() []*route.HeaderMatcher

func (*HTTPFault) GetMaxActiveFaults Uses

func (x *HTTPFault) GetMaxActiveFaults() *wrappers.UInt32Value

func (*HTTPFault) GetMaxActiveFaultsRuntime Uses

func (x *HTTPFault) GetMaxActiveFaultsRuntime() string

func (*HTTPFault) GetResponseRateLimit Uses

func (x *HTTPFault) GetResponseRateLimit() *v2.FaultRateLimit

func (*HTTPFault) GetResponseRateLimitPercentRuntime Uses

func (x *HTTPFault) GetResponseRateLimitPercentRuntime() string

func (*HTTPFault) GetUpstreamCluster Uses

func (x *HTTPFault) GetUpstreamCluster() string

func (*HTTPFault) ProtoMessage Uses

func (*HTTPFault) ProtoMessage()

func (*HTTPFault) ProtoReflect Uses

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

func (*HTTPFault) Reset Uses

func (x *HTTPFault) Reset()

func (*HTTPFault) String Uses

func (x *HTTPFault) String() string

func (*HTTPFault) Validate Uses

func (m *HTTPFault) Validate() error

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

type HTTPFaultValidationError Uses

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

HTTPFaultValidationError is the validation error returned by HTTPFault.Validate if the designated constraints aren't met.

func (HTTPFaultValidationError) Cause Uses

func (e HTTPFaultValidationError) Cause() error

Cause function returns cause value.

func (HTTPFaultValidationError) Error Uses

func (e HTTPFaultValidationError) Error() string

Error satisfies the builtin error interface

func (HTTPFaultValidationError) ErrorName Uses

func (e HTTPFaultValidationError) ErrorName() string

ErrorName returns error name.

func (HTTPFaultValidationError) Field Uses

func (e HTTPFaultValidationError) Field() string

Field function returns field value.

func (HTTPFaultValidationError) Key Uses

func (e HTTPFaultValidationError) Key() bool

Key function returns key value.

func (HTTPFaultValidationError) Reason Uses

func (e HTTPFaultValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_http_fault_v2 imports 22 packages (graph) and is imported by 9 packages. Updated 2020-07-26. Refresh now. Tools for package owners.