Documentation
¶
Index ¶
- Constants
- func Bundle(configDir string, files []string, outfile string) ([]byte, error)
- func BundleNodeWorker(configDir string, roots []Root, outfile string) error
- func Dirs(roots []Root) ([]string, error)
- func Discover(configDir string, paths []string) ([]string, error)
- func GoWorkerPackage(configDir string, roots []Root, moduleDir string) (string, error)
- func IsSkippedDir(name string) bool
- func PythonInterpreter(runRoot string) string
- func RenderNodeWorkerEntry(projectDir string, roots []Root) (source, resolveDir string, err error)
- func RenderPythonWorkerEntry(packages []PythonPackage) string
- func Run(ctx context.Context, configDir string, programs Programs, server Server, ...) (err error)
- func WorkerCommand(ctx context.Context, configDir string, roots []Root, served Root, ...) (*tracing.Cmd, error)
- func WriteGoWorkerEntry(configDir string, roots []Root, served Root) (string, string, error)
- type Programs
- type PythonPackage
- type Root
- type Server
Constants ¶
View Source
const DefaultRootDirName = "infra"
Variables ¶
This section is empty.
Functions ¶
func GoWorkerPackage ¶
func IsSkippedDir ¶
func PythonInterpreter ¶
func RenderNodeWorkerEntry ¶
func RenderPythonWorkerEntry ¶
func RenderPythonWorkerEntry(packages []PythonPackage) string
func WorkerCommand ¶
Types ¶
type Programs ¶
type Programs struct {
Roots []Root
// contains filtered or unexported fields
}
func (Programs) Fingerprint ¶
type PythonPackage ¶
func ListPythonPackages ¶
func ListPythonPackages(configDir string, roots []Root, dir string) ([]PythonPackage, error)
Click to show internal directories.
Click to hide internal directories.