ecosystem

package
v0.0.0-...-37118a4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotNet

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

func (*DotNet) Add

func (e *DotNet) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)

func (*DotNet) Apply

func (e *DotNet) Apply() error

func (*DotNet) Init

func (e *DotNet) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*DotNet) Namespaces

func (e *DotNet) Namespaces() []string

func (*DotNet) Remove

func (e *DotNet) Remove(name, version string, installedFiles []string) (rerr error)

type Golang

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

func (*Golang) Add

func (e *Golang) Add(artifact *buildplan.Artifact, artifactSrcPath string) (_ []string, rerr error)

Unpack the module into the proxy directory. We also inject the GOPROXY environment variable into runtime.json to force offline use. We also inject GOMODCACHE to avoid polluting the default user cache.

func (*Golang) Apply

func (e *Golang) Apply() error

Create/update each added module's version list file.

func (*Golang) Init

func (e *Golang) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*Golang) Namespaces

func (e *Golang) Namespaces() []string

func (*Golang) Remove

func (e *Golang) Remove(name, version string, installedFiles []string) (rerr error)

Remove a module's .mod and .zip files from the filesystem proxy.

type Java

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

func (*Java) Add

func (e *Java) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)

func (*Java) Apply

func (e *Java) Apply() error

func (*Java) Init

func (e *Java) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*Java) Namespaces

func (e *Java) Namespaces() []string

func (*Java) Remove

func (e *Java) Remove(name, version string, installedFiles []string) (rerr error)

type JavaScript

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

func (*JavaScript) Add

func (e *JavaScript) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)

func (*JavaScript) Apply

func (e *JavaScript) Apply() error

func (*JavaScript) Init

func (e *JavaScript) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*JavaScript) Namespaces

func (e *JavaScript) Namespaces() []string

func (*JavaScript) Remove

func (e *JavaScript) Remove(name, version string, installedFiles []string) error

type R

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

func (*R) Add

func (e *R) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)

func (*R) Apply

func (e *R) Apply() error

func (*R) Init

func (e *R) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*R) Namespaces

func (e *R) Namespaces() []string

func (*R) Remove

func (e *R) Remove(name, version string, installedFiles []string) (rerr error)

type Rust

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

func (*Rust) Add

func (e *Rust) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)

Unpack the crate into the vendor directory. We also inject the CARGO_HOME environment variable into runtime.json so cargo will look for our vendored artifacts instead of downloading its own.

func (*Rust) Apply

func (e *Rust) Apply() error

Create a Cargo config file that tells Cargo to use our vendored crates instead of downloading its own.

func (*Rust) Init

func (e *Rust) Init(runtimePath string, buildplan *buildplan.BuildPlan) error

func (*Rust) Namespaces

func (e *Rust) Namespaces() []string

func (*Rust) Remove

func (e *Rust) Remove(name, version string, installedFiles []string) (rerr error)

Jump to

Keyboard shortcuts

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