-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
65 lines (63 loc) · 2.68 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// src/index.js
import Applications from './src/applications.js';
import Admin from './src/admin.js';
import Auth from './src/auth.js';
import Backup from './src/backup.js';
import Certificates from './src/certificates.js';
import Cluster from './src/cluster.js';
import Compose from './src/compose.js';
import Deployment from './src/deployment.js';
import Destination from './src/destination.js';
import Docker from './src/docker.js';
import Domain from './src/domain.js';
import MariaDB from './src/mariadb.js';
import Mongo from './src/mongo.js';
import Mounts from './src/mounts.js';
import MySQL from './src/mysql.js';
import Port from './src/port.js';
import Postgres from './src/postgres.js';
import Project from './src/project.js';
import Redirects from './src/redirects.js';
import Redis from './src/redis.js';
import Registry from './src/registry.js';
import Security from './src/security.js';
import Settings from './src/settings.js';
import SSHKey from './src/sshKey.js';
import GitProvider from './src/gitProvider.js';
import Bitbucket from './src/bitbucket.js';
import Github from './src/github.js';
import Gitlab from './src/gitlab.js';
import User from './src/user.js';
export default class Dokploy {
constructor(baseUrl, apiToken) {
this.applications = new Applications(baseUrl, apiToken);
this.admin = new Admin(baseUrl, apiToken);
this.auth = new Auth(baseUrl, apiToken);
this.backup = new Backup(baseUrl, apiToken);
this.certificates = new Certificates(baseUrl, apiToken);
this.cluster = new Cluster(baseUrl, apiToken);
this.compose = new Compose(baseUrl, apiToken);
this.deployment = new Deployment(baseUrl, apiToken);
this.destination = new Destination(baseUrl, apiToken);
this.docker = new Docker(baseUrl, apiToken);
this.domain = new Domain(baseUrl, apiToken);
this.mariadb = new MariaDB(baseUrl, apiToken);
this.mongo = new Mongo(baseUrl, apiToken);
this.mounts = new Mounts(baseUrl, apiToken);
this.mysql = new MySQL(baseUrl, apiToken);
this.port = new Port(baseUrl, apiToken);
this.postgres = new Postgres(baseUrl, apiToken);
this.project = new Project(baseUrl, apiToken);
this.redirects = new Redirects(baseUrl, apiToken);
this.redis = new Redis(baseUrl, apiToken);
this.registry = new Registry(baseUrl, apiToken);
this.security = new Security(baseUrl, apiToken);
this.settings = new Settings(baseUrl, apiToken);
this.sshKey = new SSHKey(baseUrl, apiToken);
this.gitProvider = new GitProvider(baseUrl, apiToken);
this.bitbucket = new Bitbucket(baseUrl, apiToken);
this.github = new Github(baseUrl, apiToken);
this.gitlab = new Gitlab(baseUrl, apiToken);
this.user = new User(baseUrl, apiToken);
}
}