Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultRuntimeName = "deno"
DefaultRuntimeName is the runtime used when none are specified or detected
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime interface {
IgnoreDirectories() []string
InstallProjectDependencies(context.Context, string, hooks.HookExecutor, iostreams.IOStreamer, afero.Fs, types.Os) (string, error)
Name() string
Version() string
SetVersion(string)
HooksJSONTemplate() []byte
PreparePackage(context.Context, hooks.SDKCLIConfig, hooks.HookExecutor, types.PreparePackageOpts) error
}
Runtime interface generalizes the required functionality for any runtime language. Example runtimes: Node.js, Deno, Python, Java, etc.
Click to show internal directories.
Click to hide internal directories.