Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for findpaths (0.27 sec)

  1. pkg/test/envoy/binary.go

    }
    
    func findBinaries() ([]string, error) {
    	binPaths := make([]string, 0)
    	err := filepath.Walk(env.LocalOut, func(path string, f os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    		if !f.IsDir() && envoyFileNamePattern.MatchString(f.Name()) {
    			binPaths = append(binPaths, path)
    		}
    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    	return binPaths, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 18 22:00:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pkg/test/util/tmpl/evaluate.go

    		content, err := Evaluate(t, data)
    		if err != nil {
    			return nil, err
    		}
    		out = append(out, content)
    	}
    	return out, nil
    }
    
    func EvaluateAllFiles(data any, filePaths ...string) ([]string, error) {
    	templates, err := file.AsStringArray(filePaths...)
    	if err != nil {
    		return nil, err
    	}
    	return EvaluateAll(data, templates...)
    }
    
    func MustEvaluateAll(data any, templates ...string) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkInstall.java

        }
    
        private class LegacyPlatformWindowsSdk implements WindowsSdk {
            private final String[] binPaths;
            private final String[] libPaths;
    
            LegacyPlatformWindowsSdk(String[] binPaths, String[] libPaths) {
                this.binPaths = binPaths;
                this.libPaths = libPaths;
            }
    
            @Override
            public VersionNumber getImplementationVersion() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/gccgoinstallation.go

    	paths = append(paths, inst.LibPaths...)
    
    	return
    }
    
    // Return an importer that searches incpaths followed by the gcc installation's
    // built-in search paths and the current directory.
    func (inst *GccgoInstallation) GetImporter(incpaths []string, initmap map[*types.Package]InitData) Importer {
    	return GetImporter(append(append(incpaths, inst.SearchPaths()...), "."), initmap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. pkg/test/framework/config.go

    	return c.New().Eval(ns, args, yamlTemplates...)
    }
    
    func (c *configFactory) File(ns string, filePaths ...string) config.Plan {
    	return c.New().File(ns, filePaths...)
    }
    
    func (c *configFactory) EvalFile(ns string, args any, filePaths ...string) config.Plan {
    	return c.New().EvalFile(ns, args, filePaths...)
    }
    
    func (c *configFactory) applyYAML(cleanupStrategy cleanup.Strategy, ns string, yamlText ...string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    			convertScale = true
    		}
    		if utilfeature.DefaultFeatureGate.Enabled(apiextensionsfeatures.CustomResourceFieldSelectors) {
    			fieldPaths := sets.New[string]()
    			for _, sf := range version.SelectableFields {
    				fieldPaths.Insert(strings.TrimPrefix(sf.JSONPath, "."))
    			}
    			selectableFields[gv] = fieldPaths
    		}
    	}
    
    	unsafe = &crConverter{
    		convertScale:     convertScale,
    		validVersions:    validVersions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/mvs/graph.go

    				queue = append(queue, r)
    				enqueued[r] = true
    			}
    		}
    	}
    }
    
    // FindPath reports a shortest requirement path starting at one of the roots of
    // the graph and ending at a module version m for which f(m) returns true, or
    // nil if no such path exists.
    func (g *Graph) FindPath(f func(module.Version) bool) []module.Version {
    	// firstRequires[a] = b means that in a breadth-first traversal of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/helpers.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package config
    
    // KubeletConfigurationPathRefs returns pointers to all of the KubeletConfiguration fields that contain filepaths.
    // You might use this, for example, to resolve all relative paths against some common root before
    // passing the configuration to the application. This method must be kept up to date as new fields are added.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/grpcready/probe.go

    		}
    		p.setBootstrap(bootstrap)
    	}
    	if bootstrap := p.getBootstrap(); bootstrap != nil {
    		if fwp := bootstrap.FileWatcherProvider(); fwp != nil {
    			for _, path := range fwp.FilePaths() {
    				if !file.Exists(path) {
    					return fmt.Errorf("%s does not exist", path)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    func (p *probe) getBootstrap() *grpcxds.Bootstrap {
    	p.RLock()
    	defer p.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 28 16:58:31 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go

    		t.Fatal(dump.Pretty(test.Infos))
    	}
    }
    
    func TestExpandPathsToFileVisitors(t *testing.T) {
    	// Define a directory structure that will be used for testing and create empty files
    	testDir := t.TempDir()
    	filePaths := []string{
    		filepath.Join(testDir, "0", "10.yaml"),
    		filepath.Join(testDir, "0", "a", "10.yaml"),
    		filepath.Join(testDir, "02.yaml"),
    		filepath.Join(testDir, "10.yaml"),
    		filepath.Join(testDir, "2.yaml"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top