Documentation
¶
Index ¶
- type BundleInstaller
- type ComposerInstaller
- type DotNetInstaller
- type GoInstaller
- type Installer
- func NewBundleInstaller(commander types.Commander) Installer
- func NewComposerInstaller(commander types.Commander) Installer
- func NewDotNetInstaller(commander types.Commander) Installer
- func NewGoInstaller(commander types.Commander) Installer
- func NewMavenInstaller(commander types.Commander) Installer
- func NewNpmInstaller(commander types.Commander) Installer
- func NewPipInstaller(commander types.Commander) Installer
- type MavenInstaller
- type NpmInstaller
- type PipInstaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleInstaller ¶
type BundleInstaller struct {
// contains filtered or unexported fields
}
BundleInstaller installs Ruby gems using bundle or edits Gemfile
type ComposerInstaller ¶
type ComposerInstaller struct {
// contains filtered or unexported fields
}
ComposerInstaller installs PHP packages using composer or edits composer.json
type DotNetInstaller ¶
type DotNetInstaller struct {
// contains filtered or unexported fields
}
DotNetInstaller installs .NET packages using dotnet CLI or edits .csproj
type GoInstaller ¶
type GoInstaller struct {
// contains filtered or unexported fields
}
GoInstaller installs go modules using `go get` or edits go.mod
type Installer ¶
type Installer interface {
Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error
}
Installer installs requested dependencies for a language/ecosystem
func NewBundleInstaller ¶
NewBundleInstaller creates a new bundle installer
func NewComposerInstaller ¶
NewComposerInstaller creates a new composer installer
func NewDotNetInstaller ¶
NewDotNetInstaller creates a new .NET installer
func NewGoInstaller ¶
NewGoInstaller creates a new Go installer
func NewMavenInstaller ¶
NewMavenInstaller creates a new Maven installer
func NewNpmInstaller ¶
NewNpmInstaller creates a new npm installer
func NewPipInstaller ¶
NewPipInstaller creates a new pip installer
type MavenInstaller ¶
type MavenInstaller struct {
// contains filtered or unexported fields
}
MavenInstaller installs Java dependencies using Maven
type NpmInstaller ¶
type NpmInstaller struct {
// contains filtered or unexported fields
}
NpmInstaller installs npm packages using `npm install` or edits package.json
type PipInstaller ¶
type PipInstaller struct {
// contains filtered or unexported fields
}
PipInstaller installs Python packages using pip or edits requirements.txt