Documentation ¶
Index ¶
- func Run(s *Supplier) error
- type Cache
- type Command
- type IndentedWriter
- 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 Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndentedWriter ¶
type IndentedWriter struct {
// contains filtered or unexported fields
}
type Manifest ¶
type Manifest interface { AllDependencyVersions(string) []string InstallDependency(libbuildpack.Dependency, string) error InstallOnlyVersion(string, string) error DefaultVersion(string) (libbuildpack.Dependency, error) }
type Supplier ¶
type Supplier struct { Stager Stager Manifest Manifest Log *libbuildpack.Logger Versions Versions Cache Cache Command Command // 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 { 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.