langs

package
v0.0.0-...-3912389 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoLangHelper

type GoLangHelper struct {
}

func (*GoLangHelper) AfterBuild

func (lh *GoLangHelper) AfterBuild() error

func (*GoLangHelper) Entrypoint

func (lh *GoLangHelper) Entrypoint() string

func (*GoLangHelper) HasPreBuild

func (lh *GoLangHelper) HasPreBuild() bool

func (*GoLangHelper) PreBuild

func (lh *GoLangHelper) PreBuild() error

PreBuild for Go builds the binary so the final image can be as small as possible

type LangHelper

type LangHelper interface {
	Entrypoint() string
	HasPreBuild() bool
	PreBuild() error
	AfterBuild() error
}

func GetLangHelper

func GetLangHelper(lang string) (LangHelper, error)

GetLangHelper returns a LangHelper for the passed in language

type NodeLangHelper

type NodeLangHelper struct {
}

func (*NodeLangHelper) AfterBuild

func (lh *NodeLangHelper) AfterBuild() error

func (*NodeLangHelper) Entrypoint

func (lh *NodeLangHelper) Entrypoint() string

func (*NodeLangHelper) HasPreBuild

func (lh *NodeLangHelper) HasPreBuild() bool

func (*NodeLangHelper) PreBuild

func (lh *NodeLangHelper) PreBuild() error

PreBuild for Go builds the binary so the final image can be as small as possible

type RubyLangHelper

type RubyLangHelper struct {
}

func (*RubyLangHelper) AfterBuild

func (lh *RubyLangHelper) AfterBuild() error

func (*RubyLangHelper) Entrypoint

func (lh *RubyLangHelper) Entrypoint() string

func (*RubyLangHelper) HasPreBuild

func (lh *RubyLangHelper) HasPreBuild() bool

func (*RubyLangHelper) PreBuild

func (lh *RubyLangHelper) PreBuild() error

PreBuild for Go builds the binary so the final image can be as small as possible

Jump to

Keyboard shortcuts

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