Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 942 for errC (0.07 sec)

  1. docs/sts/web-identity.go

    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    
    		clnt, err := minio.New(u.Host, opts)
    		if err != nil {
    			log.Println(fmt.Errorf("Error while initializing Minio client, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		buckets, err := clnt.ListBuckets(r.Context())
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt.go

    	mclaims := jwtgo.MapClaims(claims)
    	jwtToken, err := jp.ParseWithClaims(token, &mclaims, keyFuncCallback)
    	if err != nil {
    		// Re-populate the public key in-case the JWKS
    		// pubkeys are refreshed
    		if err = r.PopulatePublicKey(arn); err != nil {
    			return err
    		}
    		jwtToken, err = jwtgo.ParseWithClaims(token, &mclaims, keyFuncCallback)
    		if err != nil {
    			return err
    		}
    	}
    
    	if !jwtToken.Valid {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. docs/sts/assume-role.go

    	madmClnt, err := madmin.NewWithOptions(stsEndpointURL.Host, mopts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	err = madmClnt.ServiceRestart(context.Background())
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. cmd/erasure-sets_test.go

    	_, _, err := waitForFormatErasure(true, endpoints, 1, 0, 16, "")
    	if err != errInvalidArgument {
    		t.Fatalf("Expecting error, got %s", err)
    	}
    
    	_, _, err = waitForFormatErasure(true, nil, 1, 1, 16, "")
    	if err != errInvalidArgument {
    		t.Fatalf("Expecting error, got %s", err)
    	}
    
    	// Initializes all erasure disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/tag.go

    	var keyAlreadyParsed, valueAlreadyParsed bool
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			var s string
    			if err = d.DecodeElement(&s, &se); err != nil {
    				return err
    			}
    			switch se.Name.Local {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. internal/kms/config.go

    		}
    		endpoints, err := expandEndpoints(rawEndpoint)
    		if err != nil {
    			return nil, err
    		}
    
    		key, err := kms.ParseAPIKey(env.Get(EnvKMSAPIKey, ""))
    		if err != nil {
    			return nil, err
    		}
    
    		var rootCAs *x509.CertPool
    		if opts != nil && opts.CADir != "" {
    			rootCAs, err = certs.GetRootCAs(opts.CADir)
    			if err != nil {
    				return nil, err
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. internal/config/compress/compress.go

    func LookupConfig(kvs config.KVS) (Config, error) {
    	var err error
    	cfg := Config{}
    	if err = config.CheckValidKeys(config.CompressionSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	compress := env.Get(EnvCompressState, kvs.Get(config.Enable))
    	if compress == "" {
    		compress = env.Get(EnvCompress, "")
    	}
    	cfg.Enabled, err = config.ParseBool(compress)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. cmd/net.go

    	// Extract host & port from given parameters
    	host1, port1, err := extractHostPort(addr1)
    	if err != nil {
    		return false, err
    	}
    	host2, port2, err := extractHostPort(addr2)
    	if err != nil {
    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    		// If empty host means it is localhost
    		addr1Local = true
    	} else if addr1Local, err = isLocalHost(host1, port1, port1); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			}
    
    			buildStrings()
    		}
    		return d, ints, floats, strs
    	}
    
    	if f, err := elf.Open(gccTmp()); err == nil {
    		defer f.Close()
    		d, err := f.DWARF()
    		if err != nil {
    			fatalf("cannot load DWARF output from %s: %v", gccTmp(), err)
    		}
    		bo := f.ByteOrder
    		symtab, err := f.Symbols()
    		if err == nil {
    			// Check for use of -fsanitize=hwaddress (issue 53285).
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. internal/s3select/csv/reader.go

    		// Read column names
    		// Get one line.
    		b, err := r.nextSplit(0, nil)
    		if err != nil {
    			r.err = err
    			return err
    		}
    		if !utf8.Valid(b) {
    			return errInvalidTextEncodingError()
    		}
    		reader := newReader(bytes.NewReader(b))
    		record, err := reader.Read()
    		if err != nil {
    			r.err = err
    			if err != io.EOF {
    				r.err = errCSVParsingError(err)
    				return errCSVParsingError(err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top