Documentation ¶ Index ¶ type Controller func New(param *config.Param, configFinder finder.ConfigFinder, ...) Controller type Which Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Controller ¶ type Controller interface { Which(ctx context.Context, param *config.Param, exeName string, logE *logrus.Entry) (*Which, error) } func New ¶ func New(param *config.Param, configFinder finder.ConfigFinder, configReader reader.ConfigReader, registInstaller registry.Installer, rt *runtime.Runtime, osEnv osenv.OSEnv, fs afero.Fs, linker link.Linker) Controller type Which ¶ type Which struct { Package *config.Package PkgInfo *config.PackageInfo File *config.File ExePath string } Source Files ¶ View all Source files error.go lookpath.go public.go which.go Click to show internal directories. Click to hide internal directories.