- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetAnnotations (0.26 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) -
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
if (annotationType.isInstance(annotation)) { return annotationType.cast(annotation); } } return null; } @Override public Annotation[] getAnnotations() { return getDeclaredAnnotations(); } /** * @since 18.0 */ @Override public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.6K bytes - Viewed (0)