Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for tetchy (0.54 sec)

  1. cmd/peer-rest-client.go

    	return nil
    }
    
    // GetLocks - fetch older locks for a remote node.
    func (client *peerRESTClient) GetLocks() (lockMap map[string][]lockRequesterInfo, err error) {
    	resp, err := getLocksRPC.Call(context.Background(), client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    		return nil, err
    	}
    	return *resp, nil
    }
    
    // LocalStorageInfo - fetch server information for a remote node.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. internal/cachevalue/cache.go

    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    	// but will fetch a new value in the background.
    	NoWait bool
    }
    
    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    // An Update function must be set to provide an updated value when needed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. internal/config/identity/openid/providercfg.go

    //
    // Some OIDC implementations such as GitLab do not support
    // claims as part of the normal oauth2 flow, instead rely
    // on service providers making calls to IDP to fetch additional
    // claims available from the UserInfo endpoint
    func (p *providerCfg) UserInfo(ctx context.Context, accessToken string, transport http.RoundTripper) (map[string]interface{}, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "resource", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	wg.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    	if fi.Deleted {
    		return fi.ReplicationState.CompositeReplicationStatus()
    	}
    	return replication.StatusType("")
    }
    
    // GetInternalReplicationState is a wrapper method to fetch internal replication state from the map m
    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. cmd/admin-heal-ops.go

    // 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 {
    		// heal sequence doesn't exist, must have finished.
    		jbytes, err := json.Marshal(healSequenceStatus{
    			Summary: healFinishedStatus,
    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. cmd/test-utils_test.go

    // to enable InsecureSkipVerify in TLS config
    
    // Starts the test server and returns the TestServer with TLS configured instance.
    func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer {
    	// Fetch TLS key and pem files from test-data/ directory.
    	//	dir, _ := os.Getwd()
    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    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)
  8. cmd/object-api-utils.go

    	isCompressed, err := oi.IsCompressedOK()
    	if err != nil {
    		return nil, 0, 0, err
    	}
    
    	// if object is encrypted and it is a restore request or if NoDecryption
    	// was requested, fetch content without decrypting.
    	if opts.Transition.RestoreRequest != nil || opts.NoDecryption {
    		isEncrypted = false
    		isCompressed = false
    	}
    
    	// Calculate range to read (different for encrypted/compressed objects)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. cmd/site-replication.go

    			return psi, errSRPeerResp(fmt.Errorf("unable to create admin client for %s: %w", v.Name, err))
    		}
    
    		info, err := admClient.ServerInfo(ctx)
    		if err != nil {
    			return psi, errSRPeerResp(fmt.Errorf("unable to fetch server info for %s: %w", v.Name, err))
    		}
    
    		s3Client, err := getS3Client(v)
    		if err != nil {
    			return psi, errSRPeerResp(fmt.Errorf("unable to create s3 client for %s: %w", v.Name, err))
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. docs/debugging/s3-verify/main.go

    		Recursive: true,
    		Prefix:    targetPrefix,
    	}
    
    	srcCh := sclnt.ListObjects(context.Background(), sourceBucket, sopts)
    	tgtCh := tclnt.ListObjects(context.Background(), targetBucket, topts)
    
    	srcCtnt, srcOk := nextObject(srcCh)
    	tgtCtnt, tgtOk := nextObject(tgtCh)
    
    	var srcEOF, tgtEOF bool
    
    	srcSha256 := sha256.New()
    	tgtSha256 := sha256.New()
    
    	for {
    		srcSha256.Reset()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
Back to top