- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newCmdToken (0.27 sec)
-
cmd/kubeadm/app/cmd/token_test.go
}, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { // the command is created for each test so that the kubeConfigFile // variable in newCmdToken() is reset. cmd := newCmdToken(&buf, &bufErr) if _, err = f.WriteString(tc.configToWrite); err != nil { t.Errorf("Unable to write test file %q: %v", fullPath, err) } if tc.kubeConfigEnv != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/cmd.go
cmds.AddCommand(newCmdConfig(out)) cmds.AddCommand(newCmdInit(out, nil)) cmds.AddCommand(newCmdJoin(out, nil)) cmds.AddCommand(newCmdReset(in, out, nil)) cmds.AddCommand(newCmdVersion(out)) cmds.AddCommand(newCmdToken(out, err)) cmds.AddCommand(upgrade.NewCmdUpgrade(out)) cmds.AddCommand(alpha.NewCmdAlpha()) options.AddKubeadmOtherFlags(cmds.PersistentFlags(), &rootfsPath) cmds.AddCommand(newCmdKubeConfigUtility(out))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
tokenphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/bootstraptoken/node" configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" ) // newCmdToken returns cobra.Command for token management func newCmdToken(out io.Writer, errW io.Writer) *cobra.Command { var kubeConfigFile string var dryRun bool tokenCmd := &cobra.Command{ Use: "token", Short: "Manage bootstrap tokens",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0)