Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddTokenFlag (0.27 sec)

  1. cmd/kubeadm/app/cmd/options/token.go

    type BootstrapTokenOptions struct {
    	*bootstraptokenv1.BootstrapToken
    	TokenStr string `datapolicy:"token"`
    }
    
    // AddTokenFlag adds the --token flag to the given flagset
    func (bto *BootstrapTokenOptions) AddTokenFlag(fs *pflag.FlagSet) {
    	fs.StringVar(
    		&bto.TokenStr, TokenStr, "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top