- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for newConditions (0.24 sec)
-
pkg/scheduler/eventhandlers_test.go
Name string Changed bool OldConditions []v1.NodeCondition NewConditions []v1.NodeCondition }{ { Name: "no condition changed", Changed: false, OldConditions: []v1.NodeCondition{{Type: v1.NodeDiskPressure, Status: v1.ConditionTrue}}, NewConditions: []v1.NodeCondition{{Type: v1.NodeDiskPressure, Status: v1.ConditionTrue}}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 10 14:38:54 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
func filterOutCondition(conditions []apps.DeploymentCondition, condType apps.DeploymentConditionType) []apps.DeploymentCondition { var newConditions []apps.DeploymentCondition for _, c := range conditions { if c.Type == condType { continue } newConditions = append(newConditions, c) } return newConditions } // ReplicaSetToDeploymentCondition converts a replica set condition into a deployment condition.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
oldCSR := old.(*certificates.CertificateSigningRequest) populateConditionTimestamps(newCSR, oldCSR) newConditions := newCSR.Status.Conditions // Updating the approval should only update the conditions. newCSR.Spec = oldCSR.Spec newCSR.Status = oldCSR.Status newCSR.Status.Conditions = newConditions } func (csrApprovalStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/apihelpers/helpers.go
existingCondition := GetFlowSchemaConditionByType(flowSchema, newCondition.Type) if existingCondition == nil { flowSchema.Status.Conditions = append(flowSchema.Status.Conditions, newCondition) return } if existingCondition.Status != newCondition.Status { existingCondition.Status = newCondition.Status
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingLock.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storageversion/updater.go
existingCondition := findStatusCondition(*conditions, newCondition.Type) if existingCondition == nil { *conditions = append(*conditions, newCondition) return } statusChanged := existingCondition.Status != newCondition.Status if statusChanged || forceTransition { existingCondition.LastTransitionTime = newCondition.LastTransitionTime } existingCondition.Status = newCondition.Status
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 22:40:54 UTC 2023 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/helpers_test.go
} } } func TestSetCRDCondition(t *testing.T) { tests := []struct { name string crdCondition []CustomResourceDefinitionCondition newCondition CustomResourceDefinitionCondition expectedcrdCondition []CustomResourceDefinitionCondition }{ { name: "test setCRDcondition when one condition", crdCondition: []CustomResourceDefinitionCondition{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 17 19:08:05 UTC 2019 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingLock.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers_test.go
} } } func TestSetCRDCondition(t *testing.T) { tests := []struct { name string crdCondition []apiextensionsv1.CustomResourceDefinitionCondition newCondition apiextensionsv1.CustomResourceDefinitionCondition expectedcrdCondition []apiextensionsv1.CustomResourceDefinitionCondition }{ { name: "test setCRDcondition when one condition",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 20.3K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/ClassBasedLock.groovy
boolean tryLock(long time, @NotNull TimeUnit unit) throws InterruptedException { initializeLock() return tryLock(time, unit) } @Override Condition newCondition() { initializeLock() return lock.newCondition() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:56 UTC 2023 - 2.1K bytes - Viewed (0)