Help us shape the future of Go! Take the 2026 Go Developer Survey

finalize

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: Apache-2.0, MIT Imports: 9 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) 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