Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 263 for clients (0.17 sec)

  1. internal/etag/etag.go

    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    // about HTTP headers, Set should be used instead of
    // http.Header.Set(...). Otherwise, some S3 clients will not
    // able to extract the ETag.
    func Set(etag ETag, h http.Header) {
    	// Some (broken) S3 clients expect the ETag header to
    	// literally "ETag" - not "Etag". Further, some clients
    	// expect an ETag in double quotes. Therefore, we set the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser.go

    	// credElement is fetched first to skip replacing the space in access key.
    	credElement := strings.TrimPrefix(strings.Split(strings.TrimSpace(v4Auth), ",")[0], signV4Algorithm)
    	// Replace all spaced strings, some clients can send spaced
    	// parameters and some won't. So we pro-actively remove any spaces
    	// to make parsing easier.
    	v4Auth = strings.ReplaceAll(v4Auth, " ", "")
    	if v4Auth == "" {
    		return sv, ErrAuthHeaderEmpty
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    }
    
    type Client struct {
    	client kube.Client
    	remote bool
    }
    
    func getClients(ctx cli.Context) ([]*Client, error) {
    	client, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	clients := []*Client{
    		{
    			client: client,
    			remote: false,
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    	// server admin credentials change. This is done to ensure
    	// that clients cannot decode the token using the temp
    	// secret keys and generate an entirely new claim by essentially
    	// hijacking the policies. We need to make sure that this is
    	// based on admin credential such that token cannot be decoded
    	// on the client side and is treated like an opaque value.
    	claims, err := auth.ExtractClaims(token, secret)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    		case "v1", madmin.AdminAPIVersionV2:
    			desc = fmt.Sprintf("Server expects client requests with 'admin' API version '%s', found '%s', please upgrade the client to latest releases", madmin.AdminAPIVersion, version)
    		case madmin.AdminAPIVersion:
    			desc = fmt.Sprintf("This 'admin' API is not supported by server in '%s'", getMinioMode())
    		default:
    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)
  6. cmd/admin-heal-ops.go

    }
    
    // PopHealStatusJSON - Called by heal-status API. It fetches the heal
    // status results from global state and returns its JSON
    // representation. The clientToken helps ensure there aren't
    // conflicting clients fetching status.
    func (ahs *allHealState) PopHealStatusJSON(hpath string,
    	clientToken string) ([]byte, APIErrorCode,
    ) {
    	// fetch heal state for given path
    	h, exists := ahs.getHealSequence(hpath)
    	if !exists {
    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)
  7. internal/grid/handlers.go

    	if errors.As(err, &r) {
    		return &r
    	}
    	return nil
    }
    
    type (
    	// SingleHandlerFn is handlers for one to one requests.
    	// A non-nil error value will be returned as RemoteErr(msg) to client.
    	// No client information or cancellation (deadline) is available.
    	// Include this in payload if needed.
    	// Payload should be recycled with PutByteBuffer if not needed after the call.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    				storageLogIf(r.Context(), err)
    			}
    			if err == nil || !errors.Is(err, xhttp.ErrNotImplemented) {
    				return
    			}
    		}
    	} // Fallback to regular copy
    
    	_, err = xioutil.Copy(w, rc)
    	if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    		storageLogIf(r.Context(), err)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalObjectPerfBucket       = "minio-perf-test-tmp-bucket"
    	globalObjectPerfUserMetadata = "X-Amz-Meta-Minio-Object-Perf" // Clients can set this to bypass S3 API service freeze. Used by object pref tests.
    
    	// MinIO version unix timestamp
    	globalVersionUnix uint64
    
    	// MinIO client
    	globalMinioClient *minio.Client
    
    	// Public key for subnet confidential information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    	// Add total timeout
    	ctx, cancel := context.WithTimeout(ctx, opts.Timeout)
    	defer cancel()
    
    	// Tolerance is not set, defaults to half of the locker clients.
    	tolerance := len(restClnts) / 2
    
    	// Quorum is effectively = total clients subtracted with tolerance limit
    	quorum := len(restClnts) - tolerance
    	if !isReadLock {
    		// In situations for write locks, as a special case
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top