Documentation
¶
Index ¶
- type DotNet
- func (e *DotNet) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)
- func (e *DotNet) Apply() error
- func (e *DotNet) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *DotNet) Namespaces() []string
- func (e *DotNet) Remove(name, version string, installedFiles []string) (rerr error)
- type Golang
- func (e *Golang) Add(artifact *buildplan.Artifact, artifactSrcPath string) (_ []string, rerr error)
- func (e *Golang) Apply() error
- func (e *Golang) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *Golang) Namespaces() []string
- func (e *Golang) Remove(name, version string, installedFiles []string) (rerr error)
- type Java
- func (e *Java) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)
- func (e *Java) Apply() error
- func (e *Java) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *Java) Namespaces() []string
- func (e *Java) Remove(name, version string, installedFiles []string) (rerr error)
- type JavaScript
- func (e *JavaScript) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)
- func (e *JavaScript) Apply() error
- func (e *JavaScript) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *JavaScript) Namespaces() []string
- func (e *JavaScript) Remove(name, version string, installedFiles []string) error
- type R
- func (e *R) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)
- func (e *R) Apply() error
- func (e *R) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *R) Namespaces() []string
- func (e *R) Remove(name, version string, installedFiles []string) (rerr error)
- type Rust
- func (e *Rust) Add(artifact *buildplan.Artifact, artifactSrcPath string) ([]string, error)
- func (e *Rust) Apply() error
- func (e *Rust) Init(runtimePath string, buildplan *buildplan.BuildPlan) error
- func (e *Rust) Namespaces() []string
- func (e *Rust) Remove(name, version string, installedFiles []string) (rerr error)
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) Namespaces ¶
type Golang ¶
type Golang struct {
// contains filtered or unexported fields
}
func (*Golang) Add ¶
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) Namespaces ¶
type Java ¶
type Java struct {
// contains filtered or unexported fields
}
func (*Java) Namespaces ¶
type JavaScript ¶
type JavaScript struct {
// contains filtered or unexported fields
}
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
type R ¶
type R struct {
// contains filtered or unexported fields
}
func (*R) Namespaces ¶
type Rust ¶
type Rust struct {
// contains filtered or unexported fields
}
func (*Rust) Add ¶
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 ¶
Create a Cargo config file that tells Cargo to use our vendored crates instead of downloading its own.
func (*Rust) Namespaces ¶
Click to show internal directories.
Click to hide internal directories.