- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for setCondition (0.24 sec)
-
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) -
pilot/pkg/config/kube/gateway/conversion.go
for _, l := range gs.Listeners { if haveListeners.Contains(l.Name) { haveListeners.Delete(l.Name) listeners = append(listeners, l) } } gs.Listeners = listeners gs.Conditions = setConditions(obj.Generation, gs.Conditions, gatewayConditions) return gs }) } // IsManaged checks if a Gateway is managed (ie we create the Deployment and Service) or unmanaged.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K 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 (1) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
LogicalResult matchAndRewrite(AssertOp op, PatternRewriter& rewriter) const override { ElementsAttr cst; if (matchPattern(op.getCondition(), m_Constant(&cst))) { if (cst.getValues<bool>()[0]) { rewriter.eraseOp(op); return success(); } } return failure(); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
if (else_tensor.getRank() > 0) data_first_dim = else_tensor.getShape().front(); } else { // Neither has a rank. return success(); } auto cond_tensor = op.getCondition().getType().dyn_cast<RankedTensorType>(); if (!cond_tensor) return success(); auto cond_rank = cond_tensor.getRank(); // Check (2a) and (2b). if (cond_rank == 0 || cond_rank == data_rank) return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)