Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AddAnnotation (0.21 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            TypeSpec.Builder generatedClass = TypeSpec.classBuilder(className)
                .addAnnotation(GENERATED_ANNOTATION.asClassName())
                .superclass(CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(SIGNATURE_AWARE_CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(FILTERABLE_CALL_INTERCEPTOR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    						key := fmt.Sprintf("%sround_0_index_%d", ValidatingAuditAnnotationFailedOpenKeyPrefix, idx)
    						value := hookName
    						if err := versionedAttr.Attributes.AddAnnotation(key, value); err != nil {
    							klog.Warningf("Failed to set admission audit annotation %s to %s for validating webhook %s: %v", key, value, hookName, err)
    						}
    						return
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s to %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, value, binding.Spec.PolicyName, binding.Name, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            // Suppress some error prone warnings that are not important and would complicate the logic for code generation.
    
            return builder ->
                builder.addMethod(constructor)
                    .addAnnotation(GENERATED_ANNOTATION.asClassName())
                    .addModifiers(Modifier.PUBLIC)
                    // generic stuff not related to the content:
                    .addSuperinterface(ClassName.get(JvmBytecodeCallInterceptor.class))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	}
    
    	for k, v := range result.AuditAnnotations {
    		key := h.Name + "/" + k
    		if err := attr.Attributes.AddAnnotation(key, v); err != nil {
    			klog.Warningf("Failed to set admission audit annotation %s to %s for mutating webhook %s: %v", key, v, h.Name, err)
    		}
    	}
    	for _, w := range result.Warnings {
    		warning.AddWarning(ctx, "", w)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                .map(request -> mapToMethodSpec(request, onProcessedRequest, onFailure))
                .collect(Collectors.toList());
    
            return builder -> builder
                .addAnnotation(GENERATED_ANNOTATION.asClassName())
                .addModifiers(Modifier.PUBLIC)
                .addMethods(methods);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top