Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,293 for Context (0.1 sec)

  1. cmd/handler-utils.go

    }
    
    // extractMetadataFromReq extracts metadata from HTTP header and HTTP queryString.
    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    	return extractMetadata(ctx, textproto.MIMEHeader(r.Form), textproto.MIMEHeader(r.Header))
    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/iam-etcd-store.go

    }
    
    func (ies *IAMEtcdStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteKeyEtcd(ctx, ies.client, path)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, _ int) error {
    	return ies.loadPolicyDoc(ctx, policy, m)
    }
    
    func (ies *IAMEtcdStore) loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                config.setCancellableFirstPrompt(true);
    
                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
                context.prompt = new ConsolePrompt(context.reader, context.terminal, config);
    
                if (context.invokerRequest.options().goals().isEmpty()
                        || context.invokerRequest.options().goals().get().size() != 1) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. cmd/naughty-disk_test.go

    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.DeleteVol(ctx, volume, forceDelete)
    }
    
    func (d *naughtyDisk) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) error {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.WalkDir(ctx, opts, wr)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    }
    
    func (c *kmsConn) Version(ctx context.Context) (string, error) {
    	resp, err := c.client.Version(ctx, &kms.VersionRequest{})
    	if len(resp) == 0 && err != nil {
    		return "", err
    	}
    	return resp[0].Version, nil
    }
    
    func (c *kmsConn) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return nil, ErrNotSupported
    }
    
    func (c *kmsConn) Status(ctx context.Context) (map[string]madmin.ItemState, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tests/connpool_test.go

    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.ExecContext(ctx, query, args...)
    }
    
    func (c *wrapperTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.QueryContext(ctx, query, args...)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    	}
    }
    
    func (c *check) mustGetIAMUserInfo(ctx context.Context, admClnt *madmin.AdminClient, accessKey string) madmin.UserInfo {
    	c.Helper()
    	ui, err := admClnt.GetUserInfo(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    	c.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. cmd/etcd.go

    	return etcdErrToErr(err, client.Endpoints())
    }
    
    func deleteKeyEtcd(ctx context.Context, client *etcd.Client, key string) error {
    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    
    	_, err := client.Delete(timeoutCtx, key)
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    func readKeyEtcd(ctx context.Context, client *etcd.Client, key string) ([]byte, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. cmd/object-api-input-checks.go

    func checkGetObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks on DeleteObject arguments, bucket and object.
    func checkDelObjArgs(ctx context.Context, bucket, object string) error {
    	return checkBucketAndObjectNames(ctx, bucket, object)
    }
    
    // Checks bucket and object name validity, returns nil if both are valid.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

        @Test
        public void resolveDomains () throws CIFSException {
            CIFSContext context = getContext();
            context = withTestNTLMCredentials(context);
            DfsResolver dfs = context.getDfs();
    
            String testDomain = getTestDomain();
            assertTrue(dfs.isTrustedDomain(context, testDomain));
            assertTrue(dfs.isTrustedDomain(context, testDomain.toLowerCase(Locale.ROOT)));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
Back to top