carapace-bin/completers/kubeadm_completer/cmd/reset_phase_removeEtcdMember.go
2025-04-25 18:29:51 +02:00

25 lines
878 B
Go

package cmd
import (
"github.com/carapace-sh/carapace"
"github.com/spf13/cobra"
)
var reset_phase_removeEtcdMemberCmd = &cobra.Command{
Use: "remove-etcd-member",
Short: "Remove a local etcd member.",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(reset_phase_removeEtcdMemberCmd).Standalone()
reset_phase_removeEtcdMemberCmd.Flags().Bool("dry-run", false, "Don't apply any changes; just output what would be done.")
reset_phase_removeEtcdMemberCmd.Flags().String("kubeconfig", "", "The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.")
reset_phaseCmd.AddCommand(reset_phase_removeEtcdMemberCmd)
carapace.Gen(reset_phase_removeEtcdMemberCmd).FlagCompletion(carapace.ActionMap{
"kubeconfig": carapace.ActionFiles(),
})
}