Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for sethostname (0.26 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

        }
    
        def "can publish maven publication metadata to non-authenticating remote repository"() {
            with(server) {
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new MavenHttpRepository(server, mavenRepo)
    
            def repositoryName = "testrepo"
            settingsFile "rootProject.name = 'root'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/portworx/portworx.go

    }
    
    func (plugin *portworxVolumePlugin) Init(host volume.VolumeHost) error {
    	client, err := volumeclient.NewDriverClient(
    		fmt.Sprintf("http://%s", net.JoinHostPort(host.GetHostName(), strconv.Itoa(osdMgmtDefaultPort))),
    		pxdDriverName, osdDriverVersion, pxDriverName)
    	if err != nil {
    		return err
    	}
    
    	plugin.host = host
    	plugin.util = &portworxVolumeUtil{
    		portworxClient: client,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_solaris.go

    	r0, e1 := wait4(uintptr(pid), wstatus, uintptr(options), rusage)
    	if e1 != 0 {
    		err = Errno(e1)
    	}
    	return int(r0), err
    }
    
    func gethostname() (name string, err uintptr)
    
    func Gethostname() (name string, err error) {
    	name, e1 := gethostname()
    	if e1 != 0 {
    		err = Errno(e1)
    	}
    	return name, err
    }
    
    func UtimesNano(path string, ts []Timespec) error {
    	if len(ts) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

        }
    
        def "uri backed text resource over http"() {
            when:
            def uuid = UUID.randomUUID()
            def resourceFile = file("web-file.txt")
            server.useHostname() // use localhost vs ip
            server.forbidGet("/myConfig-${uuid}.txt", resourceFile)
            server.start()
    
            buildFile << """
                task uriText(type: MyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener.go

    				// User is also not allowed to add duplicate ports in the egress listener
    				var newHostname host.Name
    				if opts.service != nil {
    					newHostname = opts.service.Hostname
    				} else {
    					// user defined outbound listener via sidecar API
    					newHostname = "sidecar-config-egress-tcp-listener"
    				}
    
    				outboundListenerConflict{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServerFixture.groovy

        }
    
        void setLogRequests(boolean logRequests) {
            this.logRequests = logRequests
        }
    
        /**
         * Use the hostname for the server's URL instead of the IP.
         */
        void useHostname() {
            this.useHostnameForUrl = true
        }
    
        AuthScheme getAuthenticationScheme() {
            return securityHandlerWrapper.authenticationScheme
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_getters.go

    	if result, podUID := pcm.IsPodCgroup(cgroupfs); result {
    		return kl.podManager.GetPodByUID(podUID)
    	}
    	return nil, false
    }
    
    // GetHostname Returns the hostname as the kubelet sees it.
    func (kl *Kubelet) GetHostname() string {
    	return kl.hostname
    }
    
    // getRuntime returns the current Runtime implementation in use by the kubelet.
    func (kl *Kubelet) getRuntime() kubecontainer.Runtime {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

            with (server) {
                requireAuthentication(username, password)
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new IvyHttpRepository(server, ivyRepo)
    
            settingsFile "rootProject.name = 'root'"
    
            def credentialsBlock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top