CH-J Toolsgestion de serveur sur SSH
Menu
Source publiée

CH-J Tools

Parcourez les répertoires et les fichiers pour une version spécifique de l'application.

Télécharger la source ZIP
CH-J / Server Manager 1704 fichiers
0.1.2-beta Ajouté: · Construit:
network.ts Ajouté: Date non enregistrée 869 B · 19 lignes
Code Télécharger le fichier
1/** Network interfaces and the firewall (`network.read`, `network.manage`). */
2import { call } from "../transport";
3import type { Payload } from "../types";
5const command = (name: string, action: string) => (payload: Payload = {}) => call<Payload>(`module_network_${name}`, `plugin:network:${action}`, payload);
7export const network = Object.freeze({
8 inspect: command("inspect", "inspect"),
9 pending: command("pending", "pending"),
10 diagnose: command("diagnose", "diagnose"),
11 planInterface: command("plan_interface", "planInterface"),
12 planFirewall: command("plan_firewall", "planFirewall"),
13 apply: command("apply", "apply"),
14 verify: command("verify", "verify"),
15 confirm: command("confirm", "confirm"),
16 rollback: command("rollback", "rollback"),
17 extend: command("extend", "extend"),
18 transactionLog: command("transaction_log", "transactionLog")
19});
SHA-256e71f9d7641659a88c8b5189a85c053586b6185e527eb40d013b0c4d77897aa43

CH-J Proprietary Software License 1.14 · La source est fournie sous CH-J Proprietary Software License 1.14. Sa disponibilité ne modifie pas les termes de la licence ni n'accorde de droits supplémentaires.

Archive SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Fichiers