Documentation
¶
Index ¶
- Constants
- func CompileGo(ctx context.Context, r ContainerRunner, inPath string, outPath string, ...) error
- func Exists(path string) bool
- func FindCacheRoot() (string, error)
- func FindGoProjectRoot(path string) (string, error)
- func NewFastGoContainerCfg(cacheDir string, goDir string, inDir string, inFile string, outDir string, ...) container.Config
- func NewGoCompilerCfg(inPath string, outPath string, reproducible bool) (container.Config, error)
- func NewReproducibleGoContainerCfg(inDir string, inFile string, outDir string, outFile string) container.Config
- func NormalizeInput(inPath string) (string, string, error)
- func NormalizeOutput(outPath string) (string, string, error)
- func RelToRoot(root string, in string) (string, error)
- func Split(path string) (string, string, error)
- type ContainerRunner
Constants ¶
View Source
const ( // TinyGo hash points to tinygo/0.34.0 TinyGo = "tinygo/tinygo@sha256:79c73c4246a1079e648d6e8425bae4654f26d2baed24c96537a8893b41c04d26" TinyGoGID = 1000 TinyGoUID = 1000 BkycPrefix = "bkyc-tinygo" FixedSourceDateEpoch = "1234567890" )
Variables ¶
This section is empty.
Functions ¶
func FindCacheRoot ¶
func FindGoProjectRoot ¶
func NewFastGoContainerCfg ¶
func NewGoCompilerCfg ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.