Documentation ¶
Index ¶
- Variables
- func New(name string) geneos.Instance
- type FileAgents
- func (n *FileAgents) Add(username string, tmpl string, port uint16) (err error)
- func (c *FileAgents) Command() (args, env []string)
- func (n *FileAgents) Home() string
- func (n *FileAgents) Host() *host.Host
- func (n *FileAgents) Load() (err error)
- func (n *FileAgents) Loaded() bool
- func (n *FileAgents) Name() string
- func (n *FileAgents) Prefix() string
- func (c *FileAgents) Rebuild(initial bool) error
- func (c *FileAgents) Reload(params []string) (err error)
- func (n *FileAgents) SetConf(v *viper.Viper)
- func (n *FileAgents) String() string
- func (n *FileAgents) Type() *geneos.Component
- func (n *FileAgents) Unload() (err error)
- func (n *FileAgents) V() *viper.Viper
Constants ¶
This section is empty.
Variables ¶
View Source
var FileAgent = geneos.Component{ Name: "fileagent", RelatedTypes: nil, ComponentMatches: []string{"fileagent", "fileagents", "file-agent"}, RealComponent: true, DownloadBase: geneos.DownloadBases{Resources: "Fix+Analyser+File+Agent", Nexus: "geneos-fileagent"}, PortRange: "FAPortRange", CleanList: "FACleanList", PurgeList: "FAPurgeList", Aliases: map[string]string{ "binsuffix": "binary", "fahome": "home", "fabins": "install", "fabase": "version", "faexec": "program", "falogd": "logdir", "falogf": "logfile", "faport": "port", "falibs": "libpaths", "facert": "certificate", "fakey": "privatekey", "fauser": "user", "faopts": "options", }, Defaults: []string{ "binary=agent.linux_64", "fahome={{join .root \"fileagent\" \"fileagents\" .name}}", "fabins={{join .root \"packages\" \"fileagent\"}}", "fabase=active_prod", "faexec={{join .fabins .fabase .binary}}", "falogf=fileagent.log", "faport=7030", "falibs={{join .fabins .fabase \"lib64\"}}:{{join .fabins .fabase}}", }, GlobalSettings: map[string]string{ "FAPortRange": "7030,7100-", "FACleanList": "*.old", "FAPurgeList": "fileagent.log:fileagent.txt", }, Directories: []string{ "packages/fileagent", "fileagent/fileagents", }, }
Functions ¶
Types ¶
type FileAgents ¶
func (*FileAgents) Add ¶
func (n *FileAgents) Add(username string, tmpl string, port uint16) (err error)
func (*FileAgents) Command ¶
func (c *FileAgents) Command() (args, env []string)
func (*FileAgents) Home ¶
func (n *FileAgents) Home() string
func (*FileAgents) Host ¶
func (n *FileAgents) Host() *host.Host
func (*FileAgents) Load ¶
func (n *FileAgents) Load() (err error)
func (*FileAgents) Loaded ¶
func (n *FileAgents) Loaded() bool
func (*FileAgents) Name ¶
func (n *FileAgents) Name() string
func (*FileAgents) Prefix ¶
func (n *FileAgents) Prefix() string
func (*FileAgents) Rebuild ¶
func (c *FileAgents) Rebuild(initial bool) error
func (*FileAgents) Reload ¶
func (c *FileAgents) Reload(params []string) (err error)
func (*FileAgents) SetConf ¶
func (n *FileAgents) SetConf(v *viper.Viper)
func (*FileAgents) String ¶
func (n *FileAgents) String() string
func (*FileAgents) Type ¶
func (n *FileAgents) Type() *geneos.Component
Return the Component for an Instance
func (*FileAgents) Unload ¶
func (n *FileAgents) Unload() (err error)
func (*FileAgents) V ¶
func (n *FileAgents) V() *viper.Viper
Click to show internal directories.
Click to hide internal directories.