GrpcRouteFaultInjectionPolicy class

The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

Constructors

GrpcRouteFaultInjectionPolicy({Input<GrpcRouteFaultInjectionPolicyAbort>? abort, Input<GrpcRouteFaultInjectionPolicyDelay>? delay})
Creates a new GrpcRouteFaultInjectionPolicy. abort The specification for aborting to client requests. delay The specification for injecting delay to client requests.
const
GrpcRouteFaultInjectionPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

abort → Input<GrpcRouteFaultInjectionPolicyAbort>?
The specification for aborting to client requests.
final
delay → Input<GrpcRouteFaultInjectionPolicyDelay>?
The specification for injecting delay to client requests.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited