Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,471 for updatePod (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3_test.go

    	"time"
    )
    
    func Test_atomicLastError(t *testing.T) {
    	aError := &atomicLastError{err: fmt.Errorf("initial error")}
    	// no timestamp is always updated
    	aError.Store(errors.New("updated error"), time.Time{})
    	err := aError.Load()
    	if err.Error() != "updated error" {
    		t.Fatalf("Expected: \"updated error\" got: %s", err.Error())
    	}
    	// update to current time
    	now := time.Now()
    	aError.Store(errors.New("now error"), now)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 15:58:10 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/events.go

    	// AssignedPodUpdate is the event when a pod is updated that causes pods with matching affinity
    	// terms to be more schedulable.
    	AssignedPodUpdate = framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update, Label: "AssignedPodUpdate"}
    	// UnscheduledPodUpdate is the event when an unscheduled pod is updated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * configured update policy.
         *
         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go

    	cm2 := makeConfigMap("not-watched", "1")
    	steps := []struct {
    		added        *v1.ConfigMap
    		updated      *v1.ConfigMap
    		deleted      *v1.ConfigMap
    		expectCalled bool
    		expectCM     *v1.ConfigMap
    	}{
    		{added: cm2},
    		{added: cm, expectCalled: true, expectCM: cm},
    		{updated: cm},
    		{updated: cm1, expectCalled: true, expectCM: cm1},
    		{deleted: cm1, expectCalled: true},
    		{deleted: cm2},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. .github/PULL_REQUEST_TEMPLATE.md

    ## Checklist:
    - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here)
    - [ ] Unit tests added/updated
    - [ ] Internal documentation updated
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 14 17:29:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/tokens_controller_test.go

    			ExpectedActions:     []core.Action{},
    		},
    		"updated serviceaccount with no secrets": {
    			ClientObjects: []runtime.Object{serviceAccount(emptySecretReferences())},
    
    			UpdatedServiceAccount: serviceAccount(emptySecretReferences()),
    			ExpectedActions:       []core.Action{},
    		},
    		"updated serviceaccount with missing secrets": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. pkg/config/mesh/kubemesh/watcher_test.go

    	steps := []struct {
    		added   *v1.ConfigMap
    		updated *v1.ConfigMap
    		deleted *v1.ConfigMap
    
    		expect *meshconfig.MeshConfig
    	}{
    		{expect: mesh.DefaultMeshConfig()},
    		{added: cm, expect: m},
    
    		// Handle misconfiguration errors.
    		{updated: badCM, expect: m},
    		{updated: cm, expect: m},
    		{updated: badCM2, expect: m},
    		{updated: badCM, expect: m},
    		{updated: cm, expect: m},
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencyResolveDetailsSpec.groovy

            !details.delegate.updated
            details.delegate.ruleDescriptors == []
    
            when:
            details.useVersion("1.0") //the same version
    
            then:
            details.requested == newVersionSelector("org", "foo", "1.0")
            details.target == newVersionSelector("org", "foo", "1.0")
            details.delegate.updated
            details.delegate.ruleDescriptors == [SELECTED_BY_RULE]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storageversion/updater_test.go

    		sv := &v1alpha1.StorageVersion{Status: tc.old}
    		updated := localUpdateStorageVersion(sv, tc.newSSV.APIServerID, tc.newSSV.EncodingVersion, tc.newSSV.DecodableVersions, tc.newSSV.ServedVersions)
    		if tc.expectLastTransitionTimeUpdate == updated.Status.Conditions[0].LastTransitionTime.IsZero() {
    			t.Errorf("unexpected LastTransitionTime, expected update: %v, got: %v",
    				tc.expectLastTransitionTimeUpdate, updated.Status.Conditions[0].LastTransitionTime)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 22:40:54 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go

    		// back to true to indicate this node status needs to be updated again.
    		logger.V(2).Info("Error retrieving nodes from node lister", "err", err)
    		nsu.actualStateOfWorld.SetNodeStatusUpdateNeeded(logger, nodeName)
    		return err
    	}
    
    	err = nsu.updateNodeStatus(logger, nodeName, nodeObj, attachedVolumes)
    	if errors.IsNotFound(err) {
    		// If node does not exist, its status cannot be updated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top