Documentation
¶
Index ¶
- func Run(s *Supplier) error
- type Cache
- type Command
- type IndentedWriter
- type Installer
- type LinuxTempDir
- type Manifest
- type Stager
- type Supplier
- func (s *Supplier) AddPostRubyInstallDefaultEnv(engine string) error
- func (s *Supplier) CalcChecksum() (string, error)
- func (s *Supplier) CreateDefaultEnv() error
- func (s *Supplier) DetermineRuby() (string, string, error)
- func (s *Supplier) EnableLDLibraryPathEnv() error
- func (s *Supplier) InstallBundler() error
- func (s *Supplier) InstallGems() error
- func (s *Supplier) InstallJVM() error
- func (s *Supplier) InstallNode() error
- func (s *Supplier) InstallRuby(name, version string) error
- func (s *Supplier) InstallYarn() error
- func (s *Supplier) NeedsNode() bool
- func (s *Supplier) RewriteShebangs() error
- func (s *Supplier) Setup() error
- func (s *Supplier) SymlinkBundlerIntoRubygems() error
- func (s *Supplier) UpdateRubygems() error
- func (s *Supplier) WriteProfileD(engine string) error
- type TempDir
- type Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndentedWriter ¶
type IndentedWriter struct {
// contains filtered or unexported fields
}
type Installer ¶ added in v1.7.19
type Installer interface {
InstallDependency(libbuildpack.Dependency, string) error
InstallOnlyVersion(string, string) error
}
type LinuxTempDir ¶ added in v1.7.20
type LinuxTempDir struct {
Log *libbuildpack.Logger
}
func (*LinuxTempDir) CopyDirToTemp ¶ added in v1.7.20
func (t *LinuxTempDir) CopyDirToTemp(dir string) (string, error)
type Manifest ¶
type Manifest interface {
AllDependencyVersions(string) []string
DefaultVersion(string) (libbuildpack.Dependency, error)
}
type Supplier ¶
type Supplier struct {
Stager Stager
Manifest Manifest
Installer Installer
Log *libbuildpack.Logger
Versions Versions
Cache Cache
Command Command
TempDir TempDir
// contains filtered or unexported fields
}
func (*Supplier) AddPostRubyInstallDefaultEnv ¶
func (*Supplier) CalcChecksum ¶
func (*Supplier) CreateDefaultEnv ¶
func (*Supplier) EnableLDLibraryPathEnv ¶ added in v1.7.7
func (*Supplier) InstallBundler ¶
func (*Supplier) InstallGems ¶
func (*Supplier) InstallJVM ¶
func (*Supplier) InstallNode ¶
func (*Supplier) InstallRuby ¶
func (*Supplier) InstallYarn ¶
func (*Supplier) RewriteShebangs ¶ added in v1.7.1
func (*Supplier) SymlinkBundlerIntoRubygems ¶ added in v1.7.11
func (*Supplier) UpdateRubygems ¶
func (*Supplier) WriteProfileD ¶
type Versions ¶
type Versions interface {
SetBundlerVersion(string)
GetBundlerVersion() string
CheckBundler2Compatibility() (bool, error)
Engine() (string, error)
Version() (string, error)
JrubyVersion() (string, error)
RubyEngineVersion() (string, error)
HasGemVersion(gem string, constraints ...string) (bool, error)
VersionConstraint(version string, constraints ...string) (bool, error)
HasWindowsGemfileLock() (bool, error)
Gemfile() string
}
Click to show internal directories.
Click to hide internal directories.