Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for fileAddr (0.1 sec)

  1. pilot/cmd/pilot-discovery/app/cmd.go

    		"Duration the discovery server needs to terminate gracefully")
    
    	// RegistryOptions Controller options
    	c.PersistentFlags().StringVar(&serverArgs.RegistryOptions.FileDir, "configDir", "",
    		"Directory to watch for updates to config yaml files. If specified, the files will be used as the source of config, rather than a CRD client.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/preflight/checks_test.go

    				rt.name,
    				rt.expectedError,
    				(len(output) > 0),
    			)
    		}
    	}
    }
    
    func TestDirAvailableCheck(t *testing.T) {
    	fileDir, err := os.MkdirTemp("", "dir-avail-check")
    	if err != nil {
    		t.Fatalf("failed creating directory: %v", err)
    	}
    	defer os.RemoveAll(fileDir)
    	var tests = []struct {
    		name          string
    		check         DirAvailableCheck
    		expectedError bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/resolver.go

    		// determine file directory, necessary to resolve imports
    		// FileName may be "" (typically for tests) in which case
    		// we get "." as the directory which is what we would want.
    		fileDir := dir(file.PkgName.Pos().RelFilename()) // TODO(gri) should this be filename?
    
    		first := -1                // index of first ConstDecl in the current group, or -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/go/types/resolver.go

    		// determine file directory, necessary to resolve imports
    		// FileName may be "" (typically for tests) in which case
    		// we get "." as the directory which is what we would want.
    		fileDir := dir(check.fset.Position(file.Name.Pos()).Filename)
    
    		check.walkDecls(file.Decls, func(d decl) {
    			switch d := d.(type) {
    			case importDecl:
    				// import package
    				if d.spec.Path.Value == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    // emitted after that.
    func (d *dwctxt) writeDirFileTables(unit *sym.CompilationUnit, lsu *loader.SymbolBuilder) {
    	type fileDir struct {
    		base string
    		dir  int
    	}
    	dirNums := make(map[string]int)
    	dirs := []string{""}
    	files := []fileDir{}
    
    	// Preprocess files to collect directories. This assumes that the
    	// file table is already de-duped.
    	for i, name := range unit.FileTable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    func (s *Server) initKubeClient(args *PilotArgs) error {
    	if s.kubeClient != nil {
    		// Already initialized by startup arguments
    		return nil
    	}
    	hasK8SConfigStore := false
    	if args.RegistryOptions.FileDir == "" {
    		// If file dir is set - config controller will just use file.
    		if _, err := os.Stat(args.MeshConfigFile); !os.IsNotExist(err) {
    			meshConfig, err := mesh.ReadMeshConfig(args.MeshConfigFile)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top