Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for targetDirs (0.09 sec)

  1. cni/pkg/install/binaries.go

    				installLog.Errorf("failed file copy of %s to %s: %s", srcFilepath, targetDir, err.Error())
    				return copiedFilenames, err
    			}
    			installLog.Infof("Copied %s to %s", filename, targetDir)
    		}
    
    		copiedFilenames.Insert(filename)
    	}
    
    	return copiedFilenames, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. internal/event/rules.go

    // Match - returns TargetIDSet matching object name in rules.
    func (rules Rules) Match(objectName string) TargetIDSet {
    	targetIDs := NewTargetIDSet()
    
    	for pattern, targetIDSet := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			targetIDs = targetIDs.Union(targetIDSet)
    		}
    	}
    
    	return targetIDs
    }
    
    // Clone - returns copy of this rules.
    func (rules Rules) Clone() Rules {
    	rulesCopy := make(Rules)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. internal/event/targetidset.go

    		if _, ok := sset[k]; !ok {
    			nset.add(k)
    		}
    	}
    
    	return nset
    }
    
    // NewTargetIDSet - creates new TargetID set with given TargetIDs.
    func NewTargetIDSet(targetIDs ...TargetID) TargetIDSet {
    	set := make(TargetIDSet)
    	for _, targetID := range targetIDs {
    		set.add(targetID)
    	}
    	return set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetidset_test.go

    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNewTargetIDSet(t *testing.T) {
    	testCases := []struct {
    		targetIDs      []TargetID
    		expectedResult TargetIDSet
    	}{
    		{[]TargetID{}, NewTargetIDSet()},
    		{[]TargetID{{"1", "webhook"}}, NewTargetIDSet(TargetID{"1", "webhook"})},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. internal/config/lambda/event/targetidset.go

    		if _, ok := sset[k]; !ok {
    			nset.add(k)
    		}
    	}
    
    	return nset
    }
    
    // NewTargetIDSet - creates new TargetID set with given TargetIDs.
    func NewTargetIDSet(targetIDs ...TargetID) TargetIDSet {
    	set := make(TargetIDSet)
    	for _, targetID := range targetIDs {
    		set.add(targetID)
    	}
    	return set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. cni/pkg/install/binaries_test.go

    				file.WriteOrFail(t, filepath.Join(srcDir, filename), []byte(contents))
    			}
    
    			targetDir := t.TempDir()
    			for filename, contents := range c.existingFiles {
    				file.WriteOrFail(t, filepath.Join(targetDir, filename), []byte(contents))
    			}
    
    			binariesCopied, err := copyBinaries(srcDir, []string{targetDir})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for filename, expectedContents := range c.expectedFiles {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

            buf.append(File.separator);
            buf.append("classes");
            // target/classes
            final String userDir = System.getProperty("user.dir");
            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            buf.append(File.separator);
            buf.append("classes");
            // target/classes
            final String userDir = System.getProperty("user.dir");
            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/SuggestJob.java

            buf.append(File.separator);
            buf.append("classes");
            // target/classes
            final String userDir = System.getProperty("user.dir");
            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. internal/event/targetidset_test.go

    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNewTargetIDSet(t *testing.T) {
    	testCases := []struct {
    		targetIDs      []TargetID
    		expectedResult TargetIDSet
    	}{
    		{[]TargetID{}, NewTargetIDSet()},
    		{[]TargetID{{"1", "webhook"}}, NewTargetIDSet(TargetID{"1", "webhook"})},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top