- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getCondition (0.18 sec)
-
security/pkg/k8s/chiron/utils_test.go
} } } }() return client } func approved(csr *cert.CertificateSigningRequest) bool { return GetCondition(csr.Status.Conditions, cert.CertificateApproved).Status == corev1.ConditionTrue } func GetCondition(conditions []cert.CertificateSigningRequestCondition, condition cert.RequestConditionType) cert.CertificateSigningRequestCondition { for _, cond := range conditions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
tests/integration/pilot/gateway_test.go
check := func() error { gw, _ := client.Get(context.Background(), "managed-owner", metav1.GetOptions{}) if gw == nil { return fmt.Errorf("failed to find gateway") } cond := kstatus.GetCondition(gw.Status.Conditions, string(k8sv1.GatewayConditionProgrammed)) if cond.Status != metav1.ConditionTrue { return fmt.Errorf("failed to find programmed condition: %+v", cond) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.7K bytes - Viewed (0) -
tests/integration/ambient/waypoint_test.go
if gwc == nil { return fmt.Errorf("failed to find GatewayClass %v", constants.WaypointGatewayClassName) } cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted)) if cond.Status != metav1.ConditionTrue { return fmt.Errorf("failed to find accepted condition: %+v", cond) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.4K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
if cfg == nil { return fmt.Errorf("expected WorkloadEntry %s/%s to exist", proxy.Metadata.Namespace, name) } if cfg.Status == nil { return nil } s := cfg.Status.(*v1alpha1.IstioStatus) if status.GetCondition(s.Conditions, "Healthy") != nil { return fmt.Errorf("expected WorkloadEntry %s/%s not to have %q condition", proxy.Metadata.Namespace, name, "Healthy") } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
@Override public Map<String, String[]> getFields() { return parent.getFields(); } @Override public Map<String, String[]> getConditions() { return parent.getConditions(); } @Override public String[] getLanguages() { return parent.getLanguages(); } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers.go
func toKubeRuntimeStatus(status *runtimeapi.RuntimeStatus, handlers []*runtimeapi.RuntimeHandler) *kubecontainer.RuntimeStatus { conditions := []kubecontainer.RuntimeCondition{} for _, c := range status.GetConditions() { conditions = append(conditions, kubecontainer.RuntimeCondition{ Type: kubecontainer.RuntimeConditionType(c.Type), Status: c.Status, Reason: c.Reason, Message: c.Message, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 12K bytes - Viewed (0) -
pkg/controller/daemon/update_test.go
} if !podutil.UpdatePodCondition(&pod.Status, &condition) { t.Fatal("failed to update pod") } // TODO: workaround UpdatePodCondition calling time.Now() directly setCondition := podutil.GetPodReadyCondition(pod.Status) setCondition.LastTransitionTime.Time = dsc.failedPodsBackoff.Clock.Now() logger.Info("marked pod ready", "pod", pod.Name, "ready", ready) count-- } if count > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 10 21:10:35 UTC 2024 - 28.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
return null; } @Override public Map<String, String[]> getFields() { return null; } @Override public Map<String, String[]> getConditions() { return null; } @Override public String[] getLanguages() { return null; } @Override public GeoInfo getGeoInfo() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.6K bytes - Viewed (0)