Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createCounts (0.66 sec)

  1. pkg/kubelet/pod/testing/fake_mirror_client.go

    	// itself. This fake manager does this to track calls.
    	mirrorPods   sets.Set[string]
    	createCounts map[string]int
    	deleteCounts map[string]int
    }
    
    func NewFakeMirrorClient() *FakeMirrorClient {
    	m := FakeMirrorClient{}
    	m.mirrorPods = sets.New[string]()
    	m.createCounts = make(map[string]int)
    	m.deleteCounts = make(map[string]int)
    	return &m
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/LazilyInitializedFileCollectionTest.groovy

            @Override
            FileCollectionInternal createDelegate() {
                createCount++
                TestFiles.fixed(new File("foo"))
            }
        }
    
        def "creates delegate on first access"() {
            expect:
            createCount == 0
    
            when:
            def files = fileCollection.files
    
            then:
            createCount == 1
            files == [new File("foo")] as Set
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller.go

    	errCh := make(chan error, createDiff+deleteDiff)
    
    	logger.V(4).Info("Nodes needing daemon pods for daemon set, creating", "daemonset", klog.KObj(ds), "needCount", nodesNeedingDaemonPods, "createCount", createDiff)
    	createWait := sync.WaitGroup{}
    	// If the returned error is not nil we have a parse error.
    	// The controller handles this via the hash.
    	generation, err := util.GetTemplateGeneration(ds)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top