Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for Staken (0.14 sec)

  1. cmd/batch-rotate.go

    }
    
    // BatchKeyRotateNotification success or failure notification endpoint for each job attempts
    type BatchKeyRotateNotification struct {
    	Endpoint string `yaml:"endpoint" json:"endpoint"`
    	Token    string `yaml:"token" json:"token"`
    }
    
    // BatchJobKeyRotateFlags various configurations for replication job definition currently includes
    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    		}
    	}
    }
    
    // getHealSequenceByToken - Retrieve a heal sequence by token. The second
    // argument returns if a heal sequence actually exists.
    func (ahs *allHealState) getHealSequenceByToken(token string) (h *healSequence, exists bool) {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	for _, healSeq := range ahs.healSeqMap {
    		if healSeq.clientToken == token {
    			return healSeq, true
    		}
    	}
    	return nil, false
    }
    
    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)
  3. cmd/namespace-lock.go

    		delete(n.lockMap, resource)
    	}
    }
    
    // dsync's distributed lock instance.
    type distLockInstance struct {
    	rwMutex *dsync.DRWMutex
    	opsID   string
    }
    
    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    //
    //   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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. src/bufio/scan.go

    					s.token = token
    					s.done = true
    					// When token is not nil, it means the scanning stops
    					// with a trailing token, and thus the return value
    					// should be true to indicate the existence of the token.
    					return token != nil
    				}
    				s.setErr(err)
    				return false
    			}
    			if !s.advance(advance) {
    				return false
    			}
    			s.token = token
    			if token != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net.go

    	return nil
    }
    
    func (s *NetServer) sendPodToZtunnelAndWaitForAck(ctx context.Context, pod *corev1.Pod, netns Netns) error {
    	return s.ztunnelServer.PodAdded(ctx, pod, netns)
    }
    
    // ConstructInitialSnapshot takes a "snapshot" of current ambient pods and
    //
    // 1. Constructs a ztunnel state message to initialize ztunnel
    // 2. Syncs the host ipset
    func (s *NetServer) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  8. src/bufio/example_test.go

    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    	// Set the split function for the scanning operation.
    	scanner.Split(split)
    	// Validate the input
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwt_test.go

    	if err := updateClaimsExpiry("3600", claimsMap.MapClaims); err != nil {
    		t.Error(err)
    	}
    	// Build simple token with updated expiration claim
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap)
    	tokenString, err := token.SignedString(signKey)
    	if err != nil {
    		t.Error(err)
    	}
    
    	// Parse token to be sure it is valid
    	err = jwtm.ParseWithClaims(tokenString, claimsMap, func(*jwtm.MapClaims) ([]byte, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. cmd/warm-backend-azure.go

    	}
    
    	// Refresh obtains a fresh token
    	err = spt.Refresh()
    	if err != nil {
    		return nil, err
    	}
    
    	tc := azblob.NewTokenCredential(spt.Token().AccessToken, func(tc azblob.TokenCredential) time.Duration {
    		err := spt.Refresh()
    		if err != nil {
    			return 0
    		}
    		// set the new token value
    		tc.SetToken(spt.Token().AccessToken)
    
    		// get the next token before the current one expires
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
Back to top