Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Sethostname (0.51 sec)

  1. src/syscall/syscall_linux.go

    //sys	read(fd int, p []byte) (n int, err error)
    //sys	Removexattr(path string, attr string) (err error)
    //sys	Setdomainname(p []byte) (err error)
    //sys	Sethostname(p []byte) (err error)
    //sysnb	Setpgid(pid int, pgid int) (err error)
    //sysnb	Setsid() (pid int, err error)
    //sysnb	Settimeofday(tv *Timeval) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/wasmplugin_test.go

    			t.Fatalf("failed to install WasmPlugin: %v", err)
    		}
    		if c.testHostname != "" {
    			sendTrafficToHostname(t, check.ResponseHeader(injectedHeader, c.expectedVersion), c.testHostname)
    		} else {
    			sendTraffic(t, check.ResponseHeader(injectedHeader, c.expectedVersion))
    		}
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager_test.go

    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/pkg/volume/util"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    const (
    	testHostname = "test-hostname"
    )
    
    func TestGetMountedVolumesForPodAndGetVolumesInUse(t *testing.T) {
    	tests := []struct {
    		name            string
    		pvMode, podMode v1.PersistentVolumeMode
    		expectMount     bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

        }
    
        @Provides
        protected HostnameLookup createHostnameLookup() {
            if (useNativeIntegrations) {
                try {
                    String hostname = Native.get(SystemInfo.class).getHostname();
                    return new FixedHostname(hostname);
                } catch (NativeIntegrationUnavailableException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. 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)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

            }
        }
    
        static final class NotEC2Agent implements TestPrecondition {
            @Override
            boolean isSatisfied() throws UnknownHostException {
                return !InetAddress.getLocalHost().getHostName().startsWith("ip-")
            }
        }
    
        static final class StableGroovy implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                !GroovySystem.version.endsWith("-SNAPSHOT")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

                args: args.collect { it.toString() },
                gradleOpts: resolveGradleOpts(),
                daemon: useDaemon,
                jvm: Jvm.current().toString(),
                host: InetAddress.getLocalHost().getHostName(),
                operatingSystem: OperatingSystem.current().toString(),
                versionUnderTest: GradleVersion.current().getVersion(),
                vcsBranch: Git.current().branchName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/networkfilter_test.go

    				}
    			} else {
    				if tcpProxy.TunnelingConfig.GetHostname() != tt.expectedTunnelingConfig.hostname {
    					t.Fatalf("Expected to get tunneling_config.hostname: %s, but got: %s",
    						tt.expectedTunnelingConfig.hostname, tcpProxy.TunnelingConfig.GetHostname())
    				}
    				if tcpProxy.TunnelingConfig.GetUsePost() != tt.expectedTunnelingConfig.usePost {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"object.spec.string.findAll('[0-9]+').size() > 0",           // kubernetes string lib
    				"object.spec.list.isSorted()",                               // kubernetes list lib
    				"url(object.spec.endpoint).getHostname() in ['ok1', 'ok2']", // kubernetes url lib
    			},
    		},
    		{
    			name: "valid request",
    			expressions: []string{
    				"request.kind.group == 'example.com' && request.kind.version == 'v1' && request.kind.kind == 'Fake'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. 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)
Back to top