Home

envoy.extensions.filters.http.fault.v3.FaultAbort

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.http.fault.v3.FaultAbort
.withGrpcStatus(1)
.withHeaderAbort(types.envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort)
.withHttpStatus(1)
.withPercentage(types.envoy.type.v3.FractionalPercent)
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
grpc_status uint32 error_type  
header_abort envoy.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort error_type  
http_status uint32 error_type   {"Uint32":{"gte":200,"lt":600}}
percentage envoy.type.v3.FractionalPercent