- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for getCondition (0.27 sec)
-
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) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/ide/visualstudio/fixtures/ProjectFile.groovy
} private Node getConfiguration() { projectXml.PropertyGroup.find({ it.'@Label' == 'Configuration' && it.'@Condition' == condition}) as Node } private String getCondition() { "'\$(Configuration)|\$(Platform)'=='${name}|${platformName}'" } } void assertHasComponentSources(TestNativeComponent component, String basePath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.7K bytes - Viewed (0) -
operator/pkg/helmreconciler/wait.go
return fmt.Sprintf("container failed to start: %v: %v", cs.State.Waiting.Reason, cs.State.Waiting.Message) } } if c := getCondition(pod.Status.Conditions, corev1.PodReady); c != nil && c.Status == corev1.ConditionFalse { return fmt.Sprintf(c.Message) } } return "" } func getCondition(conditions []corev1.PodCondition, condition corev1.PodConditionType) *corev1.PodCondition { for _, cond := range conditions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 08 03:13:12 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.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) -
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
t.Fatalf("Expected namespace status phase %v but received %v", testInput.expectStatus.Phase, ns.Status.Phase) } for _, expCondition := range testInput.expectStatus.Conditions { nsCondition := getCondition(ns.Status.Conditions, expCondition.Type) if nsCondition == nil { t.Fatalf("Missing namespace status condition %v", expCondition.Type) } } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
t.Error("Missing .status.startTime") } // validate conditions if !getCondition(actual, tc.expectedCondition, v1.ConditionTrue, tc.expectedConditionReason) { t.Errorf("Expected fail condition. Got %#v", actual.Status.Conditions) } }) } } func getCondition(job *batch.Job, condition batch.JobConditionType, status v1.ConditionStatus, reason string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K 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) -
pkg/controller/replicaset/replica_set_test.go
{ name: "condition does not exist", status: *exampleStatus, condType: imagePullBackOff, expected: false, }, } for _, test := range tests { cond := GetCondition(test.status, test.condType) exists := cond != nil if exists != test.expected { t.Errorf("%s: expected condition to exist: %t, got: %t", test.name, test.expected, exists) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
PatternRewriter &rewriter) const override { // This lowering only works on ranked types. auto cond_type = mlir::dyn_cast<RankedTensorType>(op.getCondition().getType()); auto then_type = mlir::dyn_cast<RankedTensorType>(op.getThenValue().getType()); auto else_type = mlir::dyn_cast<RankedTensorType>(op.getElseValue().getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)