- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 156 for gethostname (0.25 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if ( this.state == 5 || this.state == 6 ) { // don't reuse disconnecting/disconnected transports return false; } if ( hostName == null ) hostName = addr.getHostName(); return ( this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName) ) && addr.equals(this.address) && ( prt == 0 || prt == this.port ||
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return langItems; } } public void addShutdownHook(final Runnable hook) { shutdownHookList.add(hook); } public String getHostname() { final Map<String, String> env = getEnvMap(); if (env.containsKey("COMPUTERNAME")) { return env.get("COMPUTERNAME"); } if (env.containsKey("HOSTNAME")) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun May 26 05:52:29 UTC 2024 - 26.5K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java
testResultsProvider, xmlResultOptions, getBuildOperationRunner(), getBuildOperationExecutor(), getHostnameLookup().getHostname()); binary2JUnitXmlReportGenerator.generate(); } DirectoryReport html = reports.getHtml(); if (!html.getRequired().get()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:01 UTC 2024 - 27.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
"url('https://[::1]/').getHost() == '[::1]'", "url('/path').getHost() == ''", "url('https://example.com:80/').getHostname() == 'example.com'", "url('https://127.0.0.1/').getHostname() == '127.0.0.1'", "url('https://[::1]/').getHostname() == '::1'", "url('/path').getHostname() == ''", "url('https://example.com:80/').getPort() == '80'", "url('https://example.com/').getPort() == ''",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)