mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
function: Describe + Delete endpoints (#230)
This commit is contained in:
13
examples/function/describe/node/describeFunctionStatus.js
Executable file
13
examples/function/describe/node/describeFunctionStatus.js
Executable file
@@ -0,0 +1,13 @@
|
||||
import * as fx from "m3o/function";
|
||||
|
||||
//
|
||||
async function DescribeFunctionStatus() {
|
||||
let functionService = new fx.FunctionService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await functionService.describe({
|
||||
name: "my-first-func",
|
||||
project: "tests",
|
||||
});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await DescribeFunctionStatus();
|
||||
Reference in New Issue
Block a user