- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 117 for setAnnotation (0.18 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
Class<? extends Annotation> annotationType = annotation.annotationType(); if (annotationType.getAnnotation(Inherited.class) != null) { continue; } Retention retention = annotationType.getAnnotation(Retention.class); methodVisitor
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 100.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go
} func (u *Unstructured) GetAnnotations() map[string]string { m, _, _ := NestedStringMap(u.Object, "metadata", "annotations") return m } func (u *Unstructured) SetAnnotations(annotations map[string]string) { if annotations == nil { RemoveNestedField(u.Object, "metadata", "annotations") return } u.setNestedMap(annotations, "metadata", "annotations") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
Class<?> generatedClass = generator.generate(BeanWithAnnotatedConstructor.class).getGeneratedClass(); Constructor<?> constructor = generatedClass.getDeclaredConstructors()[0]; assertThat(constructor.getAnnotation(Inject.class), notNullValue()); } @Test public void includesAnnotationInformationForOverriddenConstructorWithName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/strategy.go
} // setAutoUpdateAnnotation sets the auto-update annotation key to the specified value. func setAutoUpdateAnnotation(accessor metav1.Object, autoUpdate bool) { if accessor.GetAnnotations() == nil { accessor.SetAnnotations(map[string]string{}) } accessor.GetAnnotations()[flowcontrolv1.AutoUpdateAnnotationKey] = strconv.FormatBool(autoUpdate) } // EnsureConfigurations applies the given maintenance strategy to the given objects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go
date := metav1.Date(2010, time.November, 10, 23, 0, 0, 0, time.UTC) unstruct.SetDeletionTimestamp(&date) unstruct.SetLabels(map[string]string{"test_label": "test_value"}) unstruct.SetAnnotations(map[string]string{"test_annotation": "test_value"}) newOwnerReferences := []metav1.OwnerReference{ { Kind: "Pod", Name: "poda", APIVersion: "v1", UID: "1", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 17.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java
// Internal listeners are always allowed: we know their lifecycle and ensure there are no problems when configuration cache is reused. return true; } if (JavaPropertyReflectionUtil.getAnnotation(listener.getClass(), DeprecatedInGradleScope.class) != null) { // Explicitly unsupported Listener types are disallowed. return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 23.6K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
return nil, err } annots[FieldMapKey] = string(jsonfm) jsonsource, err := json.Marshal(source) if err != nil { return nil, err } annots[ReferenceKey] = string(jsonsource) u.SetAnnotations(annots) } result := TranslateObject(u, "", schema) return result, nil } func TranslateObject(obj *unstructured.Unstructured, domainSuffix string, schema sresource.Schema) *config.Config {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kube/util.go
if !ok { // shouldn't happen return obj, nil } // ManagedFields is large and we never use it t.GetObjectMeta().SetManagedFields(nil) // Annotation is never used t.GetObjectMeta().SetAnnotations(nil) // OwnerReference is never used t.GetObjectMeta().SetOwnerReferences(nil) // only node labels and addressed are useful if node := obj.(*corev1.Node); node != nil { node.Status.Allocatable = nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
} @Override public void visitValidationFailures(TypeValidationContext validationContext) { } @Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return Optional.empty(); } }; private final ImmutableSet<Class<? extends Annotation>> recordedTypeAnnotations;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 37.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
private Class[] getParameterTypes(); public annotation.Annotation[] getAnnotations(); public annotation.Annotation getAnnotation(Class); public String toString(); } org/junit/runners/model/Annotatable.class package org.junit.runners.model; public abstract interface Annotatable { public abstract annotation.Annotation[] getAnnotations(); public abstract annotation.Annotation getAnnotation(Class); } org/junit/runners/model/Statement.class package org.junit.runners.model; public abstract synchronized class...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 373.7K bytes - Viewed (0)