Documentation
¶
Index ¶
- Constants
- Variables
- func GetBindMounts(cwd, hostFuncDir, hostOutputDir, hostEntrypointPath, hostImportMapPath string, ...) ([]string, error)
- func GetFunctionConfig(slugs []string, importMapPath string, noVerifyJWT *bool, fsys afero.Fs) (config.FunctionConfig, error)
- func GetFunctionSlugs(fsys afero.Fs) (slugs []string, err error)
- func NewDockerBundler(fsys afero.Fs) function.EszipBundler
- func Run(ctx context.Context, slugs []string, useDocker bool, noVerifyJWT *bool, ...) error
- func RunVolcengine(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, ...) error
Constants ¶
View Source
const ( RuntimeAuto = "auto" RuntimeDeno = "deno" RuntimeNativeNode20 = "native-node20/v1" RuntimePython39 = "native-python3.9/v1" RuntimePython310 = "native-python3.10/v1" RuntimePython312 = "native-python3.12/v1" )
Variables ¶
View Source
var NativeRuntimes = map[string]string{ RuntimeNativeNode20: defaultVolcengineEntrypoint(RuntimeNativeNode20), RuntimePython39: defaultVolcengineEntrypoint(RuntimePython39), RuntimePython310: defaultVolcengineEntrypoint(RuntimePython310), RuntimePython312: defaultVolcengineEntrypoint(RuntimePython312), }
NativeRuntimes maps each supported native Edge Function runtime to its default entrypoint file. Single source of truth for "which native runtimes exist and their entrypoints", shared by the deploy command and the MCP deploy tool.
Functions ¶
func GetBindMounts ¶
func GetFunctionConfig ¶
func NewDockerBundler ¶
func NewDockerBundler(fsys afero.Fs) function.EszipBundler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.