langs

package
v0.0.0-...-888a0f9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotNetLangHelper

type DotNetLangHelper struct{}

func (*DotNetLangHelper) AfterBuild

func (lh *DotNetLangHelper) AfterBuild() error

func (*DotNetLangHelper) Entrypoint

func (lh *DotNetLangHelper) Entrypoint() string

func (*DotNetLangHelper) HasPreBuild

func (lh *DotNetLangHelper) HasPreBuild() bool

func (*DotNetLangHelper) PreBuild

func (lh *DotNetLangHelper) PreBuild() error

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

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 PythonHelper

type PythonHelper struct {
}

func (*PythonHelper) AfterBuild

func (lh *PythonHelper) AfterBuild() error

func (*PythonHelper) Entrypoint

func (lh *PythonHelper) Entrypoint() string

func (*PythonHelper) HasPreBuild

func (lh *PythonHelper) HasPreBuild() bool

func (*PythonHelper) PreBuild

func (lh *PythonHelper) 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

type RustLangHelper

type RustLangHelper struct{}

func (*RustLangHelper) AfterBuild

func (lh *RustLangHelper) AfterBuild() error

func (*RustLangHelper) Entrypoint

func (lh *RustLangHelper) Entrypoint() string

func (*RustLangHelper) HasPreBuild

func (lh *RustLangHelper) HasPreBuild() bool

func (*RustLangHelper) PreBuild

func (lh *RustLangHelper) PreBuild() error

PreBuild for rust 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