Documentation ¶
Index ¶
- Constants
- Variables
- type FA2s
- func (n *FA2s) Add(tmpl string, port uint16) (err error)
- func (n *FA2s) Command() (args, env []string, home string)
- func (n *FA2s) Config() *config.Config
- func (n *FA2s) Home() string
- func (n *FA2s) Host() *geneos.Host
- func (n *FA2s) Load() (err error)
- func (n *FA2s) Loaded() time.Time
- func (n *FA2s) Name() string
- func (n *FA2s) Rebuild(initial bool) error
- func (n *FA2s) Reload() (err error)
- func (n *FA2s) SetLoaded(t time.Time)
- func (n *FA2s) String() string
- func (n *FA2s) Type() *geneos.Component
- func (n *FA2s) Unload() (err error)
Constants ¶
View Source
const Name = "fa2"
Variables ¶
View Source
var FA2 = geneos.Component{ Name: "fa2", Aliases: []string{"fixanalyser", "fixanalyzer"}, LegacyPrefix: "fa2", ParentType: &netprobe.Netprobe, DownloadBase: geneos.DownloadBases{Default: "Fix+Analyser+2+Netprobe", Nexus: "geneos-fixanalyser2-netprobe"}, DownloadInfix: "fixanalyser2-netprobe", StripArchivePrefix: &prefix, GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7030,7100-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", "*.txt", "*.snooze", "*.user_assignment", }, ":"), }, PortRange: config.Join(Name, "ports"), CleanList: config.Join(Name, "clean"), PurgeList: config.Join(Name, "purge"), ConfigAliases: map[string]string{ config.Join(Name, "ports"): Name + "portrange", config.Join(Name, "clean"): Name + "cleanlist", config.Join(Name, "purge"): Name + "purgelist", }, LegacyParameters: map[string]string{ "binsuffix": "binary", "fa2home": "home", "fa2bins": "install", "fa2base": "version", "fa2exec": "program", "fa2logd": "logdir", "fa2logf": "logfile", "fa2port": "port", "fa2libs": "libpaths", "fa2cert": "certificate", "fa2key": "privatekey", "fa2user": "user", "fa2opts": "options", }, Defaults: []string{ `binary=fix-analyser2-netprobe.linux_64`, `home={{join .root "netprobe" "fa2s" .name}}`, `install={{join .root "packages" "fa2"}}`, `version=active_prod`, `program={{join "${config:install}" "${config:version}" "${config:binary}"}}`, `logfile=fa2.log`, `port=7030`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`, `autostart=true`, }, Directories: []string{ "packages/fa2", "netprobe/fa2s", }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.