Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,092 for EXISTS (0.19 sec)

  1. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    	// detach controller.
    	// If the node already exists this is a no-op.
    	AddNode(nodeName k8stypes.NodeName)
    
    	// AddPod adds the given pod to the list of pods that reference the
    	// specified volume and is scheduled to the specified node.
    	// A unique volumeName is generated from the volumeSpec and returned on
    	// success.
    	// If the pod already exists under the specified volume, this is a no-op.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/cluster/cluster.go

    		}
    		if len(eld.Labels) > 0 {
    			for key, val := range eld.Labels {
    				if evLabel, exists := pod.Labels[key]; exists {
    					if isExactMatchedOrPatternMatched(val, evLabel) {
    						return true
    					}
    				}
    			}
    		}
    		if len(eld.Annotations) > 0 {
    			for key, val := range eld.Annotations {
    				if evAnnotation, exists := pod.Annotations[key]; exists {
    					if isExactMatchedOrPatternMatched(val, evAnnotation) {
    						return true
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. pkg/volume/hostpath/host_path_test.go

    		t.Errorf("Expected %s but got %s", tempPath, deleter.GetPath())
    	}
    	if err := deleter.Delete(); err != nil {
    		t.Errorf("Mock Recycler expected to return nil but got %s", err)
    	}
    	if exists, _ := utilpath.Exists(utilpath.CheckFollowSymlink, tempPath); exists {
    		t.Errorf("Temp path expected to be deleted, but was found at %s", tempPath)
    	}
    }
    
    func TestDeleterTempDir(t *testing.T) {
    	tests := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            file("build/classes/java/main/example/module-info.class").exists()
            file("build/classes/java/main/example/io/example/Example.class").exists()
            file("build/classes/java/main/another/module-info.class").exists()
            file("build/classes/java/main/another/io/another/BaseExample.class").exists()
            !file("build/classes/java/main/ignored/module-info.class").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. pkg/volume/hostpath/host_path.go

    }
    
    type hostPathTypeChecker interface {
    	Exists() bool
    	IsFile() bool
    	MakeFile() error
    	IsDir() bool
    	MakeDir() error
    	IsBlock() bool
    	IsChar() bool
    	IsSocket() bool
    	GetPath() string
    }
    
    type fileTypeChecker struct {
    	path string
    	hu   hostutil.HostUtils
    }
    
    func (ftc *fileTypeChecker) Exists() bool {
    	exists, err := ftc.hu.PathExists(ftc.path)
    	return exists && err == nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            when:
            succeeds("compileJava")
    
            then:
            javaClassFile("compile/test/Person.class").exists()
            javaClassFile("compile/test/Person2.class").exists()
            !javaClassFile("Bar.class").exists()
        }
    
        def "can use annotation processor"() {
            given:
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/node_container_manager_linux.go

    		return nil
    	}
    	var rc ResourceConfig
    	if q, exists := rl[v1.ResourceMemory]; exists {
    		// Memory is defined in bytes.
    		val := q.Value()
    		rc.Memory = &val
    	}
    	if q, exists := rl[v1.ResourceCPU]; exists {
    		// CPU is defined in milli-cores.
    		val := MilliCPUToShares(q.MilliValue())
    		rc.CPUShares = &val
    	}
    	if q, exists := rl[pidlimit.PIDs]; exists {
    		val := q.Value()
    		rc.PidsLimit = &val
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/idempotency.go

    // TODO: We should invent a dynamic mechanism for this using the dynamic client instead of hard-coding these functions per-type
    
    // CreateOrUpdateConfigMap creates a ConfigMap if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
    func CreateOrUpdateConfigMap(client clientset.Interface, cm *v1.ConfigMap) error {
    	var lastError error
    	err := wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

          </trusted-keys>
       </configuration>
       <components/>
    </verification-metadata>
    """
            and:
            def exportedKeyRing = file("gradle/verification-keyring.gpg")
            exportedKeyRing.exists()
            def keyrings = SecuritySupport.loadKeyRingFile(exportedKeyRing)
            keyrings.size() == 2
            keyrings.find { it.publicKey.keyID == SigningFixtures.validPublicKey.keyID }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    }
    
    // ObjectAlreadyExists object already exists.
    type ObjectAlreadyExists GenericError
    
    func (e ObjectAlreadyExists) Error() string {
    	return "Object: " + e.Bucket + "/" + e.Object + " already exists"
    }
    
    // ObjectExistsAsDirectory object already exists as a directory.
    type ObjectExistsAsDirectory GenericError
    
    func (e ObjectExistsAsDirectory) Error() string {
    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top