mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
14 lines
359 B
JavaScript
Executable File
14 lines
359 B
JavaScript
Executable File
const { FunctionService } = require("m3o/function");
|
|
|
|
// Get the info for a deployed function
|
|
async function describeFunctionStatus() {
|
|
let functionService = new FunctionService(process.env.MICRO_API_TOKEN);
|
|
let rsp = await functionService.describe({
|
|
name: "my-first-func",
|
|
project: "tests",
|
|
});
|
|
console.log(rsp);
|
|
}
|
|
|
|
describeFunctionStatus();
|