Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function registerScriptWithOptions
import { registerScriptWithOptions } from "https://deno.land/x/pterodactyl@v0.6.0/web.js";

Register a javascript file with functions annotated as tasks or workflows to a running flyte cluster so that it can be executed.

Parameters

pkgs
  • File system path or url to script to register.
image
  • Container image to run registered tasks with.
endpoint
  • URL or ip where the flyte api is hosted.
project
  • Project in which to register.
domain
  • Domain in which to register.
version
  • Version to register as.