installer

package
v0.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

func (*BundleInstaller) Install

func (i *BundleInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs Ruby dependencies

type ComposerInstaller

type ComposerInstaller struct {
	// contains filtered or unexported fields
}

ComposerInstaller installs PHP packages using composer or edits composer.json

func (*ComposerInstaller) Install

func (i *ComposerInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs PHP dependencies

type DotNetInstaller

type DotNetInstaller struct {
	// contains filtered or unexported fields
}

DotNetInstaller installs .NET packages using dotnet CLI or edits .csproj

func (*DotNetInstaller) Install

func (i *DotNetInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs .NET dependencies

type GoInstaller

type GoInstaller struct {
	// contains filtered or unexported fields
}

GoInstaller installs go modules using `go get` or edits go.mod

func (*GoInstaller) Install

func (i *GoInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs Go dependencies

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

func NewBundleInstaller(commander types.Commander) Installer

NewBundleInstaller creates a new bundle installer

func NewComposerInstaller

func NewComposerInstaller(commander types.Commander) Installer

NewComposerInstaller creates a new composer installer

func NewDotNetInstaller

func NewDotNetInstaller(commander types.Commander) Installer

NewDotNetInstaller creates a new .NET installer

func NewGoInstaller

func NewGoInstaller(commander types.Commander) Installer

NewGoInstaller creates a new Go installer

func NewMavenInstaller

func NewMavenInstaller(commander types.Commander) Installer

NewMavenInstaller creates a new Maven installer

func NewNpmInstaller

func NewNpmInstaller(commander types.Commander) Installer

NewNpmInstaller creates a new npm installer

func NewPipInstaller

func NewPipInstaller(commander types.Commander) Installer

NewPipInstaller creates a new pip installer

type MavenInstaller

type MavenInstaller struct {
	// contains filtered or unexported fields
}

MavenInstaller installs Java dependencies using Maven

func (*MavenInstaller) Install

func (i *MavenInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs Java dependencies

type NpmInstaller

type NpmInstaller struct {
	// contains filtered or unexported fields
}

NpmInstaller installs npm packages using `npm install` or edits package.json

func (*NpmInstaller) Install

func (i *NpmInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs npm dependencies

type PipInstaller

type PipInstaller struct {
	// contains filtered or unexported fields
}

PipInstaller installs Python packages using pip or edits requirements.txt

func (*PipInstaller) Install

func (i *PipInstaller) Install(ctx context.Context, projectPath string, dependencies []string, dryRun bool) error

Install installs Python dependencies

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL