- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for sethostname (0.21 sec)
-
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) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java
*/ @Internal public String getTestName() { return testName; } public void setTestName(String testName) { this.testName = testName; } /** * The suiteXmlFiles to use for running TestNG. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 15.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) -
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) -
pkg/controller/volume/attachdetach/attach_detach_controller.go
} func (adc *attachDetachController) GetMounter(pluginName string) mount.Interface { return nil } func (adc *attachDetachController) GetHostName() string { return "" } func (adc *attachDetachController) GetHostIP() (net.IP, error) { return nil, fmt.Errorf("GetHostIP() not supported by Attach/Detach controller's VolumeHost implementation") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
func TestURLsCost(t *testing.T) { cases := []struct { ops []string expectEsimatedCost checker.CostEstimate expectRuntimeCost uint64 }{ { ops: []string{".getScheme()", ".getHostname()", ".getHost()", ".getPort()", ".getEscapedPath()", ".getQuery()"}, expectEsimatedCost: checker.CostEstimate{Min: 4, Max: 4}, expectRuntimeCost: 4, }, } for _, tc := range cases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
cmd/utils.go
object := likelyUnescapeGeneric(vars["object"], url.PathUnescape) reqInfo := &logger.ReqInfo{ DeploymentID: globalDeploymentID(), RequestID: reqID, RemoteHost: handlers.GetSourceIP(r), Host: getHostName(r), UserAgent: r.UserAgent(), API: api, BucketName: bucket, ObjectName: object, VersionID: strings.TrimSpace(r.Form.Get(xhttp.VersionID)), }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 22:00:34 UTC 2024 - 31.9K bytes - Viewed (0)