finalize

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2018 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) AssetGemfileLockExists added in v1.7.4

func (f *Finalizer) AssetGemfileLockExists() 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() 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