Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for binPaths (0.08 sec)

  1. cni/pkg/install/install.go

    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    	for _, bindir := range in.cfg.CNIBinTargetDirs {
    		for _, binary := range installedBinFiles.UnsortedList() {
    			binPaths = append(binPaths, filepath.Join(bindir, binary))
    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		in.cfg.K8sServiceAccountPath,
    	)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    }
    
    var binaryChecksum = getBinaryChecksum()
    
    func getBinaryChecksum() string {
    	mw := md5.New()
    	binPath, err := os.Executable()
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    	b, err := os.Open(binPath)
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top