Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for sethostname (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/kubelet/app/server.go

    				klog.V(2).InfoS("Successfully initialized cloud provider", "cloudProvider", s.CloudProvider, "cloudConfigFile", s.CloudConfigFile)
    			}
    			kubeDeps.Cloud = cloud
    		}
    	}
    
    	hostName, err := nodeutil.GetHostname(s.HostnameOverride)
    	if err != nil {
    		return err
    	}
    	nodeName, err := getNodeName(kubeDeps.Cloud, hostName)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            withBuildCache().run "jar"
    
            then:
            skipped(":compileJava")
        }
    
        def "throws exception when using plain HTTP"() {
            when:
            httpBuildCacheServer.useHostname()
            settingsFile.text = useHttpBuildCache(httpBuildCacheServer.uri)
    
            then:
            withBuildCache().fails("jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			expectRemainingBudget:    pointer.Int64(0),
    		},
    		{
    			name: "Extended library cost: url",
    			validations: []ExpressionAccessor{
    				&condition{
    					Expression: "url('https:://kubernetes.io/').getHostname() == 'kubernetes.io'",
    				},
    			},
    			attributes:               newValidAttribute(nil, false),
    			hasParamKind:             false,
    			exceedBudget:             false,
    			testRuntimeCELCostBudget: 2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  9. pkg/controller/volume/expand/expand_controller.go

    	return nil
    }
    
    func (expc *expandController) GetExec(pluginName string) utilexec.Interface {
    	return utilexec.New()
    }
    
    func (expc *expandController) GetHostName() string {
    	return ""
    }
    
    func (expc *expandController) GetHostIP() (net.IP, error) {
    	return nil, fmt.Errorf("GetHostIP not supported by expand controller's VolumeHost implementation")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. cmd/handler-utils.go

    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    		hostName = r.Host
    	}
    	return
    }
    
    // Proxy any request to an endpoint.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top