- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for Sethostname (0.25 sec)
-
pkg/kubelet/volume_host.go
} return plugin.NewUnmounter(spec.Name(), podUID) } func (kvh *kubeletVolumeHost) GetMounter(pluginName string) mount.Interface { return kvh.kubelet.mounter } func (kvh *kubeletVolumeHost) GetHostName() string { return kvh.kubelet.hostname } func (kvh *kubeletVolumeHost) GetHostIP() (net.IP, error) { hostIPs, err := kvh.kubelet.GetHostIPs() if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 10K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/proxy/servicechangetracker_test.go
utilfeature "k8s.io/apiserver/pkg/util/feature" featuregatetesting "k8s.io/component-base/featuregate/testing" "k8s.io/kubernetes/pkg/features" netutils "k8s.io/utils/net" ) const testHostname = "test-hostname" func makeTestServiceInfo(clusterIP string, port int, protocol string, healthcheckNodePort int, svcInfoFuncs ...func(*BaseServicePortInfo)) *BaseServicePortInfo { bsvcPortInfo := &BaseServicePortInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K 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/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)