Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Method (0.16 sec)

  1. cmd/test-utils_test.go

    	return signature, nil
    }
    
    // Returns new HTTP request object.
    func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    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)
  2. cmd/api-errors.go

    		Description:    "The request signature we calculated does not match the signature you provided. Check your key and signing method.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrMethodNotAllowed: {
    		Code:           "MethodNotAllowed",
    		Description:    "The specified method is not allowed against this resource.",
    		HTTPStatusCode: http.StatusMethodNotAllowed,
    	},
    	ErrInvalidPart: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/iam.go

    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListSTSAccounts(ctx, accessKey)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // GetServiceAccount - wrapper method to get information about a service account
    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    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)
  4. cmd/peer-rest-server.go

    	subrouter.Methods(http.MethodPost).Path(peerRESTVersionPrefix + peerRESTMethodHealth).HandlerFunc(h(server.HealthHandler))
    	subrouter.Methods(http.MethodPost).Path(peerRESTVersionPrefix + peerRESTMethodVerifyBinary).HandlerFunc(h(server.VerifyBinaryHandler)).Queries(restQueries(peerRESTURL, peerRESTSha256Sum, peerRESTReleaseInfo)...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			if _, err := io.Copy(zwriter, r); err != nil {
    				adminLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    			cache.iamSTSPolicyMap.Store(k, v)
    			return true
    		})
    
    		cache.updatedAt = time.Now()
    	}
    
    	return nil
    }
    
    // IAMStoreSys contains IAMStorageAPI to add higher-level methods on the storage
    // layer.
    type IAMStoreSys struct {
    	IAMStorageAPI
    }
    
    // HasWatcher - returns if the storage system has a watcher.
    func (store *IAMStoreSys) HasWatcher() bool {
    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)
  7. istioctl/pkg/describe/describe.go

    }
    
    // findMatchedConfigs should filter out unrelated configs that are not matched given podsLabels.
    // When the config has no selector labels, this method will treat it as qualified namespace level
    // config. So configs passed into this method should only contains workload's namespaces configs
    // and rootNamespaces configs, caller should be responsible for controlling configs passed
    // in.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	"unsigned long long":     "ulonglong", // Used by Clang 14; issue 53013.
    }
    
    const signedDelta = 64
    
    // String returns the current type representation. Format arguments
    // are assembled within this method so that any changes in mutable
    // values are taken into account.
    func (tr *TypeRepr) String() string {
    	if len(tr.Repr) == 0 {
    		return ""
    	}
    	if len(tr.FormatArgs) == 0 {
    		return tr.Repr
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    	t.Setenv("GODEBUG", "zipinsecurepath=0")
    	// Archive contains a file whose name is exclusively made up of '/', '\'
    	// characters, or "../", "..\" paths, which would previously cause a panic.
    	//
    	//  Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    	// --------  ------  ------- ---- ---------- ----- --------  ----
    	//        0  Stored        0   0% 08-05-2021 18:32 00000000  /
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top