Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,092 for EXISTS (0.2 sec)

  1. pilot/pkg/model/service_test.go

    	ports := PortList{{
    		Name: "http",
    		Port: 80,
    	}}
    
    	if port, exists := ports.GetByPort(80); !exists || port == nil || port.Name != "http" {
    		t.Errorf("GetByPort(80) => want http but got %v, %t", port, exists)
    	}
    	if port, exists := ports.GetByPort(88); exists || port != nil {
    		t.Errorf("GetByPort(88) => want none but got %v, %t", port, exists)
    	}
    }
    
    func BenchmarkParseSubsetKey(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    		}
    	}
    
    	if len(in.kubeconfigFilepath) > 0 && file.Exists(in.kubeconfigFilepath) {
    		installLog.Infof("Removing Istio CNI kubeconfig file: %s", in.kubeconfigFilepath)
    		if err := os.Remove(in.kubeconfigFilepath); err != nil {
    			return err
    		}
    	}
    
    	for _, targetDir := range in.cfg.CNIBinTargetDirs {
    		if istioCNIBin := filepath.Join(targetDir, "istio-cni"); file.Exists(istioCNIBin) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            noneSkipped()
            remoteProjectDir.file("build/classes/java/main/Hello.class").exists()
    
            // Remove the project completely
            remoteProjectDir.deleteDir()
    
            when:
            withBuildCache().run "compileJava"
            then:
            skipped ":compileJava"
            javaClassFile("Hello.class").exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. pkg/controller/daemon/util/daemonset_util_test.go

    		val, exists := newPodTemplate.ObjectMeta.Labels[extensions.DaemonSetTemplateGenerationKey]
    		if !exists || val != fmt.Sprint(*test.templateGeneration) {
    			t.Errorf("Expected podTemplateSpec to have generation label value: %d, got: %s", *test.templateGeneration, val)
    		}
    		val, exists = newPodTemplate.ObjectMeta.Labels[extensions.DefaultDaemonSetUniqueLabelKey]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pkg/kubelet/util/manager/watch_based_manager.go

    	// It's responsibility of the first Get operation to wait until the
    	// reflector propagated the store.
    	c.lock.Lock()
    	defer c.lock.Unlock()
    	item, exists := c.items[key]
    	if !exists {
    		item = c.newReflectorLocked(namespace, name)
    		c.items[key] = item
    	}
    	item.refMap[referencedFrom]++
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java

            this.sourceUri = sourceUri;
            this.resolver = resolver;
        }
    
        public static UriTextResource from(String description, File sourceFile, RelativeFilePathResolver resolver) {
            return sourceFile.exists() ?
                new UriTextResource(description, sourceFile, resolver) :
                new EmptyFileTextResource(description, sourceFile, resolver);
        }
    
        @Override
        public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    // argument returns if a heal sequence actually exists.
    func (ahs *allHealState) getHealSequence(path string) (h *healSequence, exists bool) {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	h, exists = ahs.healSeqMap[path]
    	return h, exists
    }
    
    func (ahs *allHealState) stopHealSequence(path string) ([]byte, APIError) {
    	var hsp madmin.HealStopSuccess
    	he, exists := ahs.getHealSequence(path)
    	if !exists {
    		hsp = madmin.HealStopSuccess{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  8. tests/integration/pilot/testdata/upgrade/1.11.0-beta.1-cni-install.yaml.tar

    prometheus.io/path: '/metrics' # Custom annotations spec: nodeSelector: kubernetes.io/os: linux tolerations: # Make sure istio-cni-node gets scheduled on all nodes. - effect: NoSchedule operator: Exists # Mark the pod as a critical add-on for rescheduling. - key: CriticalAddonsOnly operator: Exists - effect: NoExecute operator: Exists priorityClassName: system-node-critical serviceAccountName: istio-cni # Minimize downtime during a rolling upgrade or deletion; tell Kubernetes to do a "force # deletion": https:/...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 29 18:43:32 UTC 2021
    - 10K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/caclient/providers/citadel/client_test.go

    	}
    
    	authHeader, exists := md[authorizationMeta]
    	if !exists {
    		return "", fmt.Errorf("no HTTP authorization header exists")
    	}
    
    	for _, value := range authHeader {
    		if strings.HasPrefix(value, bearerTokenPrefix) {
    			return strings.TrimPrefix(value, bearerTokenPrefix), nil
    		}
    	}
    
    	return "", fmt.Errorf("no bearer token exists in HTTP authorization header")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 21:03:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingIntegrationTest.groovy

                        System.out.println("Hello world!");
                    }
                }
            '''
    
            expect:
            succeeds "compileJava"
            !file('build/classes/java/main/TestAppHelper.class').exists()
        }
    
        def "empty custom processor configuration overrides processors in the compile classpath, and no deprecation warning is emitted"() {
            buildFile << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top