Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for populator (0.26 sec)

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    /*
    Package populator implements interfaces that monitor and keep the states of the
    caches in sync with the "ground truth".
    */
    package populator
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sync"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    		t.Fatalf("Failed to record that the volumes for the specified pod: %s have been processed by the populator", podName)
    	}
    	pluginPVOmittingClient(dswp)
    
    	dswp.ReprocessPod(podName)
    	dswp.findAndAddNewPods()
    
    	if !dswp.podPreviouslyProcessed(podName) {
    		t.Fatalf("Failed to record that the volumes for the specified pod: %s have been processed by the populator", podName)
    	}
    	fakePodManager.RemovePod(pod)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager.go

    	// the world according to the volume manager: i.e. what volumes should be
    	// attached and which pods are referencing the volumes).
    	// The data structure is populated by the desired state of the world
    	// populator using the kubelet pod manager.
    	desiredStateOfWorld cache.DesiredStateOfWorld
    
    	// actualStateOfWorld is a data structure containing the actual state of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	// volumes
    	nodeStatusUpdater statusupdater.NodeStatusUpdater
    
    	// desiredStateOfWorldPopulator runs an asynchronous periodic loop to
    	// populate the current pods using podInformer.
    	desiredStateOfWorldPopulator populator.DesiredStateOfWorldPopulator
    
    	// broadcaster is broadcasting events
    	broadcaster record.EventBroadcaster
    
    	// pvcQueue is used to queue pvc objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    //
    // desiredStateOfWorld - cache containing the desired state of the world
    //
    // actualStateOfWorld - cache containing the actual state of the world
    //
    // populatorHasAddedPods - checker for whether the populator has finished
    // adding pods to the desiredStateOfWorld cache at least once after sources
    // are all ready (before sources are ready, pods are probably missing)
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		}
    		extraPodsNum++
    		podInformer.GetIndexer().Add(newPod)
    
    	}
    
    	// Populate DSW
    	err = adc.populateDesiredStateOfWorld(logger)
    	if err != nil {
    		t.Fatalf("Run failed with error. Expected: <no error> Actual: %v", err)
    	}
    
    	for _, newPod := range extraPods2 {
    		// Add a new pod between DSW ppoulator and reconciler run
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	dependGlobalLockServer          bool
    	dependGlobalIsDistErasure       bool
    	dependGlobalBackgroundHealState bool
    	dependBucketTargetSys           bool
    }
    
    // RegisterRead register the metrics populator function to be used
    // to populate new values upon cache invalidation.
    func (g *MetricsGroupV2) RegisterRead(read func(context.Context) []MetricV2) {
    	g.metricsCache = cachevalue.NewFromFunc(g.cacheInterval,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      final Set<Throwable> getOrInitSeenExceptions() {
        /*
         * The initialization of seenExceptions has to be more complicated than we'd like. The simple
         * approach would be for each caller CAS it from null to a Set populated with its exception. But
         * there's another race: If the first thread fails with an exception and a second thread
         * immediately fails with the same exception:
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      final Set<Throwable> getOrInitSeenExceptions() {
        /*
         * The initialization of seenExceptions has to be more complicated than we'd like. The simple
         * approach would be for each caller CAS it from null to a Set populated with its exception. But
         * there's another race: If the first thread fails with an exception and a second thread
         * immediately fails with the same exception:
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. internal/bpool/bpool.go

    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top