Documentation ¶
Index ¶
- Variables
- func Init(r *geneos.Host, ct *geneos.Component)
- type Sans
- func (s *Sans) Add(template string, port uint16) (err error)
- func (s *Sans) Command() (args, env []string, home string)
- func (s *Sans) Config() *config.Config
- func (s *Sans) Home() string
- func (s *Sans) Host() *geneos.Host
- func (s *Sans) Load() (err error)
- func (s *Sans) Loaded() time.Time
- func (s *Sans) Name() string
- func (s *Sans) Rebuild(initial bool) (err error)
- func (s *Sans) Reload() (err error)
- func (s *Sans) SetLoaded(t time.Time)
- func (s *Sans) String() string
- func (s *Sans) Type() *geneos.Component
- func (s *Sans) Unload() (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var San = geneos.Component{ Initialise: Init, Name: "san", Aliases: []string{"sans"}, LegacyPrefix: "san", ParentType: &netprobe.Netprobe, PackageTypes: []*geneos.Component{&netprobe.Netprobe, &fa2.FA2}, UsesKeyfiles: true, Templates: []geneos.Templates{{Filename: templateName, Content: template}}, DownloadBase: geneos.DownloadBases{Resources: "Netprobe", Nexus: "geneos-netprobe"}, PortRange: "SanPortRange", CleanList: "SanCleanList", PurgeList: "SanPurgeList", LegacyParameters: map[string]string{ "binsuffix": "binary", "sanhome": "home", "sanbins": "install", "sanbase": "version", "sanexec": "program", "sanlogd": "logdir", "sanlogf": "logfile", "sanport": "port", "sanlibs": "libpaths", "sancert": "certificate", "sankey": "privatekey", "sanuser": "user", "sanopts": "options", "santype": "pkgtype", }, Defaults: []string{ `binary={{if eq .pkgtype "fa2"}}fix-analyser2-{{end}}netprobe.linux_64`, `home={{join .root "netprobe" "sans" .name}}`, `install={{join .root "packages" .pkgtype}}`, `version=active_prod`, `program={{join "${config:install}" "${config:version}" "${config:binary}"}}`, `logfile=san.log`, `port=7036`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`, `sanname={{"${config:name}"}}`, `setup={{join "${config:home}" "netprobe.setup.xml"}}`, `autostart=true`, }, GlobalSettings: map[string]string{ "SanPortRange": "7036,7100-", "SanCleanList": "*.old", "SanPurgeList": "san.log:san.txt:*.snooze:*.user_assignment", }, Directories: []string{ "packages/netprobe", "netprobe/netprobes_shared", "netprobe/sans", "netprobe/templates", }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.