Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for AddAnnotation (0.78 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/api/imagepolicy/v1alpha1/generated.proto

      // +optional
      optional string reason = 2;
    
      // AuditAnnotations will be added to the attributes object of the
      // admission controller request using 'AddAnnotation'.  The keys should
      // be prefix-less (i.e., the admission controller will add an
      // appropriate prefix).
      // +optional
      map<string, string> auditAnnotations = 3;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/imagepolicy/v1alpha1/generated.proto

      // +optional
      optional string reason = 2;
    
      // AuditAnnotations will be added to the attributes object of the
      // admission controller request using 'AddAnnotation'.  The keys should
      // be prefix-less (i.e., the admission controller will add an
      // appropriate prefix).
      // +optional
      map<string, string> auditAnnotations = 3;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    type FakeAttributes struct {
    	admission.Attributes
    	annotations map[string]string
    	mutex       sync.Mutex
    }
    
    // AddAnnotation adds an annotation key value pair to FakeAttributes
    func (f *FakeAttributes) AddAnnotation(k, v string) error {
    	return f.AddAnnotationWithLevel(k, v, auditinternal.LevelMetadata)
    }
    
    // AddAnnotationWithLevel adds an annotation key value pair to FakeAttributes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"auditAnnotations": {
    						SchemaProps: spec.SchemaProps{
    							Description: "AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.  The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).",
    							Type:        []string{"object"},
    							AdditionalProperties: &spec.SchemaOrBool{
    								Allows: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top