Documentation ¶
Index ¶
- Variables
- type RouteAbort
- func (m *RouteAbort) Clone() proto.Message
- func (*RouteAbort) Descriptor() ([]byte, []int)deprecated
- func (m *RouteAbort) Equal(that interface{}) bool
- func (x *RouteAbort) GetHttpStatus() uint32
- func (x *RouteAbort) GetPercentage() float32
- func (m *RouteAbort) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *RouteAbort) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*RouteAbort) ProtoMessage()
- func (x *RouteAbort) ProtoReflect() protoreflect.Message
- func (x *RouteAbort) Reset()
- func (x *RouteAbort) String() string
- type RouteDelay
- func (m *RouteDelay) Clone() proto.Message
- func (*RouteDelay) Descriptor() ([]byte, []int)deprecated
- func (m *RouteDelay) Equal(that interface{}) bool
- func (x *RouteDelay) GetFixedDelay() *durationpb.Duration
- func (x *RouteDelay) GetPercentage() float32
- func (m *RouteDelay) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *RouteDelay) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*RouteDelay) ProtoMessage()
- func (x *RouteDelay) ProtoReflect() protoreflect.Message
- func (x *RouteDelay) Reset()
- func (x *RouteDelay) String() string
- type RouteFaults
- func (m *RouteFaults) Clone() proto.Message
- func (*RouteFaults) Descriptor() ([]byte, []int)deprecated
- func (m *RouteFaults) Equal(that interface{}) bool
- func (x *RouteFaults) GetAbort() *RouteAbort
- func (x *RouteFaults) GetDelay() *RouteDelay
- func (m *RouteFaults) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *RouteFaults) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*RouteFaults) ProtoMessage()
- func (x *RouteFaults) ProtoReflect() protoreflect.Message
- func (x *RouteFaults) Reset()
- func (x *RouteFaults) String() string
Constants ¶
This section is empty.
Variables ¶
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_faultinjection_fault_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RouteAbort ¶
type RouteAbort struct { // Percentage of requests that should be aborted, defaulting to 0. // This should be a value between 0.0 and 100.0, with up to 6 significant digits. Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // This should be a standard HTTP status in the range [200, 600), e.g. 503. Defaults to 0. HttpStatus uint32 `protobuf:"varint,2,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"` // contains filtered or unexported fields }
func (*RouteAbort) Clone ¶ added in v1.8.24
func (m *RouteAbort) Clone() proto.Message
Clone function
func (*RouteAbort) Descriptor
deprecated
func (*RouteAbort) Descriptor() ([]byte, []int)
Deprecated: Use RouteAbort.ProtoReflect.Descriptor instead.
func (*RouteAbort) GetHttpStatus ¶
func (x *RouteAbort) GetHttpStatus() uint32
func (*RouteAbort) GetPercentage ¶
func (x *RouteAbort) GetPercentage() float32
func (*RouteAbort) Hash
deprecated
added in
v1.2.13
func (m *RouteAbort) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*RouteAbort) HashUnique ¶ added in v1.18.0
func (m *RouteAbort) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*RouteAbort) ProtoMessage ¶
func (*RouteAbort) ProtoMessage()
func (*RouteAbort) ProtoReflect ¶ added in v1.6.0
func (x *RouteAbort) ProtoReflect() protoreflect.Message
func (*RouteAbort) Reset ¶
func (x *RouteAbort) Reset()
func (*RouteAbort) String ¶
func (x *RouteAbort) String() string
type RouteDelay ¶
type RouteDelay struct { // Percentage of requests that should be delayed, defaulting to 0. // This should be a value between 0.0 and 100.0, with up to 6 significant digits. Percentage float32 `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"` // Fixed delay, defaulting to 0. Will be rejected by the control plane if the delay is specified and less than 1 second. FixedDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=fixed_delay,json=fixedDelay,proto3" json:"fixed_delay,omitempty"` // contains filtered or unexported fields }
func (*RouteDelay) Clone ¶ added in v1.8.24
func (m *RouteDelay) Clone() proto.Message
Clone function
func (*RouteDelay) Descriptor
deprecated
func (*RouteDelay) Descriptor() ([]byte, []int)
Deprecated: Use RouteDelay.ProtoReflect.Descriptor instead.
func (*RouteDelay) GetFixedDelay ¶
func (x *RouteDelay) GetFixedDelay() *durationpb.Duration
func (*RouteDelay) GetPercentage ¶
func (x *RouteDelay) GetPercentage() float32
func (*RouteDelay) Hash
deprecated
added in
v1.2.13
func (m *RouteDelay) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*RouteDelay) HashUnique ¶ added in v1.18.0
func (m *RouteDelay) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*RouteDelay) ProtoMessage ¶
func (*RouteDelay) ProtoMessage()
func (*RouteDelay) ProtoReflect ¶ added in v1.6.0
func (x *RouteDelay) ProtoReflect() protoreflect.Message
func (*RouteDelay) Reset ¶
func (x *RouteDelay) Reset()
func (*RouteDelay) String ¶
func (x *RouteDelay) String() string
type RouteFaults ¶
type RouteFaults struct { Abort *RouteAbort `protobuf:"bytes,1,opt,name=abort,proto3" json:"abort,omitempty"` Delay *RouteDelay `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"` // contains filtered or unexported fields }
func (*RouteFaults) Clone ¶ added in v1.8.24
func (m *RouteFaults) Clone() proto.Message
Clone function
func (*RouteFaults) Descriptor
deprecated
func (*RouteFaults) Descriptor() ([]byte, []int)
Deprecated: Use RouteFaults.ProtoReflect.Descriptor instead.
func (*RouteFaults) GetAbort ¶
func (x *RouteFaults) GetAbort() *RouteAbort
func (*RouteFaults) GetDelay ¶
func (x *RouteFaults) GetDelay() *RouteDelay
func (*RouteFaults) Hash
deprecated
added in
v1.2.13
func (m *RouteFaults) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*RouteFaults) HashUnique ¶ added in v1.18.0
func (m *RouteFaults) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*RouteFaults) ProtoMessage ¶
func (*RouteFaults) ProtoMessage()
func (*RouteFaults) ProtoReflect ¶ added in v1.6.0
func (x *RouteFaults) ProtoReflect() protoreflect.Message
func (*RouteFaults) Reset ¶
func (x *RouteFaults) Reset()
func (*RouteFaults) String ¶
func (x *RouteFaults) String() string