Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CniPath (0.1 sec)

  1. tools/bug-report/pkg/archive/archive.go

    	return filepath.Join(getRootDir(rootDir), analyzeSubdir, namespace)
    }
    
    func ClusterInfoPath(rootDir string) string {
    	return filepath.Join(getRootDir(rootDir), clusterInfoSubdir)
    }
    
    func CniPath(rootDir, pod string) string {
    	return filepath.Join(getRootDir(rootDir), cniLogsPathSubdir, pod)
    }
    
    // Create creates a gzipped tar file from srcDir and writes it to outPath.
    func Create(srcDir, outPath string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/bugreport/bugreport.go

    			wg.Done()
    			logRuntime(startTime, "Done getting CNI logs for %v", pod)
    		}()
    
    		clog, _, _, err := getLog(runner, resources, config, namespace, pod, "")
    		appendGlobalErr(err)
    		writeFile(filepath.Join(archive.CniPath(tempDir, pod), "cni.log"), clog, config.DryRun)
    		log.Infof("Done with CNI logs %v", pod)
    	}()
    }
    
    // getLog fetches the logs for the given namespace/pod/container and returns the log text and stats for it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top