var getClustersExample … // NewCmdConfigGetClusters creates a command object for the "get-clusters" action, which // lists all clusters defined in the kubeconfig. func NewCmdConfigGetClusters(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command { … } func runGetClusters(out io.Writer, configAccess clientcmd.ConfigAccess) error { … }