Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for UNKNOWN (0.14 sec)

  1. cmd/namespace-lock.go

    	pc, filename, lineNum, ok := runtime.Caller(n)
    	if ok {
    		filename = pathutil.Base(filename)
    		funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(),
    			"github.com/minio/minio/cmd.")
    	} else {
    		filename = "<unknown>"
    		lineNum = 0
    	}
    
    	return fmt.Sprintf("[%s:%d:%s()]", filename, lineNum, funcName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    		{
    			authT: authTypePresignedV2,
    			pass:  true,
    		},
    		// Test 8 - JWT is not supported s3 type.
    		{
    			authT: authTypeJWT,
    			pass:  false,
    		},
    		// Test 9 - unknown auth header is not supported s3 type.
    		{
    			authT: authTypeUnknown,
    			pass:  false,
    		},
    		// Test 10 - some new auth type is not supported s3 type.
    		{
    			authT: authType(9),
    			pass:  false,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    func extractAPIVersion(r *http.Request) string {
    	if matches := regexVersion.FindStringSubmatch(r.URL.Path); len(matches) > 1 {
    		return matches[1]
    	}
    	return "unknown"
    }
    
    func methodNotAllowedHandler(api string) func(w http.ResponseWriter, r *http.Request) {
    	return errorResponseHandler
    }
    
    // If none of the http routes match respond with appropriate errors
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  5. cmd/erasure-server-pool-decom.go

    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case poolMetaFormat:
    	default:
    		return fmt.Errorf("poolMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case poolMetaVersion:
    	default:
    		return fmt.Errorf("poolMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    
    	// OK, parse data.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  6. cmd/format-erasure.go

    		return migrate(formatPath, formatData)
    	case formatErasureVersionV3:
    		// v3 is the latest version, return.
    		return formatData, formatFi, nil
    	}
    	return nil, nil, fmt.Errorf(`Disk %s: unknown format version %s`, export, version)
    }
    
    // Migrates version V1 of format.json to version V2 of format.json,
    // migration fails upon any error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    func (ahs *allHealState) stopHealSequence(path string) ([]byte, APIError) {
    	var hsp madmin.HealStopSuccess
    	he, exists := ahs.getHealSequence(path)
    	if !exists {
    		hsp = madmin.HealStopSuccess{
    			ClientToken: "unknown",
    			StartTime:   UTCNow(),
    		}
    	} else {
    		clientToken := he.clientToken
    		if globalIsDistErasure {
    			clientToken = fmt.Sprintf("%s:%d", he.clientToken, GetProxyEndpointLocalIndex(globalProxyEndpoints))
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. cmd/metacache-entries.go

    	"context"
    	"errors"
    	"os"
    	"path"
    	"sort"
    	"strings"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/console"
    )
    
    // metaCacheEntry is an object or a directory within an unknown bucket.
    type metaCacheEntry struct {
    	// name is the full name of the object including prefixes
    	name string
    	// Metadata. If none is present it is not an object but only a prefix.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    		err = store.loadMappedPolicy(ctx, accessKey, userType, false, cache.iamUserPolicyMap)
    	default:
    		// This is just to ensure that we have covered all cases for new
    		// code in future.
    		panic("unknown user type")
    	}
    	// Ignore policy not mapped error
    	if err != nil && !errors.Is(err, errNoSuchPolicy) {
    		return err
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. cmd/common-main.go

    	if len(domains) != 0 {
    		for _, domainName := range strings.Split(domains, config.ValueSeparator) {
    			if _, ok := dns2.IsDomainName(domainName); !ok {
    				logger.Fatal(config.ErrInvalidDomainValue(nil).Msg("Unknown value `%s`", domainName),
    					"Invalid MINIO_DOMAIN value in environment variable")
    			}
    			globalDomainNames = append(globalDomainNames, domainName)
    		}
    		sort.Strings(globalDomainNames)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top