Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for validateAnnotations (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/audit_test.go

    		annotations := make(map[string]string, len(tc.admitAnnotations)+len(tc.validateAnnotations))
    		for k, v := range tc.admitAnnotations {
    			annotations[k] = v
    		}
    		for k, v := range tc.validateAnnotations {
    			annotations[k] = v
    		}
    		if len(annotations) == 0 {
    			assert.Nil(t, ae.Annotations, tcName+": unexptected annotations set in audit event")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java

        public void recordProcessingInputs(Set<String> supportedAnnotationTypes, Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
            validateAnnotations(annotations);
            recordAggregatedTypes(supportedAnnotationTypes, annotations, roundEnv);
        }
    
        private void validateAnnotations(Set<? extends TypeElement> annotations) {
            for (TypeElement annotation : annotations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. pkg/kube/inject/validate.go

    	if err := protomarshal.ApplyYAML(value, config); err != nil {
    		return fmt.Errorf("failed to convert to apply proxy config: %v", err)
    	}
    	return agent.ValidateMeshConfigProxyConfig(config)
    }
    
    func validateAnnotations(annotations map[string]string) (err error) {
    	for name, value := range annotations {
    		if v, ok := AnnotationValidation[name]; ok {
    			if e := v(value); e != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top