Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 400 for toSend (0.17 sec)

  1. src/go/token/token.go

    // license that can be found in the LICENSE file.
    
    // Package token defines constants representing the lexical tokens of the Go
    // programming language and basic operations on tokens (printing, predicates).
    package token
    
    import (
    	"strconv"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Token is the set of lexical tokens of the Go programming language.
    type Token int
    
    // The list of tokens.
    const (
    	// Special tokens
    	ILLEGAL Token = iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/bootstraptoken/node/token.go

    	return UpdateOrCreateTokens(client, true, tokens)
    }
    
    // UpdateOrCreateTokens attempts to update a token with the given ID, or create if it does not already exist.
    func UpdateOrCreateTokens(client clientset.Interface, failIfExists bool, tokens []bootstraptokenv1.BootstrapToken) error {
    
    	for _, token := range tokens {
    
    		secretName := bootstraputil.BootstrapTokenSecretName(token.Token.ID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tests/integration/security/testdata/authz/jwt.yaml.tmpl

    # - Allow request principal ******@****.***/sub-1 to access path /token1
    # - Allow request in group-2 to access path /token2
    # - Allow request with any token to access path /tokenAny
    # - Allow request with permission claim of "write" or "append" to access path /permission
    # - Allow request with valid JWT token to access path /jwt1
    # - Allow request with valid JWT token of presenter bar to access path with suffix "/presenter"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/token/token.go

    			bootstrapapi.KubeConfigKey, bootstrapapi.ConfigMapClusterInfo)
    	}
    
    	detachedJWSToken, ok := insecureClusterInfo.Data[bootstrapapi.JWSSignatureKeyPrefix+token.ID]
    	if !ok || len(detachedJWSToken) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. security/pkg/nodeagent/caclient/providers/citadel/testdata/token

    Zhonghu Xu <******@****.***> 1660661797 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 16 14:56:37 UTC 2022
    - 5 bytes
    - Viewed (0)
  6. cni/test/testdata/k8s_svcacct/token

    John Howard <******@****.***> 1605827959 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 860 bytes
    - Viewed (0)
  7. pkg/istio-agent/testdata/token

    John Howard <******@****.***> 1610044937 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 07 18:42:17 UTC 2021
    - 4 bytes
    - Viewed (0)
  8. pkg/controller/bootstrap/bootstrapsigner.go

    			tokenID := strings.TrimPrefix(key, bootstrapapi.JWSSignatureKeyPrefix)
    			sigs[tokenID] = value
    			delete(newCM.Data, key)
    		}
    	}
    
    	// Now recompute signatures and store them on the new map
    	tokens := e.getTokens(ctx)
    	for tokenID, tokenValue := range tokens {
    		sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/text/scanner/scanner.go

    // Valid after calling [Scanner.Scan] and in calls of [Scanner.Error].
    func (s *Scanner) TokenText() string {
    	if s.tokPos < 0 {
    		// no token text
    		return ""
    	}
    
    	if s.tokEnd < s.tokPos {
    		// if EOF was reached, s.tokEnd is set to -1 (s.srcPos == 0)
    		s.tokEnd = s.tokPos
    	}
    	// s.tokEnd >= s.tokPos
    
    	if s.tokBuf.Len() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. pkg/controller/bootstrap/util_test.go

    			}
    			if ok {
    				if tokenID != tc.tokenID {
    					t.Errorf("Unexpected Token ID. Expected %q, got %q", givenTokenID, tokenID)
    				}
    				if tokenSecret != tc.tokenSecret {
    					t.Errorf("Unexpected Token Secret. Expected %q, got %q", givenTokenSecret, tokenSecret)
    				}
    			}
    		})
    	}
    
    }
    
    func TestValidateSecret(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 02:18:40 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top