Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewDryRunUnsupportedErr (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/errors/statuserror.go

    	default:
    		result.Message = fmt.Sprintf("%s %s", deniedBy, noExp)
    	}
    
    	return &apierrors.StatusError{
    		ErrStatus: *result,
    	}
    }
    
    // NewDryRunUnsupportedErr returns a StatusError with information about the webhook plugin
    func NewDryRunUnsupportedErr(webhookName string) *apierrors.StatusError {
    	reason := fmt.Sprintf("admission webhook %q does not support dry run", webhookName)
    	return apierrors.NewBadRequest(reason)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 13:12:07 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top