- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for addAnnotation (0.41 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/interfaces.go
// GetKind is the type of object being manipulated. For example: Pod GetKind() schema.GroupVersionKind // GetUserInfo is information about the requesting user GetUserInfo() user.Info // AddAnnotation sets annotation according to key-value pair. The key should be qualified, e.g., podsecuritypolicy.admission.k8s.io/admit-policy, where
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 28 14:03:18 UTC 2021 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java
Boolean isRulesBlock = method.getCode().getNodeMetaData(AST_NODE_METADATA_KEY); if (isRulesBlock != null) { AnnotationNode markerAnnotation = new AnnotationNode(ANNOTATION_CLASS_NODE); node.addAnnotation(markerAnnotation); } } @Override public void visitBlockStatement(BlockStatement block) { block.setNodeMetaData(AST_NODE_METADATA_KEY, true);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go
// +optional Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` // 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
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:29 UTC 2023 - 3.5K bytes - Viewed (0) -
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) -
plugin/pkg/admission/imagepolicy/admission.go
func (a *Plugin) webhookError(pod *api.Pod, attributes admission.Attributes, err error) error { if err != nil { klog.V(2).Infof("error contacting webhook backend: %s", err) if a.defaultAllow { attributes.AddAnnotation(AuditKeyPrefix+ImagePolicyFailedOpenKeySuffix, "true") // TODO(wteiken): Remove the annotation code for the 1.13 release annotations := pod.GetAnnotations() if annotations == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 9.8K bytes - Viewed (0) -
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) -
staging/src/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go
"auditAnnotations": "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).", } func (ImageReviewStatus) SwaggerDoc() map[string]string { return map_ImageReviewStatus }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 3.4K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.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: Fri Mar 03 06:51:04 UTC 2023 - 47.6K bytes - Viewed (0)