Documentation ¶
Index ¶
- Variables
- type FaultDelay
- func (*FaultDelay) Descriptor() ([]byte, []int)
- func (m *FaultDelay) GetFaultDelaySecifier() isFaultDelay_FaultDelaySecifier
- func (m *FaultDelay) GetFixedDelay() *types.Duration
- func (m *FaultDelay) GetHeaderDelay() *FaultDelay_HeaderDelay
- func (m *FaultDelay) GetPercentage() *v3alpha.FractionalPercent
- func (*FaultDelay) ProtoMessage()
- func (m *FaultDelay) Reset()
- func (m *FaultDelay) String() string
- func (m *FaultDelay) XXX_DiscardUnknown()
- func (m *FaultDelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FaultDelay) XXX_Merge(src proto.Message)
- func (*FaultDelay) XXX_OneofWrappers() []interface{}
- func (m *FaultDelay) XXX_Size() int
- func (m *FaultDelay) XXX_Unmarshal(b []byte) error
- type FaultDelay_FaultDelayType
- type FaultDelay_FixedDelay
- type FaultDelay_HeaderDelay
- func (*FaultDelay_HeaderDelay) Descriptor() ([]byte, []int)
- func (*FaultDelay_HeaderDelay) ProtoMessage()
- func (m *FaultDelay_HeaderDelay) Reset()
- func (m *FaultDelay_HeaderDelay) String() string
- func (m *FaultDelay_HeaderDelay) XXX_DiscardUnknown()
- func (m *FaultDelay_HeaderDelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FaultDelay_HeaderDelay) XXX_Merge(src proto.Message)
- func (m *FaultDelay_HeaderDelay) XXX_Size() int
- func (m *FaultDelay_HeaderDelay) XXX_Unmarshal(b []byte) error
- type FaultDelay_HeaderDelay_
- type FaultRateLimit
- func (*FaultRateLimit) Descriptor() ([]byte, []int)
- func (m *FaultRateLimit) GetFixedLimit() *FaultRateLimit_FixedLimit
- func (m *FaultRateLimit) GetHeaderLimit() *FaultRateLimit_HeaderLimit
- func (m *FaultRateLimit) GetLimitType() isFaultRateLimit_LimitType
- func (m *FaultRateLimit) GetPercentage() *v3alpha.FractionalPercent
- func (*FaultRateLimit) ProtoMessage()
- func (m *FaultRateLimit) Reset()
- func (m *FaultRateLimit) String() string
- func (m *FaultRateLimit) XXX_DiscardUnknown()
- func (m *FaultRateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FaultRateLimit) XXX_Merge(src proto.Message)
- func (*FaultRateLimit) XXX_OneofWrappers() []interface{}
- func (m *FaultRateLimit) XXX_Size() int
- func (m *FaultRateLimit) XXX_Unmarshal(b []byte) error
- type FaultRateLimit_FixedLimit
- func (*FaultRateLimit_FixedLimit) Descriptor() ([]byte, []int)
- func (m *FaultRateLimit_FixedLimit) GetLimitKbps() uint64
- func (*FaultRateLimit_FixedLimit) ProtoMessage()
- func (m *FaultRateLimit_FixedLimit) Reset()
- func (m *FaultRateLimit_FixedLimit) String() string
- func (m *FaultRateLimit_FixedLimit) XXX_DiscardUnknown()
- func (m *FaultRateLimit_FixedLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FaultRateLimit_FixedLimit) XXX_Merge(src proto.Message)
- func (m *FaultRateLimit_FixedLimit) XXX_Size() int
- func (m *FaultRateLimit_FixedLimit) XXX_Unmarshal(b []byte) error
- type FaultRateLimit_FixedLimit_
- type FaultRateLimit_HeaderLimit
- func (*FaultRateLimit_HeaderLimit) Descriptor() ([]byte, []int)
- func (*FaultRateLimit_HeaderLimit) ProtoMessage()
- func (m *FaultRateLimit_HeaderLimit) Reset()
- func (m *FaultRateLimit_HeaderLimit) String() string
- func (m *FaultRateLimit_HeaderLimit) XXX_DiscardUnknown()
- func (m *FaultRateLimit_HeaderLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FaultRateLimit_HeaderLimit) XXX_Merge(src proto.Message)
- func (m *FaultRateLimit_HeaderLimit) XXX_Size() int
- func (m *FaultRateLimit_HeaderLimit) XXX_Unmarshal(b []byte) error
- type FaultRateLimit_HeaderLimit_
Constants ¶
This section is empty.
Variables ¶
var FaultDelay_FaultDelayType_name = map[int32]string{
0: "FIXED",
}
var FaultDelay_FaultDelayType_value = map[string]int32{
"FIXED": 0,
}
Functions ¶
This section is empty.
Types ¶
type FaultDelay ¶
type FaultDelay struct { // Types that are valid to be assigned to FaultDelaySecifier: // *FaultDelay_FixedDelay // *FaultDelay_HeaderDelay_ FaultDelaySecifier isFaultDelay_FaultDelaySecifier `protobuf_oneof:"fault_delay_secifier"` // The percentage of operations/connections/requests on which the delay will be injected. Percentage *v3alpha.FractionalPercent `protobuf:"bytes,4,opt,name=percentage,proto3" json:"percentage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Delay specification is used to inject latency into the HTTP/gRPC/Mongo/Redis operation or delay proxying of TCP connections. [#next-free-field: 6]
func (*FaultDelay) Descriptor ¶
func (*FaultDelay) Descriptor() ([]byte, []int)
func (*FaultDelay) GetFaultDelaySecifier ¶
func (m *FaultDelay) GetFaultDelaySecifier() isFaultDelay_FaultDelaySecifier
func (*FaultDelay) GetFixedDelay ¶
func (m *FaultDelay) GetFixedDelay() *types.Duration
func (*FaultDelay) GetHeaderDelay ¶
func (m *FaultDelay) GetHeaderDelay() *FaultDelay_HeaderDelay
func (*FaultDelay) GetPercentage ¶
func (m *FaultDelay) GetPercentage() *v3alpha.FractionalPercent
func (*FaultDelay) ProtoMessage ¶
func (*FaultDelay) ProtoMessage()
func (*FaultDelay) Reset ¶
func (m *FaultDelay) Reset()
func (*FaultDelay) String ¶
func (m *FaultDelay) String() string
func (*FaultDelay) XXX_DiscardUnknown ¶
func (m *FaultDelay) XXX_DiscardUnknown()
func (*FaultDelay) XXX_Marshal ¶
func (m *FaultDelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FaultDelay) XXX_Merge ¶
func (m *FaultDelay) XXX_Merge(src proto.Message)
func (*FaultDelay) XXX_OneofWrappers ¶
func (*FaultDelay) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FaultDelay) XXX_Size ¶
func (m *FaultDelay) XXX_Size() int
func (*FaultDelay) XXX_Unmarshal ¶
func (m *FaultDelay) XXX_Unmarshal(b []byte) error
type FaultDelay_FaultDelayType ¶
type FaultDelay_FaultDelayType int32
const ( // Unused and deprecated. FaultDelay_FIXED FaultDelay_FaultDelayType = 0 )
func (FaultDelay_FaultDelayType) EnumDescriptor ¶
func (FaultDelay_FaultDelayType) EnumDescriptor() ([]byte, []int)
func (FaultDelay_FaultDelayType) String ¶
func (x FaultDelay_FaultDelayType) String() string
type FaultDelay_FixedDelay ¶
type FaultDelay_HeaderDelay ¶
type FaultDelay_HeaderDelay struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Fault delays are controlled via an HTTP header (if applicable). See the :ref:`http fault filter <config_http_filters_fault_injection_http_header>` documentation for more information.
func (*FaultDelay_HeaderDelay) Descriptor ¶
func (*FaultDelay_HeaderDelay) Descriptor() ([]byte, []int)
func (*FaultDelay_HeaderDelay) ProtoMessage ¶
func (*FaultDelay_HeaderDelay) ProtoMessage()
func (*FaultDelay_HeaderDelay) Reset ¶
func (m *FaultDelay_HeaderDelay) Reset()
func (*FaultDelay_HeaderDelay) String ¶
func (m *FaultDelay_HeaderDelay) String() string
func (*FaultDelay_HeaderDelay) XXX_DiscardUnknown ¶
func (m *FaultDelay_HeaderDelay) XXX_DiscardUnknown()
func (*FaultDelay_HeaderDelay) XXX_Marshal ¶
func (m *FaultDelay_HeaderDelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FaultDelay_HeaderDelay) XXX_Merge ¶
func (m *FaultDelay_HeaderDelay) XXX_Merge(src proto.Message)
func (*FaultDelay_HeaderDelay) XXX_Size ¶
func (m *FaultDelay_HeaderDelay) XXX_Size() int
func (*FaultDelay_HeaderDelay) XXX_Unmarshal ¶
func (m *FaultDelay_HeaderDelay) XXX_Unmarshal(b []byte) error
type FaultDelay_HeaderDelay_ ¶
type FaultDelay_HeaderDelay_ struct {
HeaderDelay *FaultDelay_HeaderDelay `protobuf:"bytes,5,opt,name=header_delay,json=headerDelay,proto3,oneof"`
}
type FaultRateLimit ¶
type FaultRateLimit struct { // Types that are valid to be assigned to LimitType: // *FaultRateLimit_FixedLimit_ // *FaultRateLimit_HeaderLimit_ LimitType isFaultRateLimit_LimitType `protobuf_oneof:"limit_type"` // The percentage of operations/connections/requests on which the rate limit will be injected. Percentage *v3alpha.FractionalPercent `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes a rate limit to be applied.
func (*FaultRateLimit) Descriptor ¶
func (*FaultRateLimit) Descriptor() ([]byte, []int)
func (*FaultRateLimit) GetFixedLimit ¶
func (m *FaultRateLimit) GetFixedLimit() *FaultRateLimit_FixedLimit
func (*FaultRateLimit) GetHeaderLimit ¶
func (m *FaultRateLimit) GetHeaderLimit() *FaultRateLimit_HeaderLimit
func (*FaultRateLimit) GetLimitType ¶
func (m *FaultRateLimit) GetLimitType() isFaultRateLimit_LimitType
func (*FaultRateLimit) GetPercentage ¶
func (m *FaultRateLimit) GetPercentage() *v3alpha.FractionalPercent
func (*FaultRateLimit) ProtoMessage ¶
func (*FaultRateLimit) ProtoMessage()
func (*FaultRateLimit) Reset ¶
func (m *FaultRateLimit) Reset()
func (*FaultRateLimit) String ¶
func (m *FaultRateLimit) String() string
func (*FaultRateLimit) XXX_DiscardUnknown ¶
func (m *FaultRateLimit) XXX_DiscardUnknown()
func (*FaultRateLimit) XXX_Marshal ¶
func (m *FaultRateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FaultRateLimit) XXX_Merge ¶
func (m *FaultRateLimit) XXX_Merge(src proto.Message)
func (*FaultRateLimit) XXX_OneofWrappers ¶
func (*FaultRateLimit) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FaultRateLimit) XXX_Size ¶
func (m *FaultRateLimit) XXX_Size() int
func (*FaultRateLimit) XXX_Unmarshal ¶
func (m *FaultRateLimit) XXX_Unmarshal(b []byte) error
type FaultRateLimit_FixedLimit ¶
type FaultRateLimit_FixedLimit struct { // The limit supplied in KiB/s. LimitKbps uint64 `protobuf:"varint,1,opt,name=limit_kbps,json=limitKbps,proto3" json:"limit_kbps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes a fixed/constant rate limit.
func (*FaultRateLimit_FixedLimit) Descriptor ¶
func (*FaultRateLimit_FixedLimit) Descriptor() ([]byte, []int)
func (*FaultRateLimit_FixedLimit) GetLimitKbps ¶
func (m *FaultRateLimit_FixedLimit) GetLimitKbps() uint64
func (*FaultRateLimit_FixedLimit) ProtoMessage ¶
func (*FaultRateLimit_FixedLimit) ProtoMessage()
func (*FaultRateLimit_FixedLimit) Reset ¶
func (m *FaultRateLimit_FixedLimit) Reset()
func (*FaultRateLimit_FixedLimit) String ¶
func (m *FaultRateLimit_FixedLimit) String() string
func (*FaultRateLimit_FixedLimit) XXX_DiscardUnknown ¶
func (m *FaultRateLimit_FixedLimit) XXX_DiscardUnknown()
func (*FaultRateLimit_FixedLimit) XXX_Marshal ¶
func (m *FaultRateLimit_FixedLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FaultRateLimit_FixedLimit) XXX_Merge ¶
func (m *FaultRateLimit_FixedLimit) XXX_Merge(src proto.Message)
func (*FaultRateLimit_FixedLimit) XXX_Size ¶
func (m *FaultRateLimit_FixedLimit) XXX_Size() int
func (*FaultRateLimit_FixedLimit) XXX_Unmarshal ¶
func (m *FaultRateLimit_FixedLimit) XXX_Unmarshal(b []byte) error
type FaultRateLimit_FixedLimit_ ¶
type FaultRateLimit_FixedLimit_ struct {
FixedLimit *FaultRateLimit_FixedLimit `protobuf:"bytes,1,opt,name=fixed_limit,json=fixedLimit,proto3,oneof"`
}
type FaultRateLimit_HeaderLimit ¶
type FaultRateLimit_HeaderLimit struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Rate limits are controlled via an HTTP header (if applicable). See the :ref:`http fault filter <config_http_filters_fault_injection_http_header>` documentation for more information.
func (*FaultRateLimit_HeaderLimit) Descriptor ¶
func (*FaultRateLimit_HeaderLimit) Descriptor() ([]byte, []int)
func (*FaultRateLimit_HeaderLimit) ProtoMessage ¶
func (*FaultRateLimit_HeaderLimit) ProtoMessage()
func (*FaultRateLimit_HeaderLimit) Reset ¶
func (m *FaultRateLimit_HeaderLimit) Reset()
func (*FaultRateLimit_HeaderLimit) String ¶
func (m *FaultRateLimit_HeaderLimit) String() string
func (*FaultRateLimit_HeaderLimit) XXX_DiscardUnknown ¶
func (m *FaultRateLimit_HeaderLimit) XXX_DiscardUnknown()
func (*FaultRateLimit_HeaderLimit) XXX_Marshal ¶
func (m *FaultRateLimit_HeaderLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FaultRateLimit_HeaderLimit) XXX_Merge ¶
func (m *FaultRateLimit_HeaderLimit) XXX_Merge(src proto.Message)
func (*FaultRateLimit_HeaderLimit) XXX_Size ¶
func (m *FaultRateLimit_HeaderLimit) XXX_Size() int
func (*FaultRateLimit_HeaderLimit) XXX_Unmarshal ¶
func (m *FaultRateLimit_HeaderLimit) XXX_Unmarshal(b []byte) error
type FaultRateLimit_HeaderLimit_ ¶
type FaultRateLimit_HeaderLimit_ struct {
HeaderLimit *FaultRateLimit_HeaderLimit `protobuf:"bytes,3,opt,name=header_limit,json=headerLimit,proto3,oneof"`
}