Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 355 for toSend (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. security/pkg/credentialfetcher/plugin/token.go

    	}
    }
    
    func (t KubernetesTokenPlugin) GetPlatformCredential() (string, error) {
    	if t.path == "" {
    		return "", nil
    	}
    	tok, err := os.ReadFile(t.path)
    	if err != nil {
    		log.Warnf("failed to fetch token from file: %v", err)
    		return "", nil
    	}
    	return strings.TrimSpace(string(tok)), nil
    }
    
    func (t KubernetesTokenPlugin) GetIdentityProvider() string {
    	return ""
    }
    
    func (t KubernetesTokenPlugin) Stop() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. cni/pkg/install/testdata/token-foo

    Sergei Gavrilov <******@****.***> 1657207540 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 07 15:25:40 UTC 2022
    - 3 bytes
    - Viewed (0)
  10. src/compress/flate/token.go

    }
    
    type token uint32
    
    // Convert a literal into a literal token.
    func literalToken(literal uint32) token { return token(literalType + literal) }
    
    // Convert a < xlength, xoffset > pair into a match token.
    func matchToken(xlength uint32, xoffset uint32) token {
    	return token(matchType + xlength<<lengthShift + xoffset)
    }
    
    // Returns the literal of a literal token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top