Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for vols (0.04 sec)

  1. cmd/storage-interface.go

    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/naughty-disk_test.go

    		return err
    	}
    	return d.disk.MakeVol(ctx, volume)
    }
    
    func (d *naughtyDisk) ListVols(ctx context.Context) (vols []VolInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return nil, err
    	}
    	return d.disk.ListVols(ctx)
    }
    
    func (d *naughtyDisk) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return VolInfo{}, err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. pkg/volume/util/nested_volumes_test.go

    								{MountPath: "/ignore2", Name: "vol5"},
    								{MountPath: "/dir", Name: "vol1"},
    								{MountPath: "/dir/nested-vol", Name: "vol6"},
    								{MountPath: "/dir/nested.vol", Name: "vol7"},
    								{MountPath: "/dir/nested2/double", Name: "vol8"},
    								{MountPath: "/dir/nested2", Name: "vol3"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Multiple vol1 mounts Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/crypto/internal/hpke/hpke_test.go

    		t.Fatal(err)
    	}
    	return b
    }
    
    func parseVectorSetup(vector string) map[string]string {
    	vals := map[string]string{}
    	for _, l := range strings.Split(vector, "\n") {
    		fields := strings.Split(l, ": ")
    		vals[fields[0]] = fields[1]
    	}
    	return vals
    }
    
    func parseVectorEncryptions(vector string) []map[string]string {
    	vals := []map[string]string{}
    	for _, section := range strings.Split(vector, "\n\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(zDump.Policies, filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/log/slog/value_test.go

    		GroupValue(Bool("b", true), Int("j", 4)),
    		DurationValue(3 * time.Second),
    		DurationValue(2 * time.Second),
    		StringValue("foo"),
    		StringValue("fuu"),
    	}
    	for i, v1 := range vals {
    		for j, v2 := range vals {
    			got := v1.Equal(v2)
    			want := i == j
    			if got != want {
    				t.Errorf("%v.Equal(%v): got %t, want %t", v1, v2, got, want)
    			}
    		}
    	}
    }
    
    func panics(f func()) (b bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ProgressBar.java

            for (int i = 0; i < chars.length; i++) {
                chars[i] = ch;
            }
            return new String(chars);
        }
    
        private String trimToConsole(int cols, int prefixLength, String str) {
            int consoleWidth = cols - 1;
            int remainingWidth = consoleWidth - prefixLength;
    
            if (consoleWidth < 0) {
                return str;
            }
            if (remainingWidth <= 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/testing/internal/testdeps/deps.go

    	return err
    }
    
    func (TestDeps) ReadCorpus(dir string, types []reflect.Type) ([]fuzz.CorpusEntry, error) {
    	return fuzz.ReadCorpus(dir, types)
    }
    
    func (TestDeps) CheckCorpus(vals []any, types []reflect.Type) error {
    	return fuzz.CheckCorpus(vals, types)
    }
    
    func (TestDeps) ResetCoverage() {
    	fuzz.ResetCoverage()
    }
    
    func (TestDeps) SnapshotCoverage() {
    	fuzz.SnapshotCoverage()
    }
    
    var CoverMode string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top