Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ModulesFile is the file used to store current module state.
ModulesFile = "modules.json"
)
Variables ¶
This section is empty.
Functions ¶
func MaybeHandleService ¶
Types ¶
type PackageInstaller ¶
type PackageInstaller interface { io.Closer InstallPackage(packagePath string, destination string, options release.InstallOptions) error StoreModules(destination string, modules []release.ModuleRelease) error }
PackageInstaller represents an object capable of installing packages.
func NewDefaultInstaller ¶
func NewDefaultInstaller(logger logr.Logger, dryRun bool) (PackageInstaller, error)
func NewLocalInstaller ¶
func NewLocalInstaller(logger logr.Logger, dryRun bool) PackageInstaller
Click to show internal directories.
Click to hide internal directories.