- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for copyBinaries (0.07 sec)
-
cni/pkg/install/binaries.go
"istio.io/istio/pkg/file" "istio.io/istio/pkg/util/sets" ) // Copies/mirrors any files present in a single source dir to N number of target dirs // and returns a set of the filenames copied. func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) { copiedFilenames := sets.String{} srcFiles, err := os.ReadDir(srcDir) if err != nil { return copiedFilenames, err } for _, f := range srcFiles {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 1.5K bytes - Viewed (0) -
cni/pkg/install/install.go
// Install binaries // Currently we _always_ do this, since the binaries do not live in a shared location // and we harm no one by doing so. copiedFiles, err := copyBinaries(in.cfg.CNIBinSourceDir, in.cfg.CNIBinTargetDirs) if err != nil { cniInstalls.With(resultLabel.Value(resultCopyBinariesFailure)).Increment() return copiedFiles, fmt.Errorf("copy binaries: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0)