Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lookupHost (0.07 sec)

  1. cmd/server-main.go

    		if host != "" {
    			if net.ParseIP(host) != nil {
    				ip = host
    			} else {
    				ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
    				defer cancel()
    
    				haddrs, err := globalDNSCache.LookupHost(ctx, host)
    				if err == nil {
    					ip = haddrs[0]
    				}
    			}
    		}
    		ifs, _ := net.Interfaces()
    		for _, interf := range ifs {
    			addrs, err := interf.Addrs()
    			if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  2. cmd/common-main.go

    		domainIPs := set.NewStringSet()
    		for _, endpoint := range minioEndpoints {
    			if net.ParseIP(endpoint) == nil {
    				// Checking if the IP is a DNS entry.
    				addrs, err := globalDNSCache.LookupHost(GlobalContext, endpoint)
    				if err != nil {
    					logger.FatalIf(err, "Unable to initialize MinIO server with [%s] invalid entry found in MINIO_PUBLIC_IPS", endpoint)
    				}
    				for _, addr := range addrs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java

                    return Optional.empty();
                }
                throw new LookupException(e);
            }
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            try {
                return container.lookupList(type);
            } catch (ComponentLookupException e) {
                throw new LookupException(e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return lookupOptional(type);
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    
        public static Builder builder() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
            return Optional.empty();
        }
    
        @Override
        public <T> List<T> lookupList(Class<T> type) {
            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return container.lookup(role, roleHint);
        }
    
        @Deprecated
        public List<Object> lookupList(String role) throws ComponentLookupException {
            return container.lookupList(role);
        }
    
        @Deprecated
        public Map<String, Object> lookupMap(String role) throws ComponentLookupException {
            return container.lookupMap(role);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                @Override
                public <T> Optional<T> lookupOptional(Class<T> type, String name) {
                    return Optional.empty();
                }
    
                @Override
                public <T> List<T> lookupList(Class<T> type) {
                    return List.of();
                }
    
                @Override
                public <T> Map<String, T> lookupMap(Class<T> type) {
                    return Map.of();
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        }
    
        private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
            Collection<T> foundComponents = new LinkedHashSet<>();
            foundComponents.addAll(lookup.lookupList(role));
            foundComponents.addAll(getProjectScopedExtensionComponents(projects, role));
            return foundComponents;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        } catch (DIException e) {
                            return Optional.empty();
                        }
                    }
    
                    @Override
                    public <T> List<T> lookupList(Class<T> type) {
                        return injector.getInstance(new Key<List<T>>() {});
                    }
    
                    @Override
                    public <T> Map<String, T> lookupMap(Class<T> type) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top