Documentation ¶
Index ¶
- Constants
- Variables
- type SSOAgents
- func (s *SSOAgents) Add(tmpl string, port uint16) (err error)
- func (s *SSOAgents) Command() (args, env []string, home string)
- func (w *SSOAgents) Config() *config.Config
- func (w *SSOAgents) Home() string
- func (w *SSOAgents) Host() *geneos.Host
- func (w *SSOAgents) Load() (err error)
- func (w *SSOAgents) Loaded() time.Time
- func (w *SSOAgents) Name() string
- func (s *SSOAgents) Rebuild(initial bool) (err error)
- func (w *SSOAgents) Reload() (err error)
- func (w *SSOAgents) SetLoaded(t time.Time)
- func (w *SSOAgents) String() string
- func (w *SSOAgents) Type() *geneos.Component
- func (w *SSOAgents) Unload() (err error)
Constants ¶
View Source
const Name = "webserver"
Variables ¶
View Source
var SSOAgent = geneos.Component{ Name: "sso-agent", Aliases: []string{"ssoagent", "sso"}, LegacyPrefix: "sso", DownloadNameRegexp: regexp.MustCompile(`^(?<component>[\w-]+)-(?<version>[\d\-\.]+)(-(?<platform>\w+))?[\.-]bin.(?<suffix>zip)$`), DownloadParams: &[]string{}, DownloadParamsNexus: &[]string{ "maven.classifier=bin", "maven.extension=zip", "maven.groupId=com.itrsgroup.geneos", }, DownloadBase: geneos.DownloadBases{Default: "SSO+Agent", Nexus: "sso-agent"}, DownloadInfix: "sso-agent", GlobalSettings: map[string]string{ config.Join(Name, "ports"): "1180-", config.Join(Name, "clean"): strings.Join([]string{ "*.old", }, ":"), config.Join(Name, "purge"): strings.Join([]string{ "*.log", "*.txt", "logs/*.log", "logs/*.gz", }, ":"), }, 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=java`, `home={{join .root "sso-agent" "sso-agents" .name}}`, `install={{join .root "packages" "sso-agent"}}`, `version=active_prod`, `program={{"/usr/bin/java"}}`, `logdir=logs`, `logfile=sso-agent.log`, `port=1180`, `libpaths={{join "${config:install}" "${config:version}" "lib"}}`, `autostart=true`, `truststore={{join "${config:home}" "cacerts"}}`, }, Directories: []string{ "packages/sso-agent", "sso-agent/sso-agents", }, GetPID: pidCheckFn, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.