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

package envoy_config_filter_fault_v2

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

Index

Package Files

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

Variables

var (
    FaultDelay_FaultDelayType_name = map[int32]string{
        0: "FIXED",
    }
    FaultDelay_FaultDelayType_value = map[string]int32{
        "FIXED": 0,
    }
)

Enum value maps for FaultDelay_FaultDelayType.

var File_envoy_config_filter_fault_v2_fault_proto protoreflect.FileDescriptor

type FaultDelay Uses

type FaultDelay struct {

    // Deprecated: Do not use.
    Type FaultDelay_FaultDelayType `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.config.filter.fault.v2.FaultDelay_FaultDelayType" json:"type,omitempty"`
    // Types that are assignable to FaultDelaySecifier:
    //	*FaultDelay_FixedDelay
    //	*FaultDelay_HeaderDelay_
    FaultDelaySecifier isFaultDelay_FaultDelaySecifier `protobuf_oneof:"fault_delay_secifier"`
    Percentage         *_type.FractionalPercent        `protobuf:"bytes,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
    // contains filtered or unexported fields
}

func (*FaultDelay) Descriptor Uses

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

Deprecated: Use FaultDelay.ProtoReflect.Descriptor instead.

func (*FaultDelay) GetFaultDelaySecifier Uses

func (m *FaultDelay) GetFaultDelaySecifier() isFaultDelay_FaultDelaySecifier

func (*FaultDelay) GetFixedDelay Uses

func (x *FaultDelay) GetFixedDelay() *duration.Duration

func (*FaultDelay) GetHeaderDelay Uses

func (x *FaultDelay) GetHeaderDelay() *FaultDelay_HeaderDelay

func (*FaultDelay) GetPercentage Uses

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

func (*FaultDelay) GetType Uses

func (x *FaultDelay) GetType() FaultDelay_FaultDelayType

Deprecated: Do not use.

func (*FaultDelay) ProtoMessage Uses

func (*FaultDelay) ProtoMessage()

func (*FaultDelay) ProtoReflect Uses

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

func (*FaultDelay) Reset Uses

func (x *FaultDelay) Reset()

func (*FaultDelay) String Uses

func (x *FaultDelay) String() string

func (*FaultDelay) Validate Uses

func (m *FaultDelay) Validate() error

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

type FaultDelayValidationError Uses

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

FaultDelayValidationError is the validation error returned by FaultDelay.Validate if the designated constraints aren't met.

func (FaultDelayValidationError) Cause Uses

func (e FaultDelayValidationError) Cause() error

Cause function returns cause value.

func (FaultDelayValidationError) Error Uses

func (e FaultDelayValidationError) Error() string

Error satisfies the builtin error interface

func (FaultDelayValidationError) ErrorName Uses

func (e FaultDelayValidationError) ErrorName() string

ErrorName returns error name.

func (FaultDelayValidationError) Field Uses

func (e FaultDelayValidationError) Field() string

Field function returns field value.

func (FaultDelayValidationError) Key Uses

func (e FaultDelayValidationError) Key() bool

Key function returns key value.

func (FaultDelayValidationError) Reason Uses

func (e FaultDelayValidationError) Reason() string

Reason function returns reason value.

type FaultDelay_FaultDelayType Uses

type FaultDelay_FaultDelayType int32
const (
    FaultDelay_FIXED FaultDelay_FaultDelayType = 0
)

func (FaultDelay_FaultDelayType) Descriptor Uses

func (FaultDelay_FaultDelayType) Descriptor() protoreflect.EnumDescriptor

func (FaultDelay_FaultDelayType) Enum Uses

func (x FaultDelay_FaultDelayType) Enum() *FaultDelay_FaultDelayType

func (FaultDelay_FaultDelayType) EnumDescriptor Uses

func (FaultDelay_FaultDelayType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FaultDelay_FaultDelayType.Descriptor instead.

func (FaultDelay_FaultDelayType) Number Uses

func (x FaultDelay_FaultDelayType) Number() protoreflect.EnumNumber

func (FaultDelay_FaultDelayType) String Uses

func (x FaultDelay_FaultDelayType) String() string

func (FaultDelay_FaultDelayType) Type Uses

func (FaultDelay_FaultDelayType) Type() protoreflect.EnumType

type FaultDelay_FixedDelay Uses

type FaultDelay_FixedDelay struct {
    FixedDelay *duration.Duration `protobuf:"bytes,3,opt,name=fixed_delay,json=fixedDelay,proto3,oneof"`
}

type FaultDelay_HeaderDelay Uses

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

func (*FaultDelay_HeaderDelay) Descriptor Uses

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

Deprecated: Use FaultDelay_HeaderDelay.ProtoReflect.Descriptor instead.

func (*FaultDelay_HeaderDelay) ProtoMessage Uses

func (*FaultDelay_HeaderDelay) ProtoMessage()

func (*FaultDelay_HeaderDelay) ProtoReflect Uses

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

func (*FaultDelay_HeaderDelay) Reset Uses

func (x *FaultDelay_HeaderDelay) Reset()

func (*FaultDelay_HeaderDelay) String Uses

func (x *FaultDelay_HeaderDelay) String() string

func (*FaultDelay_HeaderDelay) Validate Uses

func (m *FaultDelay_HeaderDelay) Validate() error

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

type FaultDelay_HeaderDelayValidationError Uses

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

FaultDelay_HeaderDelayValidationError is the validation error returned by FaultDelay_HeaderDelay.Validate if the designated constraints aren't met.

func (FaultDelay_HeaderDelayValidationError) Cause Uses

func (e FaultDelay_HeaderDelayValidationError) Cause() error

Cause function returns cause value.

func (FaultDelay_HeaderDelayValidationError) Error Uses

func (e FaultDelay_HeaderDelayValidationError) Error() string

Error satisfies the builtin error interface

func (FaultDelay_HeaderDelayValidationError) ErrorName Uses

func (e FaultDelay_HeaderDelayValidationError) ErrorName() string

ErrorName returns error name.

func (FaultDelay_HeaderDelayValidationError) Field Uses

func (e FaultDelay_HeaderDelayValidationError) Field() string

Field function returns field value.

func (FaultDelay_HeaderDelayValidationError) Key Uses

func (e FaultDelay_HeaderDelayValidationError) Key() bool

Key function returns key value.

func (FaultDelay_HeaderDelayValidationError) Reason Uses

func (e FaultDelay_HeaderDelayValidationError) Reason() string

Reason function returns reason value.

type FaultDelay_HeaderDelay_ Uses

type FaultDelay_HeaderDelay_ struct {
    HeaderDelay *FaultDelay_HeaderDelay `protobuf:"bytes,5,opt,name=header_delay,json=headerDelay,proto3,oneof"`
}

type FaultRateLimit Uses

type FaultRateLimit struct {

    // Types that are assignable to LimitType:
    //	*FaultRateLimit_FixedLimit_
    //	*FaultRateLimit_HeaderLimit_
    LimitType  isFaultRateLimit_LimitType `protobuf_oneof:"limit_type"`
    Percentage *_type.FractionalPercent   `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
    // contains filtered or unexported fields
}

func (*FaultRateLimit) Descriptor Uses

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

Deprecated: Use FaultRateLimit.ProtoReflect.Descriptor instead.

func (*FaultRateLimit) GetFixedLimit Uses

func (x *FaultRateLimit) GetFixedLimit() *FaultRateLimit_FixedLimit

func (*FaultRateLimit) GetHeaderLimit Uses

func (x *FaultRateLimit) GetHeaderLimit() *FaultRateLimit_HeaderLimit

func (*FaultRateLimit) GetLimitType Uses

func (m *FaultRateLimit) GetLimitType() isFaultRateLimit_LimitType

func (*FaultRateLimit) GetPercentage Uses

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

func (*FaultRateLimit) ProtoMessage Uses

func (*FaultRateLimit) ProtoMessage()

func (*FaultRateLimit) ProtoReflect Uses

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

func (*FaultRateLimit) Reset Uses

func (x *FaultRateLimit) Reset()

func (*FaultRateLimit) String Uses

func (x *FaultRateLimit) String() string

func (*FaultRateLimit) Validate Uses

func (m *FaultRateLimit) Validate() error

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

type FaultRateLimitValidationError Uses

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

FaultRateLimitValidationError is the validation error returned by FaultRateLimit.Validate if the designated constraints aren't met.

func (FaultRateLimitValidationError) Cause Uses

func (e FaultRateLimitValidationError) Cause() error

Cause function returns cause value.

func (FaultRateLimitValidationError) Error Uses

func (e FaultRateLimitValidationError) Error() string

Error satisfies the builtin error interface

func (FaultRateLimitValidationError) ErrorName Uses

func (e FaultRateLimitValidationError) ErrorName() string

ErrorName returns error name.

func (FaultRateLimitValidationError) Field Uses

func (e FaultRateLimitValidationError) Field() string

Field function returns field value.

func (FaultRateLimitValidationError) Key Uses

func (e FaultRateLimitValidationError) Key() bool

Key function returns key value.

func (FaultRateLimitValidationError) Reason Uses

func (e FaultRateLimitValidationError) Reason() string

Reason function returns reason value.

type FaultRateLimit_FixedLimit Uses

type FaultRateLimit_FixedLimit struct {
    LimitKbps uint64 `protobuf:"varint,1,opt,name=limit_kbps,json=limitKbps,proto3" json:"limit_kbps,omitempty"`
    // contains filtered or unexported fields
}

func (*FaultRateLimit_FixedLimit) Descriptor Uses

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

Deprecated: Use FaultRateLimit_FixedLimit.ProtoReflect.Descriptor instead.

func (*FaultRateLimit_FixedLimit) GetLimitKbps Uses

func (x *FaultRateLimit_FixedLimit) GetLimitKbps() uint64

func (*FaultRateLimit_FixedLimit) ProtoMessage Uses

func (*FaultRateLimit_FixedLimit) ProtoMessage()

func (*FaultRateLimit_FixedLimit) ProtoReflect Uses

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

func (*FaultRateLimit_FixedLimit) Reset Uses

func (x *FaultRateLimit_FixedLimit) Reset()

func (*FaultRateLimit_FixedLimit) String Uses

func (x *FaultRateLimit_FixedLimit) String() string

func (*FaultRateLimit_FixedLimit) Validate Uses

func (m *FaultRateLimit_FixedLimit) Validate() error

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

type FaultRateLimit_FixedLimitValidationError Uses

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

FaultRateLimit_FixedLimitValidationError is the validation error returned by FaultRateLimit_FixedLimit.Validate if the designated constraints aren't met.

func (FaultRateLimit_FixedLimitValidationError) Cause Uses

func (e FaultRateLimit_FixedLimitValidationError) Cause() error

Cause function returns cause value.

func (FaultRateLimit_FixedLimitValidationError) Error Uses

func (e FaultRateLimit_FixedLimitValidationError) Error() string

Error satisfies the builtin error interface

func (FaultRateLimit_FixedLimitValidationError) ErrorName Uses

func (e FaultRateLimit_FixedLimitValidationError) ErrorName() string

ErrorName returns error name.

func (FaultRateLimit_FixedLimitValidationError) Field Uses

func (e FaultRateLimit_FixedLimitValidationError) Field() string

Field function returns field value.

func (FaultRateLimit_FixedLimitValidationError) Key Uses

func (e FaultRateLimit_FixedLimitValidationError) Key() bool

Key function returns key value.

func (FaultRateLimit_FixedLimitValidationError) Reason Uses

func (e FaultRateLimit_FixedLimitValidationError) Reason() string

Reason function returns reason value.

type FaultRateLimit_FixedLimit_ Uses

type FaultRateLimit_FixedLimit_ struct {
    FixedLimit *FaultRateLimit_FixedLimit `protobuf:"bytes,1,opt,name=fixed_limit,json=fixedLimit,proto3,oneof"`
}

type FaultRateLimit_HeaderLimit Uses

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

func (*FaultRateLimit_HeaderLimit) Descriptor Uses

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

Deprecated: Use FaultRateLimit_HeaderLimit.ProtoReflect.Descriptor instead.

func (*FaultRateLimit_HeaderLimit) ProtoMessage Uses

func (*FaultRateLimit_HeaderLimit) ProtoMessage()

func (*FaultRateLimit_HeaderLimit) ProtoReflect Uses

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

func (*FaultRateLimit_HeaderLimit) Reset Uses

func (x *FaultRateLimit_HeaderLimit) Reset()

func (*FaultRateLimit_HeaderLimit) String Uses

func (x *FaultRateLimit_HeaderLimit) String() string

func (*FaultRateLimit_HeaderLimit) Validate Uses

func (m *FaultRateLimit_HeaderLimit) Validate() error

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

type FaultRateLimit_HeaderLimitValidationError Uses

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

FaultRateLimit_HeaderLimitValidationError is the validation error returned by FaultRateLimit_HeaderLimit.Validate if the designated constraints aren't met.

func (FaultRateLimit_HeaderLimitValidationError) Cause Uses

func (e FaultRateLimit_HeaderLimitValidationError) Cause() error

Cause function returns cause value.

func (FaultRateLimit_HeaderLimitValidationError) Error Uses

func (e FaultRateLimit_HeaderLimitValidationError) Error() string

Error satisfies the builtin error interface

func (FaultRateLimit_HeaderLimitValidationError) ErrorName Uses

func (e FaultRateLimit_HeaderLimitValidationError) ErrorName() string

ErrorName returns error name.

func (FaultRateLimit_HeaderLimitValidationError) Field Uses

func (e FaultRateLimit_HeaderLimitValidationError) Field() string

Field function returns field value.

func (FaultRateLimit_HeaderLimitValidationError) Key Uses

func (e FaultRateLimit_HeaderLimitValidationError) Key() bool

Key function returns key value.

func (FaultRateLimit_HeaderLimitValidationError) Reason Uses

func (e FaultRateLimit_HeaderLimitValidationError) Reason() string

Reason function returns reason value.

type FaultRateLimit_HeaderLimit_ Uses

type FaultRateLimit_HeaderLimit_ struct {
    HeaderLimit *FaultRateLimit_HeaderLimit `protobuf:"bytes,3,opt,name=header_limit,json=headerLimit,proto3,oneof"`
}

Package envoy_config_filter_fault_v2 imports 21 packages (graph) and is imported by 9 packages. Updated 2020-06-20. Refresh now. Tools for package owners.