Documentation ¶
Overview ¶
Package ac2 supports installation and control of the Active Console
Index ¶
- Constants
- Variables
- type AC2s
- func (n *AC2s) Add(tmpl string, port uint16) (err error)
- func (n *AC2s) Command() (args, env []string, home string)
- func (n *AC2s) Config() *config.Config
- func (n *AC2s) Home() string
- func (n *AC2s) Host() *geneos.Host
- func (n *AC2s) Load() (err error)
- func (n *AC2s) Loaded() time.Time
- func (n *AC2s) Name() string
- func (n *AC2s) Rebuild(initial bool) error
- func (n *AC2s) Reload() (err error)
- func (n *AC2s) SetLoaded(t time.Time)
- func (n *AC2s) String() string
- func (n *AC2s) Type() *geneos.Component
- func (n *AC2s) Unload() (err error)
Constants ¶
View Source
const Name = "ac2"
Variables ¶
View Source
var AC2 = geneos.Component{ Name: Name, Aliases: []string{"active-console", "activeconsole"}, LegacyPrefix: "", DownloadBase: geneos.DownloadBases{Default: "Active+Console", Nexus: "geneos-desktop-activeconsole"}, DownloadInfix: "desktop-activeconsole", GlobalSettings: map[string]string{ config.Join(Name, "ports"): "7040-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", }, ":"), }, 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{}, Defaults: []string{ `binary=ActiveConsole`, `home={{join .root "ac2" "ac2s" .name}}`, `install={{join .root "packages" "ac2"}}`, `version=active_prod`, `program={{join "${config:install}" "${config:version}" "${config:binary}"}}`, `logfile=ActiveConsole.log`, `libpaths={{join "${config:install}" "${config:version}" "lib64"}}`, `config={{join .home "ActiveConsol.gci"}}`, `options="-wsp {{.home}}"`, `autostart=false`, }, Directories: []string{ "packages/ac2", "ac2/ac2s", }, GetPID: pidCheckFn, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.