Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 158 for sethostname (0.42 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

                defaultTasks 'doStuff'
    """
    
            then:
            succeeds()
        }
    
        def "emits useful warning when applying script via http"() {
            when:
            server.useHostname()
            def script = file('external.gradle')
            server.beforeHandle {
                fail("No requests were expected.")
            }
    
            script << """
                task doStuff
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top