Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collect ¶
type Collect struct { Config *Config Server *srv.Config Username string Password string Logger *util.Logger }
Collect collects the required parameters.
type Config ¶
type Config struct { ExportConfigKeys []string ConfigPath string CaCertPath string Pushed bool TimeOut int64 }
Config for pushing OpenVpn configuration. ExportConfigKeys - list of parameters that are exported to the OpenVpn client configuration from the OpenVpn server configuration. ConfigPath - absolute path to OpenVpn server configuration file. CaCertPath - absolute path to Ca certificate file Pushed - if the configuration is passed to the Session server then this parameter is true. TimeOut - pause between attempts to send a configuration to the Session server.
Click to show internal directories.
Click to hide internal directories.