Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for findall (0.19 sec)

  1. internal/http/server.go

    	return srv
    }
    
    // UseReadHeaderTimeout configure read header timeout
    func (srv *Server) UseReadHeaderTimeout(d time.Duration) *Server {
    	srv.ReadHeaderTimeout = d
    	return srv
    }
    
    // UseHandler configure final handler for this HTTP *Server
    func (srv *Server) UseHandler(h http.Handler) *Server {
    	srv.Handler = h
    	return srv
    }
    
    // UseTLSConfig pass configured TLSConfig for this HTTP *Server
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. internal/bucket/versioning/versioning_test.go

    	}
    	tests := []struct {
    		prefix   string
    		excluded bool
    	}{
    		{
    			prefix:   "app1-jobs/output/_temporary/attempt1/data.csv",
    			excluded: true,
    		},
    		{
    			prefix:   "app1-jobs/output/final/attempt1/data.csv",
    			excluded: false,
    		},
    	}
    
    	for i, test := range tests {
    		if v.PrefixSuspended(test.prefix) != test.excluded {
    			if test.excluded {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    		writer.payloadBufferIndex = 0
    	}
    	return result
    }
    
    // Finish is the last call to the message writer - it sends any
    // remaining record payload, then sends statistics and finally the end
    // message.
    func (writer *messageWriter) Finish(bytesScanned, bytesProcessed int64) error {
    	select {
    	case <-writer.doneCh:
    		return fmt.Errorf("messageWriter is done")
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret.go

    	}
    	for _, item := range allSecrets.Items {
    		secret := item
    		if secretReferencesServiceAccount(serviceAccount, &secret) == nil {
    			return &secret, nil
    		}
    	}
    
    	// finally, create the sa token secret manually
    	// https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#manually-create-a-service-account-api-token
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  5. cmd/iam.go

    		// Check policy for parent user of service account.
    		svcPolicies, err = sys.PolicyDBGet(parentUser, args.Groups...)
    		if err != nil {
    			iamLogIf(GlobalContext, err)
    			return false
    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present.
    		if len(svcPolicies) == 0 {
    			policySet, _ := policy.GetPoliciesFromClaims(args.Claims, iamPolicyClaimNameOpenID())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/erasure-object_test.go

    			ObjectOptions{Versioned: testCase.versioned})
    		if err != nil {
    			t.Fatalf("Test %d: Failed to upload the final object: %v", i+1, err)
    		}
    
    		// Step 4: Try to read the object back and check its md5sum
    		sets.erasureDisksMu.Lock()
    		xl.getDisks = func() []StorageAPI { return origErasureDisks }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			partsMetadata[index].SetInlineData()
    		}
    		if opts.DataMovement {
    			partsMetadata[index].SetDataMov()
    		}
    	}
    
    	// Rename the successfully written temporary object to final location.
    	onlineDisks, versions, oldDataDir, err := renameData(ctx, onlineDisks, minioMetaTmpBucket, tempObj, partsMetadata, bucket, object, writeQuorum)
    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/storage-rest-client.go

    		Cache:    &cache,
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	var final *dataUsageCache
    	err = st.Results(func(resp *nsScannerResp) error {
    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r
    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    	}
    
    	// get random bucket name.
    	bucketName := getRandomBucketName()
    
    	// Key specified in Form data
    	keyName := "test/object"
    
    	var opts ObjectOptions
    
    	// The final name of the upload object
    	targetObj := keyName + "/upload.txt"
    
    	// The url of success_action_redirect field
    	redirectURL, err := url.Parse("http://www.google.com?query=value")
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top