Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,160 for Fname (0.03 sec)

  1. cmd/admin-handler-utils.go

    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    func importError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    		// Display warnings we encountered as well
    		for _, fname := range filenames {
    			if w := warningsByFilename[fname]; w != nil {
    				if fname == "-" {
    					_, _ = fmt.Fprint(writer, warningToString(w))
    					break
    				}
    				_, _ = fmt.Fprintf(writer, "%q has warnings: %v\n", fname, warningToString(w))
    			}
    		}
    		return errs
    	}
    	for _, fname := range filenames {
    		if fname == "-" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	files := r.fileList
    	i, _ := slices.BinarySearchFunc(files, dir, func(a fileListEntry, dir string) (ret int) {
    		idir, ielem, _ := split(a.name)
    		if dir != idir {
    			return strings.Compare(idir, dir)
    		}
    		return strings.Compare(ielem, elem)
    	})
    	if i < len(files) {
    		fname := files[i].name
    		if fname == name || len(fname) == len(name)+1 && fname[len(name)] == '/' && fname[:len(name)] == name {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    	}
    
    	for _, file := range zr.File {
    		reader, err := file.Open()
    		if err != nil {
    			rpt.SetStatus(file.Name, "", err)
    			continue
    		}
    		sz := file.FileInfo().Size()
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    #!/usr/bin/env bash
    #
    
    _init() {
    
    	shopt -s extglob
    
    	## Minimum required versions for build dependencies
    	GIT_VERSION="1.0"
    	GO_VERSION="1.16"
    	OSX_VERSION="10.8"
    	KNAME=$(uname -s)
    	ARCH=$(uname -m)
    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/config/lambda/parse.go

    	validKVS, ok := DefaultLambdaKVS[subSys]
    	if !ok {
    		return nil
    	}
    	for tname, kv := range tgt {
    		subSysTarget := subSys
    		if tname != config.Default {
    			subSysTarget = subSys + config.SubSystemSeparator + tname
    		}
    		if v, ok := kv.Lookup(config.Enable); ok && v == config.EnableOn {
    			if err := config.CheckValidKeys(subSysTarget, kv, validKVS); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. docs/distributed/distributed-from-config-file.sh

    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    
    if [ ! -f ./mc ]; then
    	os="$(uname -s)"
    	arch="$(uname -m)"
    	case "${arch}" in
    	"x86_64")
    		arch="amd64"
    		;;
    	esac
    
    	wget -O mc https://dl.minio.io/client/mc/release/${os,,}-${arch,,}/mc &&
    		chmod +x mc
    fi
    
    for i in $(seq 1 4); do
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    	for i, a := range analyzers {
    		analyzerNames[i] = a.Metadata().Name
    		nameToAnalyzer[a.Metadata().Name] = a
    	}
    	sort.Strings(analyzerNames)
    
    	var b strings.Builder
    	for _, aName := range analyzerNames {
    		b.WriteString(fmt.Sprintf("* %s:\n", aName))
    		a := nameToAnalyzer[aName]
    		if a.Metadata().Description != "" {
    			b.WriteString(fmt.Sprintf("    %s\n", a.Metadata().Description))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    	for _, test := range []struct {
    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    	tw := NewWriter(&buf)
    	const name = "/foo"
    	tw.WriteHeader(&Header{
    		Name: name,
    	})
    	tw.Close()
    	tr := NewReader(&buf)
    	h, err := tr.Next()
    	if err != nil {
    		t.Fatalf("tr.Next with tarinsecurepath=1: got err %v, want nil", err)
    	}
    	if h.Name != name {
    		t.Fatalf("tr.Next with tarinsecurepath=1: got name %q, want %q", h.Name, name)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top