Interface AdmissionControl.SuccessCriteriaOrBuilder

    • Method Detail

      • hasHttpCriteria

        boolean hasHttpCriteria()
         If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
         responses.
         .. note::
            The default HTTP codes considered successful by the admission controller are done so due
            to the unlikelihood that sending fewer requests would change their behavior (for example:
            redirects, unauthorized access, or bad requests won't be alleviated by sending less
            traffic).
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
        Returns:
        Whether the httpCriteria field is set.
      • getHttpCriteria

        AdmissionControl.SuccessCriteria.HttpCriteria getHttpCriteria()
         If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
         responses.
         .. note::
            The default HTTP codes considered successful by the admission controller are done so due
            to the unlikelihood that sending fewer requests would change their behavior (for example:
            redirects, unauthorized access, or bad requests won't be alleviated by sending less
            traffic).
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
        Returns:
        The httpCriteria.
      • getHttpCriteriaOrBuilder

        AdmissionControl.SuccessCriteria.HttpCriteriaOrBuilder getHttpCriteriaOrBuilder()
         If HTTP criteria are unspecified, all HTTP status codes below 500 are treated as successful
         responses.
         .. note::
            The default HTTP codes considered successful by the admission controller are done so due
            to the unlikelihood that sending fewer requests would change their behavior (for example:
            redirects, unauthorized access, or bad requests won't be alleviated by sending less
            traffic).
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.HttpCriteria http_criteria = 1;
      • hasGrpcCriteria

        boolean hasGrpcCriteria()
         GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
         Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
         FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
         .. note::
            The default gRPC codes that are considered successful by the admission controller are
            chosen because of the unlikelihood that sending fewer requests will change the behavior.
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;
        Returns:
        Whether the grpcCriteria field is set.
      • getGrpcCriteria

        AdmissionControl.SuccessCriteria.GrpcCriteria getGrpcCriteria()
         GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
         Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
         FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
         .. note::
            The default gRPC codes that are considered successful by the admission controller are
            chosen because of the unlikelihood that sending fewer requests will change the behavior.
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;
        Returns:
        The grpcCriteria.
      • getGrpcCriteriaOrBuilder

        AdmissionControl.SuccessCriteria.GrpcCriteriaOrBuilder getGrpcCriteriaOrBuilder()
         GRPC status codes to consider as request successes. If unspecified, defaults to: Ok,
         Cancelled, Unknown, InvalidArgument, NotFound, AlreadyExists, Unauthenticated,
         FailedPrecondition, OutOfRange, PermissionDenied, and Unimplemented.
         .. note::
            The default gRPC codes that are considered successful by the admission controller are
            chosen because of the unlikelihood that sending fewer requests will change the behavior.
         
        .envoy.extensions.filters.http.admission_control.v3.AdmissionControl.SuccessCriteria.GrpcCriteria grpc_criteria = 2;