Port kube.services to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
25862137da
commit
2417a7ba53
@ -1,5 +1,3 @@
|
||||
const testing = require("../services/mail.services");
|
||||
|
||||
import { logger } from "../utils/logger.utils";
|
||||
|
||||
async function getAlive() {
|
||||
@ -9,16 +7,11 @@ async function getAlive() {
|
||||
|
||||
async function getReady() {
|
||||
logger.trace("kubeServices.getReady: ready hook checked");
|
||||
testing.send({
|
||||
to: "fred@fjla.uk",
|
||||
subject: "OwlBoard Test",
|
||||
txt: "This is a test message from OwlBoard (testing)",
|
||||
});
|
||||
return "not_implemented";
|
||||
}
|
||||
|
||||
async function getTime() {
|
||||
var now = new Date();
|
||||
var now: Date = new Date();
|
||||
return { responseGenerated: now };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user