Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WaitForResources (0.27 sec)

  1. operator/pkg/helmreconciler/wait.go

    type deployment struct {
    	replicaSets *appsv1.ReplicaSet
    	deployment  *appsv1.Deployment
    }
    
    // WaitForResources polls to get the current status of all pods, PVCs, and Services
    // until all are ready or a timeout is reached
    func WaitForResources(objects object.K8sObjects, client kube.Client,
    	waitTimeout time.Duration, dryRun bool, l *progress.ManifestLog,
    ) error {
    	if dryRun || TestMode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. operator/pkg/helmreconciler/apply.go

    		}
    	}
    	for _, k := range removeKeys {
    		scope.Infof("Pruning object %s from cache.", k)
    		delete(objectCache.Cache, k)
    	}
    
    	if len(changedObjectKeys) > 0 {
    		err := WaitForResources(result.processedObjects, h.kubeClient,
    			h.opts.WaitTimeout, h.opts.DryRun, plog)
    		if err != nil {
    			werr := fmt.Errorf("failed to wait for resource: %v", err)
    			plog.ReportError(werr.Error())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top