Documentation ¶
Index ¶
- Constants
- Variables
- type Minimals
- func (n *Minimals) Add(tmpl string, port uint16) (err error)
- func (n *Minimals) Command() (args, env []string, home string)
- func (n *Minimals) Config() *config.Config
- func (n *Minimals) Home() string
- func (n *Minimals) Host() *geneos.Host
- func (n *Minimals) Load() (err error)
- func (n *Minimals) Loaded() time.Time
- func (n *Minimals) Name() string
- func (n *Minimals) Rebuild(initial bool) error
- func (n *Minimals) Reload() (err error)
- func (n *Minimals) SetLoaded(t time.Time)
- func (n *Minimals) String() string
- func (n *Minimals) Type() *geneos.Component
- func (n *Minimals) Unload() (err error)
Constants ¶
View Source
const Name = "minimal"
Variables ¶
View Source
var Minimal = geneos.Component{ Name: "minimal", Aliases: []string{"netprobe-mini", "netprobe-minimal", "mini-netprobe"}, LegacyPrefix: "mini", ParentType: &netprobe.Netprobe, DownloadBase: geneos.DownloadBases{Default: "Netprobe+-+Minimal", Nexus: "geneos-netprobe-minimal"}, DownloadInfix: "netprobe-minimal", StripArchivePrefix: &prefix, GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7036,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", "minihome": "home", "minibins": "install", "minibase": "version", "miniexec": "program", "minilogd": "logdir", "minilogf": "logfile", "miniport": "port", "minilibs": "libpaths", "minicert": "certificate", "minikey": "privatekey", "miniuser": "user", "miniopts": "options", }, Defaults: []string{ `binary=netprobe.linux_64`, `home={{join .root "netprobe" "netprobes" .name}}`, `install={{join .root "packages" "minimal"}}`, `version=active_prod`, `program={{join "${config:install}" "${config:version}" "${config:binary}"}}`, `logfile=minimal.log`, `port=7030`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`, `autostart=true`, }, Directories: []string{ "packages/minimal", "netprobe/netprobes", }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.