mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-05-04 06:38:24 +00:00
* Make `logger` a separate module such that don't depend on `shared` module as a whole for logging * Update `Dockerfile`
21 lines
484 B
Go
21 lines
484 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/up9inc/mizu/cli/bucket"
|
|
"github.com/up9inc/mizu/cli/config"
|
|
"github.com/up9inc/mizu/logger"
|
|
)
|
|
|
|
func runMizuInstall() {
|
|
bucketProvider := bucket.NewProvider(config.Config.Install.TemplateUrl, bucket.DefaultTimeout)
|
|
installTemplate, err := bucketProvider.GetInstallTemplate(config.Config.Install.TemplateName)
|
|
if err != nil {
|
|
logger.Log.Errorf("Failed getting install template, err: %v", err)
|
|
return
|
|
}
|
|
|
|
fmt.Print(installTemplate)
|
|
}
|