Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for learner (0.16 sec)

  1. internal/config/lambda/target/webhook.go

    	// <Key> <Token> like format, if this is
    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. cmd/sts-datatypes.go

    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    	// The service rejects any policy with a packed size greater than 100 percent,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  3. cmd/batch-expire_test.go

              # retainVersions: 5 # keep the latest 5 versions of the object including delete markers.
    
      notify:
        endpoint: https://notify.endpoint # notification endpoint to receive job completion status
        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    	isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443")
    	if isMCP {
    		// Special credentials handling when using ASM Managed Control Plane.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. internal/grid/grid.go

    	// Buffers below this is not reused.
    	minBufferSize = 1 << 10
    
    	// defaultBufferSize is the default buffer allocation size.
    	defaultBufferSize = 4 << 10
    
    	// maxBufferSize is the maximum buffer size.
    	// Buffers larger than this is not reused.
    	maxBufferSize = 96 << 10
    
    	// This is the assumed size of bigger buffers and allocation size.
    	biggerBufMin = 32 << 10
    
    	// This is the maximum size of bigger buffers.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. scan.go

    		if field == nil {
    			continue
    		}
    
    		if len(joinFields) == 0 || len(joinFields[idx]) == 0 {
    			db.AddError(field.Set(db.Statement.Context, reflectValue, values[idx]))
    		} else { // joinFields count is larger than 2 when using join
    			var isNilPtrValue bool
    			var relValue reflect.Value
    			// does not contain raw dbname
    			nestedJoinSchemas := joinFields[idx][:len(joinFields[idx])-1]
    			// current reflect value
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Mar 15 06:14:48 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. cmd/veeam-sos-api.go

    //
    //   - <KbBlockSize>
    //     Veeam Block Size for backup and restore processing before compression is applied. The higher the block size, the more
    //     backup space is needed for incremental backups. Larger block sizes also mean less performance for random read restore
    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  8. cmd/auth-handler_test.go

    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization": []string{"Bearer 12313123"},
    				},
    			},
    			authT: authTypeJWT,
    		},
    		// Test case - 3
    		// Empty authorization header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. internal/rest/client.go

    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.newAuthToken != nil {
    		req.Header.Set("Authorization", "Bearer "+c.newAuthToken(u.RawQuery))
    	}
    	req.Header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    	if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    		return kmsID
    	}
    	return ARNPrefix + kmsID
    }
    
    // DecryptETags decryptes the ETag of all ObjectInfos using the KMS.
    //
    // It adjusts the size of all encrypted objects since encrypted
    // objects are slightly larger due to encryption overhead.
    // Further, it decrypts all single-part SSE-S3 encrypted objects
    // and formats ETags of SSE-C / SSE-KMS encrypted objects to
    // be AWS S3 compliant.
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
Back to top