Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ListAll (0.27 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy

        def client = new ReportDaemonStatusClient(registry, connector, idGenerator, documentationRegistry)
    
        def "does nothing given no daemons in registry"() {
            when:
            client.listAll()
    
            then:
            1 * registry.getAll() >> []
            1 * registry.getStopEvents() >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/ReportDaemonStatusAction.java

        public ReportDaemonStatusAction(ReportDaemonStatusClient statusClient) {
            this.statusClient = statusClient;
        }
    
        @Override
        public void run() {
            statusClient.listAll();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/ReportDaemonStatusActionTest.groovy

        final ReportDaemonStatusAction action = new ReportDaemonStatusAction(client)
    
        def executesStopCommand() {
            when:
            action.run()
    
            then:
            1 * client.listAll()
            0 * _._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/lister.go

    		}}
    	}
    	result = obj.(T)
    	return result, nil
    }
    
    type lister[T runtime.Object] struct {
    	indexer cache.Indexer
    }
    
    func (w lister[T]) List(selector labels.Selector) (ret []T, err error) {
    	err = cache.ListAll(w.indexer, selector, func(m interface{}) {
    		ret = append(ret, m.(T))
    	})
    	return ret, err
    }
    
    func (w lister[T]) Get(name string) (T, error) {
    	var result T
    
    	obj, exists, err := w.indexer.GetByKey(name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

            this.idGenerator = idGenerator;
            this.reportStatusDispatcher = new ReportStatusDispatcher();
            this.documentationRegistry = documentationRegistry;
        }
    
        public void listAll() {
            final List<DaemonInfo> daemons = daemonRegistry.getAll();
            final List<Status> statuses = new ArrayList<>();
            for (DaemonInfo daemon : daemons) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. docs/contribute/code_of_conduct.md

       disengages from the project, they should make it known and take the proper steps to ensure that
       others can pick up where they left off.
    
    This code is not exhaustive or complete. It serves to distill our common understanding of a
    collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in
    the letter.
    
    Diversity Statement
    -------------------
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top