Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 146 for gethostname (0.25 sec)

  1. cmd/kubelet/app/server.go

    				klog.V(2).InfoS("Successfully initialized cloud provider", "cloudProvider", s.CloudProvider, "cloudConfigFile", s.CloudConfigFile)
    			}
    			kubeDeps.Cloud = cloud
    		}
    	}
    
    	hostName, err := nodeutil.GetHostname(s.HostnameOverride)
    	if err != nil {
    		return err
    	}
    	nodeName, err := getNodeName(kubeDeps.Cloud, hostName)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

                    HttpHost targetHost = (HttpHost) context.getAttribute(HttpCoreContext.HTTP_TARGET_HOST);
                    Credentials credentials = credentialsProvider.getCredentials(new AuthScope(targetHost.getHostName(), targetHost.getPort()));
                    if (credentials != null) {
                        authState.update(authScheme, credentials);
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			expectRemainingBudget:    pointer.Int64(0),
    		},
    		{
    			name: "Extended library cost: url",
    			validations: []ExpressionAccessor{
    				&condition{
    					Expression: "url('https:://kubernetes.io/').getHostname() == 'kubernetes.io'",
    				},
    			},
    			attributes:               newValidAttribute(nil, false),
    			hasParamKind:             false,
    			exceedBudget:             false,
    			testRuntimeCELCostBudget: 2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                String hostname = fessConfig.getMailHostname();
                if (StringUtil.isBlank(hostname)) {
                    hostname = ComponentUtil.getSystemHelper().getHostname();
                }
                dataMap.put("hostname", hostname);
    
                logger.debug("\ninfoMap: {}\ndataMap: {}", infoMap, dataMap);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/expand/expand_controller.go

    	return nil
    }
    
    func (expc *expandController) GetExec(pluginName string) utilexec.Interface {
    	return utilexec.New()
    }
    
    func (expc *expandController) GetHostName() string {
    	return ""
    }
    
    func (expc *expandController) GetHostIP() (net.IP, error) {
    	return nil, fmt.Errorf("GetHostIP not supported by expand controller's VolumeHost implementation")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    		hostName = r.Host
    	}
    	return
    }
    
    // Proxy any request to an endpoint.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/initconfiguration.go

    func SetNodeRegistrationDynamicDefaults(cfg *kubeadmapi.NodeRegistrationOptions, controlPlaneTaint, skipCRIDetect bool) error {
    	var err error
    	cfg.Name, err = nodeutil.GetHostname(cfg.Name)
    	if err != nil {
    		return err
    	}
    
    	// Only if the slice is nil, we should append the control-plane taint. This allows the user to specify an empty slice for no default control-plane taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. pkg/volume/testing/volume_host.go

    	if err != nil {
    		return nil, err
    	}
    	return plug.NewUnmounter(spec.Name(), podUID)
    }
    
    // Returns the hostname of the host kubelet is running on
    func (f *fakeVolumeHost) GetHostName() string {
    	return "fakeHostName"
    }
    
    // Returns host IP or nil in the case of error.
    func (f *fakeVolumeHost) GetHostIP() (net.IP, error) {
    	return nil, fmt.Errorf("GetHostIP() not implemented")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.pb.go

    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    func (x *Service) GetNamespace() string {
    	if x != nil {
    		return x.Namespace
    	}
    	return ""
    }
    
    func (x *Service) GetHostname() string {
    	if x != nil {
    		return x.Hostname
    	}
    	return ""
    }
    
    func (x *Service) GetAddresses() []*NetworkAddress {
    	if x != nil {
    		return x.Addresses
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. src/net/conf.go

    				// if we are looking up the local hostname.
    				if isLocalhost(hostname) || isGateway(hostname) || isOutbound(hostname) {
    					return hostLookupCgo, dnsConf
    				}
    				hn, err := getHostname()
    				if err != nil || stringsEqualFold(hostname, hn) {
    					return hostLookupCgo, dnsConf
    				}
    				continue
    			case hostname != "" && stringslite.HasPrefix(src.source, "mdns"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top