finalize

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 11 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
	Log     *libbuildpack.Logger
	Command Command
	Config  *config.Config
	Project *project.Project
}

func (*Finalizer) CleanStagingArea

func (f *Finalizer) CleanStagingArea() error

func (*Finalizer) DotnetPublish

func (f *Finalizer) DotnetPublish() error

func (*Finalizer) DotnetRestore

func (f *Finalizer) DotnetRestore() error

func (*Finalizer) GenerateReleaseYaml

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

func (*Finalizer) WriteProfileD

func (f *Finalizer) WriteProfileD() error

type Project

type Project interface {
	IsPublished() (bool, error)
	StartCommand() (string, error)
	InstallFrameworks() error
	ProjFilePaths() ([]string, error)
	MainPath() (string, error)
}

type Stager

type Stager interface {
	BuildDir() string
	DepsIdx() string
	DepDir() string
	WriteProfileD(string, string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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