pkg

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CoreImg       = "ghcr.io/funlessdev/core:latest"
	WorkerImg     = "ghcr.io/funlessdev/worker:latest"
	LocalLogsPath = "funless-logs"

	DefaultTemplateRepository = "https://github.com/funlessdev/fl-templates.git"
	ConfigDir                 = ".fl"
)

Variables

View Source
var SupportedLanguages = map[string]Language{
	"js": {
		Name:             "Javascript",
		BuilderImage:     "ghcr.io/funlessdev/fl-js-builder:latest",
		Extensions:       []string{".js"},
		MustContainFiles: []string{"package.json"},
	},
	"rust": {
		Name:             "Rust",
		BuilderImage:     "ghcr.io/funlessdev/fl-rust-builder:latest",
		Extensions:       []string{".rs"},
		MustContainFiles: []string{"Cargo.toml"},
	},
}

Functions

func Copy added in v0.3.0

func Copy(src string, dest string) error

Types

type Language added in v0.3.0

type Language struct {
	Name             string
	BuilderImage     string
	Extensions       []string
	MustContainFiles []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL