From 87d772a7d708fec12f48cd8adc0dedff6e1025da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Aug 2024 10:15:20 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- .../go.d.plugin/modules/openvpn/client/commands.go | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/go/collectors/go.d.plugin/modules/openvpn/client/commands.go (limited to 'src/go/collectors/go.d.plugin/modules/openvpn/client/commands.go') diff --git a/src/go/collectors/go.d.plugin/modules/openvpn/client/commands.go b/src/go/collectors/go.d.plugin/modules/openvpn/client/commands.go deleted file mode 100644 index f06b05c90..000000000 --- a/src/go/collectors/go.d.plugin/modules/openvpn/client/commands.go +++ /dev/null @@ -1,38 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later - -package client - -/* -https://openvpn.net/community-resources/management-interface/ - -OUTPUT FORMAT -------------- - -(1) Command success/failure indicated by "SUCCESS: [text]" or - "ERROR: [text]". - -(2) For commands which print multiple lines of output, - the last line will be "END". - -(3) Real-time messages will be in the form ">[source]:[text]", - where source is "CLIENT", "ECHO", "FATAL", "HOLD", "INFO", "LOG", - "NEED-OK", "PASSWORD", or "STATE". -*/ - -var ( - // Close the management session, and resume listening on the - // management port for connections from other clients. Currently, - // the OpenVPN daemon can at most support a single management client - // any one time. - commandExit = "exit\n" - - // Show current daemon status information, in the same format as - // that produced by the OpenVPN --status directive. - commandStatus3 = "status 3\n" - - // no description in docs ¯\(°_o)/¯ - commandLoadStats = "load-stats\n" - - // Show the current OpenVPN and Management Interface versions. - commandVersion = "version\n" -) -- cgit v1.2.3