Documentation ¶
Index ¶
- Constants
- Variables
- func Init(r *host.Host, ct *geneos.Component)
- func New(name string) geneos.Instance
- type Sans
- func (s *Sans) Add(username string, template string, port uint16) (err error)
- func (s *Sans) Command() (args, env []string)
- func (s *Sans) Home() string
- func (s *Sans) Host() *host.Host
- func (s *Sans) Load() (err error)
- func (s *Sans) Loaded() bool
- func (s *Sans) Name() string
- func (s *Sans) Prefix() string
- func (s *Sans) Rebuild(initial bool) (err error)
- func (s *Sans) Reload(params []string) (err error)
- func (s *Sans) SetConf(v *viper.Viper)
- func (s *Sans) String() string
- func (s *Sans) Type() *geneos.Component
- func (s *Sans) Unload() (err error)
- func (s *Sans) V() *viper.Viper
Constants ¶
View Source
const SanDefaultTemplate = "netprobe.setup.xml.gotmpl"
Variables ¶
View Source
var San = geneos.Component{ Initialise: Init, Name: "san", RelatedTypes: []*geneos.Component{&netprobe.Netprobe, &fa2.FA2}, ComponentMatches: []string{"san", "sans"}, RealComponent: true, DownloadBase: geneos.DownloadBases{Resources: "Netprobe", Nexus: "geneos-netprobe"}, PortRange: "SanPortRange", CleanList: "SanCleanList", PurgeList: "SanPurgeList", Aliases: 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", }, Defaults: []string{ "binary={{if eq .santype \"fa2\"}}fix-analyser2-{{end}}netprobe.linux_64", "home={{join .root \"san\" \"sans\" .name}}", "install={{join .root \"packages\" .santype}}", "version=active_prod", "program={{join .install .version .binary}}", "logfile=san.log", "port=7036", "libpaths={{join .install .version \"lib64\"}}:{{join .install .version}}", "sanname={{.name}}", }, GlobalSettings: map[string]string{ "SanPortRange": "7036,7100-", "SanCleanList": "*.old", "SanPurgeList": "san.log:san.txt:*.snooze:*.user_assignment", }, Directories: []string{ "packages/netprobe", "san/sans", "san/templates", }, }
View Source
var SanTemplate []byte
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.