Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeBuildContext ¶
type RuntimeBuildContext struct { DockerfileContents string BaseDirectory string BuildArguments map[string]string IgnoreFileContents string }
func NewBuildContext ¶
func NewBuildContext(entrypointFilePath string, dockerfilePath string, baseDirectory string, buildArgs map[string]string, additionalIgnores []string, fs afero.Fs) (*RuntimeBuildContext, error)
NewBuildContext - Creates a new runtime build context. if a dockerfile path is provided a custom runtime is assumed, otherwise the entrypoint file is used for automatic detection of language runtime.
type RuntimeExt ¶
type RuntimeExt = string
const ( RuntimeTypescript RuntimeExt = "ts" RuntimeJavascript RuntimeExt = "js" RuntimePython RuntimeExt = "py" RuntimeCsharp RuntimeExt = "cs" RuntimeJvm RuntimeExt = "jar" RuntimeUnknown RuntimeExt = "" )
Click to show internal directories.
Click to hide internal directories.