builder

package module
v0.0.0-...-ae37617 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GoLanguage is the language for go
	GoLanguage = "go"
	// PythonLanguage is the language for python
	PythonLanguage = "python"
	// BashLanguage is the language for bash
	BashLanguage = "bash"

	// TemplatesFolder is the folder for the templates in the fixtures
	TemplatesFolder = "templates"
)

Variables

This section is empty.

Functions

func NewBuildContextGetter

func NewBuildContextGetter(tmpdir string, fixtures fs.FS) *buildContextGetter

Types

type BuildContextGetter

type BuildContextGetter interface {
	GetBuildContext(context.Context, BuildContextGetterOptions, io.Writer) error
}

BuildContextGetter is an interface for getting build context for a function

type BuildContextGetterOptions

type BuildContextGetterOptions struct {
	Language           string
	Source             string
	SourceDependencies []string
}

BuildContextGetterOptions is the options for getting build context for a function

type Builder

type Builder interface {
	Build() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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