- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 117 for setAnnotation (0.18 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go
Labels(obj runtime.Object) (map[string]string, error) SetLabels(obj runtime.Object, labels map[string]string) error Annotations(obj runtime.Object) (map[string]string, error) SetAnnotations(obj runtime.Object, annotations map[string]string) error Continue(obj runtime.Object) (string, error) SetContinue(obj runtime.Object, c string) error runtime.ResourceVersioner } type RESTScopeName string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 23:44:02 UTC 2021 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
return err } annotations := accessor.GetAnnotations() if annotations == nil { annotations = make(map[string]string) } annotations[ChangeCauseAnnotation] = r.changeCause accessor.SetAnnotations(annotations) return nil } // MakeRecordMergePatch produces a merge patch for updating the recording annotation. func (r *ChangeCauseRecorder) MakeRecordMergePatch(obj runtime.Object) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go
} return &kmsservice.StatusResponse{KeyID: t.keyVersion}, nil } func (t *testEnvelopeService) SetDisabledStatus(status bool) { t.disabled = status } func (t *testEnvelopeService) SetAnnotations(annotations map[string][]byte) { t.annotations = annotations } func (t *testEnvelopeService) SetCiphertext(ciphertext []byte) { t.ciphertext = ciphertext } func (t *testEnvelopeService) Rotate() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:50:20 UTC 2023 - 47.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
return accessibleObject.isAnnotationPresent(annotationClass); } @Override @CheckForNull public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) { return accessibleObject.getAnnotation(annotationClass); } @Override public final Annotation[] getAnnotations() { return accessibleObject.getAnnotations(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 18.6K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy
ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } Class<?> ruleClass = Rules def "applies ComponentModelBasePlugin and creates component type rule"() { def mockRegistry = Mock(ModelRegistry) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
return accessibleObject.isAnnotationPresent(annotationClass); } @Override @CheckForNull public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) { return accessibleObject.getAnnotation(annotationClass); } @Override public final Annotation[] getAnnotations() { return accessibleObject.getAnnotations(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
pkg/webhooks/validation/server/server_test.go
r := collections.Mock var un unstructured.Unstructured un.SetGroupVersionKind(r.GroupVersionKind().Kubernetes()) un.SetName(name) un.SetLabels(map[string]string{"key": name}) un.SetAnnotations(map[string]string{"annotationKey": name}) un.Object["spec"] = &config.MockConfig{ Key: key, Pairs: []*config.ConfigPair{{ Key: key, Value: strconv.Itoa(i), }}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 9.6K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission.go
annotations := pod.GetAnnotations() if annotations == nil { annotations = make(map[string]string) } annotations[api.ImagePolicyFailedOpenKey] = "true" pod.ObjectMeta.SetAnnotations(annotations) klog.V(2).Infof("resource allowed in spite of webhook backend failure") return nil } klog.V(2).Infof("resource not allowed due to webhook backend failure ")
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/apimachinery/pkg/apis/meta/v1/helpers.go
meta.SetDeletionTimestamp(existingMeta.GetDeletionTimestamp()) meta.SetGeneration(existingMeta.GetGeneration()) meta.SetSelfLink(existingMeta.GetSelfLink()) meta.SetLabels(existingMeta.GetLabels()) meta.SetAnnotations(existingMeta.GetAnnotations()) meta.SetFinalizers(existingMeta.GetFinalizers()) meta.SetOwnerReferences(existingMeta.GetOwnerReferences()) // managedFields must be preserved since it's been modified to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 15 10:58:36 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 16.6K bytes - Viewed (0)