Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for currentDeployment (0.12 sec)

  1. pkg/controller/deployment/progress_test.go

    		expected time.Duration
    	}{
    		{
    			name:     "nil progressDeadlineSeconds specified",
    			d:        currentDeployment(nil, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    			expected: time.Duration(-1),
    		},
    		{
    			name:     "infinite progressDeadlineSeconds specified",
    			d:        currentDeployment(&infinite, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    			expected: time.Duration(-1),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. operator/pkg/helmreconciler/wait.go

    			}
    			namespaces = append(namespaces, *namespace)
    		case name.DeploymentStr:
    			currentDeployment, err := cs.AppsV1().Deployments(o.Namespace).Get(context.TODO(), o.Name, metav1.GetOptions{})
    			if err != nil {
    				return false, nil, nil, err
    			}
    			_, _, newReplicaSet, err := kctldeployment.GetAllReplicaSets(currentDeployment, cs.AppsV1())
    			if err != nil || newReplicaSet == nil {
    				return false, nil, nil, err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top