Documentation ¶
Index ¶
- Constants
- Variables
- type Licds
- func (l *Licds) Add(tmpl string, port uint16) (err error)
- func (l *Licds) Command() (args, env []string, home string)
- func (l *Licds) Config() *config.Config
- func (l *Licds) Home() string
- func (l *Licds) Host() *geneos.Host
- func (l *Licds) Load() (err error)
- func (l *Licds) Loaded() time.Time
- func (l *Licds) Name() string
- func (l *Licds) Rebuild(initial bool) error
- func (l *Licds) Reload() (err error)
- func (l *Licds) SetLoaded(t time.Time)
- func (l *Licds) String() string
- func (l *Licds) Type() *geneos.Component
- func (l *Licds) Unload() (err error)
Constants ¶
View Source
const Name = "licd"
Variables ¶
View Source
var Licd = geneos.Component{ Name: "licd", Aliases: []string{"licds"}, LegacyPrefix: "licd", DownloadBase: geneos.DownloadBases{Default: "Licence+Daemon", Nexus: "geneos-licd"}, GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7041,7100-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", "*.txt", }, ":"), }, 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", "licdhome": "home", "licdbins": "install", "licdbase": "version", "licdexec": "program", "licdlogd": "logdir", "licdlogf": "logfile", "licdport": "port", "licdlibs": "libpaths", "licdcert": "certificate", "licdkey": "privatekey", "licduser": "user", "licdopts": "options", }, Defaults: []string{ `binary=licd.linux_64`, `home={{join .root "licd" "licds" .name}}`, `install={{join .root "packages" "licd"}}`, `version=active_prod`, `program={{join "${config:install}" "${config:version}" "${config:binary}"}}`, `logfile=licd.log`, `port=7041`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}`, `autostart=true`, }, Directories: []string{ "packages/licd", "licd/licds", }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.