Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHelper ¶
type BaseHelper struct { }
BaseHelper is empty implementation of LangHelper for embedding in implementations.
func (*BaseHelper) Cmd ¶
func (h *BaseHelper) Cmd() string
type DotNetLangHelper ¶
type DotNetLangHelper struct {
BaseHelper
}
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 {
BaseHelper
}
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 JavaLangHelper ¶
type JavaLangHelper struct {
BaseHelper
}
func (*JavaLangHelper) AfterBuild ¶
func (lh *JavaLangHelper) AfterBuild() error
func (*JavaLangHelper) Entrypoint ¶
func (lh *JavaLangHelper) Entrypoint() string
func (*JavaLangHelper) HasPreBuild ¶
func (lh *JavaLangHelper) HasPreBuild() bool
func (*JavaLangHelper) PreBuild ¶
func (lh *JavaLangHelper) PreBuild() error
PreBuild for Go builds the binary so the final image can be as small as possible
type LambdaNodeHelper ¶
type LambdaNodeHelper struct {
BaseHelper
}
func (*LambdaNodeHelper) AfterBuild ¶
func (lh *LambdaNodeHelper) AfterBuild() error
func (*LambdaNodeHelper) Cmd ¶
func (lh *LambdaNodeHelper) Cmd() string
func (*LambdaNodeHelper) Entrypoint ¶
func (lh *LambdaNodeHelper) Entrypoint() string
func (*LambdaNodeHelper) HasPreBuild ¶
func (lh *LambdaNodeHelper) HasPreBuild() bool
func (*LambdaNodeHelper) PreBuild ¶
func (lh *LambdaNodeHelper) PreBuild() error
PreBuild for Go builds the binary so the final image can be as small as possible
type LangHelper ¶
type LangHelper interface { // Entrypoint sets the Docker Entrypoint. One of Entrypoint or Cmd is required. Entrypoint() string // Cmd sets the Docker command. One of Entrypoint or Cmd is required. Cmd() string HasPreBuild() bool PreBuild() error AfterBuild() error }
func GetLangHelper ¶
func GetLangHelper(lang string) LangHelper
GetLangHelper returns a LangHelper for the passed in language
type NodeLangHelper ¶
type NodeLangHelper struct {
BaseHelper
}
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 {
BaseHelper
}
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 {
BaseHelper
}
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 {
BaseHelper
}
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