- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for sethostname (0.31 sec)
-
pkg/kubelet/kubelet_getters_test.go
exp = filepath.Join(root, "pods/abc123/containers/def456") assert.Equal(t, exp, got) got = kubelet.getPodResourcesDir() exp = filepath.Join(root, "pod-resources") assert.Equal(t, exp, got) got = kubelet.GetHostname() exp = "127.0.0.1" assert.Equal(t, exp, got) got = kubelet.getPodVolumeSubpathsDir("abc123") exp = filepath.Join(root, "pods/abc123/volume-subpaths") assert.Equal(t, exp, got) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/volume_host.go
} func (ctrl *PersistentVolumeController) GetMounter(pluginName string) mount.Interface { return nil } func (ctrl *PersistentVolumeController) GetHostName() string { return "" } func (ctrl *PersistentVolumeController) GetHostIP() (net.IP, error) { return nil, fmt.Errorf("PersistentVolumeController.GetHostIP() is not implemented") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 4.5K bytes - Viewed (0) -
src/net/dnsconfig_unix.go
if len(conf.servers) == 0 { conf.servers = defaultNS } if len(conf.search) == 0 { conf.search = dnsDefaultSearch() } return conf } func dnsDefaultSearch() []string { hn, err := getHostname() if err != nil { // best effort return nil } if i := bytealg.IndexByteString(hn, '.'); i >= 0 && i < len(hn)-1 { return []string{ensureRooted(hn[i+1:])} } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:14:43 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (UnknownHostException ex) { } DEFAULT_WORKSTATION = defaultWorkstation; } /** * Creates a Type-1 message using default values from the current * environment. */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* @param tc * context to use */ public Type1Message ( CIFSContext tc ) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flags
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags.go
// It also returns the hostname or an error if getting the hostname failed. func GetNodeNameAndHostname(cfg *kubeadmapi.NodeRegistrationOptions) (string, string, error) { hostname, err := nodeutil.GetHostname("") nodeName := hostname if cfg.Name != "" { nodeName = cfg.Name } if name, idx := kubeadmapi.GetArgValue(cfg.KubeletExtraArgs, "hostname-override", -1); idx > -1 { nodeName = name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeWithUnmanagedPropertiesIntegrationTest.groovy
@Mutate void setOs(Platform platform) { platform.operatingSystem = new OperatingSystem() } @Mutate void setOsName(@Path("platform.operatingSystem") OperatingSystem os) { os.name = "foo" } @Mutate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy
abstract class Person { abstract String getFirstName() abstract void setFirstName(String firstName) abstract String getLastName() abstract void setLastName(String lastName) String getName() { "$firstName $lastName" } } class RulePlugin extends RuleSource { @Model
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
okhttp-tls/README.md
.build(); // Create a server certificate and a server that uses it. HeldCertificate serverCertificate = new HeldCertificate.Builder() .commonName("ingen") .addSubjectAlternativeName(server.getHostName()) .signedBy(rootCertificate) .build(); HandshakeCertificates serverCertificates = new HandshakeCertificates.Builder() .addTrustedCertificate(rootCertificate.certificate())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 9.1K bytes - Viewed (0)