Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BootstrapTokenPattern (0.28 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go

    	bootstrapapi "k8s.io/cluster-bootstrap/token/api"
    	bootstraputil "k8s.io/cluster-bootstrap/token/util"
    	bootstrapsecretutil "k8s.io/cluster-bootstrap/util/secrets"
    )
    
    const (
    	// When a token is matched with 'BootstrapTokenPattern', the size of validated substrings returned by
    	// regexp functions which contains 'Submatch' in their names will be 3.
    	// Submatch 0 is the match of the entire expression, submatch 1 is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/token.go

    		`),
    		RunE: func(tokenCmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				return errors.Errorf("missing argument; 'token delete' is missing token of form %q or %q", bootstrapapi.BootstrapTokenPattern, bootstrapapi.BootstrapTokenIDPattern)
    			}
    			kubeConfigFile = cmdutil.GetKubeConfigPath(kubeConfigFile)
    			client, err := cmdutil.GetClientSet(kubeConfigFile, dryRun)
    			if err != nil {
    				return err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top