- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for getAnnotations (0.09 sec)
-
cni/pkg/util/podutil.go
func PodRedirectionActive(pod *corev1.Pod) bool { return pod.GetAnnotations()[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled } func podHasSidecar(pod *corev1.Pod) bool { if _, f := pod.GetAnnotations()[annotation.SidecarStatus.Name]; f { return true } return false } func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
|| containsNullable(invokable.getAnnotatedReturnType().getAnnotations()); // TODO(cpovirk): Should we also check isNullableTypeVariable? } @Override boolean isNullable(Parameter param) { return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param) || containsNullable(param.getAnnotatedType().getAnnotations()) || isNullableTypeVariable(param.getAnnotatedType().getType());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
} // InAmbient returns true if a resource is in ambient data plane mode. func InAmbient(obj metav1.Object) bool { if obj == nil { return false } switch t := obj.(type) { case *corev1.Pod: return t.GetAnnotations()[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Parameter.java
return declaration; } @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return getAnnotation(annotationType) != null; } @Override @CheckForNull public <A extends Annotation> A getAnnotation(Class<A> annotationType) { checkNotNull(annotationType); for (Annotation annotation : annotations) { if (annotationType.isInstance(annotation)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
}); }); } private void findAnnotations(NodeWithAnnotations<?> node, AbstractLanguageElement currentElement) { for (AnnotationExpr child : node.getAnnotations()) { if (child instanceof SingleMemberAnnotationExpr && child.getNameAsString().endsWith("ReplacedBy")) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} return retval } func extractRevisionFromPod(pod *corev1.Pod) string { return describe.GetRevisionFromPodAnnotation(pod.GetAnnotations()) } func injectionDisabled(pod *corev1.Pod) bool { inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name] if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent { inject = lbl }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
protected void extractAnnotations(final PDDocument doc, final StringWriter writer) { for (final PDPage page : doc.getPages()) { try { for (final PDAnnotation annotation : page.getAnnotations()) { if (annotation instanceof final PDAnnotationFileAttachment annotationFileAttachment) { final PDFileSpecification fileSpec = annotationFileAttachment.getFile();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
FROM_DECLARATION_ANNOTATIONS_ONLY { @Override boolean isNullable(Invokable<?, ?> invokable) { return containsNullable(invokable.getAnnotations()); } @Override boolean isNullable(Parameter param) { return containsNullable(param.getAnnotations()); } }; abstract boolean isNullable(Invokable<?, ?> invokable); abstract boolean isNullable(Parameter param);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
} @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 public final Annotation[] getDeclaredAnnotations() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
Name: un.GetName(), Namespace: un.GetNamespace(), Domain: domain, Labels: un.GetLabels(), Annotations: un.GetAnnotations(), ResourceVersion: un.GetResourceVersion(), CreationTimestamp: un.GetCreationTimestamp().Time, }, Spec: data, }, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0)