Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseFrontEnd ¶
func (*BaseFrontEnd) FrontEndName ¶
func (bf *BaseFrontEnd) FrontEndName() string
func (*BaseFrontEnd) GetId ¶
func (fe *BaseFrontEnd) GetId(p string) (id string, err error)
Returns the ID for a given lambda path Id's are used to identify an individual lambda throughout the system Docker image tags are an example use of Id's
Given 'hello/my/name.go' Returns 'hello-my-name'
func (*BaseFrontEnd) OlDirLocation ¶
func (bf *BaseFrontEnd) OlDirLocation() string
func (*BaseFrontEnd) ProjectDirLocation ¶
func (bf *BaseFrontEnd) ProjectDirLocation() string
type FrontEnd ¶
type FrontEnd interface {
// Adds a template lambda at <location>
// Must be provided by frontend
AddLambda(location string)
// Builds lambda at <path>
// Must be provided by frontend
BuildLambda(path string)
// Returns the ID for a given lambda path
// Id's are used to identify an individual lambda throughout the system
// Docker image tags are an example use of Id's
// Implemented in base.go, override only if needed
GetId(path string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.