finalize

package
v1.10.13 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(f *Finalizer) error

Types

type Command

type Command interface {
	Run(*exec.Cmd) error
}

type Finalizer

type Finalizer struct {
	Stager           Stager
	Versions         Versions
	Log              *libbuildpack.Logger
	Command          Command
	Gem12Factor      bool
	GemStaticAssets  bool
	GemStdoutLogging bool
	RailsVersion     int
}

func (*Finalizer) AssertGemfileLockExists added in v1.7.26

func (f *Finalizer) AssertGemfileLockExists(gemfileName string) error

func (*Finalizer) BestPracticeWarnings

func (f *Finalizer) BestPracticeWarnings()

func (*Finalizer) CopyToAppBin

func (f *Finalizer) CopyToAppBin() error

func (*Finalizer) DeleteVendorBundle

func (f *Finalizer) DeleteVendorBundle() error

func (*Finalizer) GenerateReleaseYaml

func (f *Finalizer) GenerateReleaseYaml() (map[string]map[string]string, error)

func (*Finalizer) InstallPlugins

func (f *Finalizer) InstallPlugins() error

func (*Finalizer) PrecompileAssets

func (f *Finalizer) PrecompileAssets() error

func (*Finalizer) RestoreBundleConfig

func (f *Finalizer) RestoreBundleConfig() error

func (*Finalizer) RestoreGemfileLock

func (f *Finalizer) RestoreGemfileLock(gemfileName string) error

func (*Finalizer) Setup

func (f *Finalizer) Setup() error

func (*Finalizer) WriteDatabaseYml

func (f *Finalizer) WriteDatabaseYml() error

type Stager

type Stager interface {
	BuildDir() string
	DepsIdx() string
	DepDir() string
}

type Versions

type Versions interface {
	HasGem(string) (bool, error)
	GemMajorVersion(string) (int, error)
	HasGemVersion(string, ...string) (bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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