import "github.com/envoyproxy/go-control-plane/envoy/config/filter/network/ext_authz/v2"
ext_authz.pb.go ext_authz.pb.validate.go
var File_envoy_config_filter_network_ext_authz_v2_ext_authz_proto protoreflect.FileDescriptor
type ExtAuthz struct { // The prefix to use when emitting statistics. StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` // The external authorization gRPC service configuration. // The default timeout is set to 200ms by this filter. GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // The filter's behaviour in case the external authorization service does // not respond back. When it is set to true, Envoy will also allow traffic in case of // communication failure between authorization service and the proxy. // Defaults to false. FailureModeAllow bool `protobuf:"varint,3,opt,name=failure_mode_allow,json=failureModeAllow,proto3" json:"failure_mode_allow,omitempty"` // Specifies if the peer certificate is sent to the external service. // // When this field is true, Envoy will include the peer X.509 certificate, if available, in the // :ref:`certificate<envoy_api_field_service.auth.v2.AttributeContext.Peer.certificate>`. IncludePeerCertificate bool `protobuf:"varint,4,opt,name=include_peer_certificate,json=includePeerCertificate,proto3" json:"include_peer_certificate,omitempty"` // contains filtered or unexported fields }
External Authorization filter calls out to an external service over the gRPC Authorization API defined by :ref:`CheckRequest <envoy_api_msg_service.auth.v2.CheckRequest>`. A failed check will cause this filter to close the TCP connection.
Deprecated: Use ExtAuthz.ProtoReflect.Descriptor instead.
func (x *ExtAuthz) GetGrpcService() *core.GrpcService
func (x *ExtAuthz) ProtoReflect() protoreflect.Message
Validate checks the field values on ExtAuthz with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExtAuthzValidationError struct {
// contains filtered or unexported fields
}
ExtAuthzValidationError is the validation error returned by ExtAuthz.Validate if the designated constraints aren't met.
func (e ExtAuthzValidationError) Cause() error
Cause function returns cause value.
func (e ExtAuthzValidationError) Error() string
Error satisfies the builtin error interface
func (e ExtAuthzValidationError) ErrorName() string
ErrorName returns error name.
func (e ExtAuthzValidationError) Field() string
Field function returns field value.
func (e ExtAuthzValidationError) Key() bool
Key function returns key value.
func (e ExtAuthzValidationError) Reason() string
Reason function returns reason value.
Package envoy_config_filter_network_ext_authz_v2 imports 19 packages (graph) and is imported by 19 packages. Updated 2021-01-08. Refresh now. Tools for package owners.