INNER CODE UNIT · Go

Init

roboll/helmfile · pkg/app/app.go:89

func Init(app *App) *App {
	app.readFile = ioutil.ReadFile
	app.deleteFile = os.Remove
	app.glob = filepath.Glob
	app.abs = filepath.Abs
	app.getwd = os.Getwd
	app.chdir = os.Chdir
	app.fileExistsAt = fileExistsAt
	app.fileExists = fileExists
	app.directoryExistsAt = directoryExistsAt

	var err error
	app.valsRuntime, err = plugins.ValsInstance()
	if err != nil {
		panic(fmt.Sprintf("Failed to initialize vals runtime: %v", err))
	}

	return app

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…