-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.js
26 lines (22 loc) · 997 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"use strict";
const ScalewayProvider = require("./provider/scalewayProvider");
const ScalewayDeploy = require("./deploy/scalewayDeploy");
const ScalewayRemove = require("./remove/scalewayRemove");
const ScalewayInvoke = require("./invoke/scalewayInvoke");
const ScalewayJwt = require("./jwt/scalewayJwt");
const ScalewayLogs = require("./logs/scalewayLogs");
const ScalewayInfo = require("./info/scalewayInfo");
class ScalewayIndex {
constructor(serverless, options) {
this.serverless = serverless;
this.options = options;
this.serverless.pluginManager.addPlugin(ScalewayProvider);
this.serverless.pluginManager.addPlugin(ScalewayDeploy);
this.serverless.pluginManager.addPlugin(ScalewayRemove);
this.serverless.pluginManager.addPlugin(ScalewayInvoke);
this.serverless.pluginManager.addPlugin(ScalewayJwt);
this.serverless.pluginManager.addPlugin(ScalewayLogs);
this.serverless.pluginManager.addPlugin(ScalewayInfo);
}
}
module.exports = ScalewayIndex;