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) AssetGemfileLockExists() error
- func (s *Supplier) CalcChecksum() (string, error)
- func (s *Supplier) CreateDefaultEnv() error
- func (s *Supplier) DetermineRuby() (string, string, 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) 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) AssetGemfileLockExists ¶
func (*Supplier) CalcChecksum ¶
func (*Supplier) CreateDefaultEnv ¶
func (*Supplier) InstallBundler ¶
func (*Supplier) InstallGems ¶
func (*Supplier) InstallJVM ¶
func (*Supplier) InstallNode ¶
func (*Supplier) InstallRuby ¶
func (*Supplier) InstallYarn ¶
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.