fa2

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: MIT Imports: 9 Imported by: 0

README

geneos Fix Analyser 2 Netprobe Component

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FA2 = geneos.Component{
	Name:             "fa2",
	LegacyPrefix:     "fa2",
	RelatedTypes:     nil,
	ComponentMatches: []string{"fa2", "fixanalyser", "fixanalyzer", "fixanalyser2-netprobe"},
	RealComponent:    true,
	DownloadBase:     geneos.DownloadBases{Resources: "Fix+Analyser+2+Netprobe", Nexus: "geneos-fixanalyser2-netprobe"},
	DownloadInfix:    "fixanalyser2-netprobe",
	PortRange:        "FA2PortRange",
	CleanList:        "FA2CleanList",
	PurgeList:        "FA2PurgeList",
	Aliases: map[string]string{
		"binsuffix": "binary",
		"fa2home":   "home",
		"fa2bins":   "install",
		"fa2base":   "version",
		"fa2exec":   "program",
		"fa2logd":   "logdir",
		"fa2logf":   "logfile",
		"fa2port":   "port",
		"fa2libs":   "libpaths",
		"fa2cert":   "certificate",
		"fa2key":    "privatekey",
		"fa2user":   "user",
		"fa2opts":   "options",
	},
	Defaults: []string{
		`binary=fix-analyser2-netprobe.linux_64`,
		`home={{join .root "fa2" "fa2s" .name}}`,
		`install={{join .root "packages" "fa2"}}`,
		`version=active_prod`,
		`program={{join "${config:install}" "${config:version}" "${config:binary}"}}`,
		`logfile=fa2.log`,
		`port=7036`,
		`libpaths={{join "${config:install}" "${config:version}" "lib64"}}:{{join "${config:install}" "${config:version}"}}`,
	},
	GlobalSettings: map[string]string{
		"FA2PortRange": "7030,7100-",
		"FA2CleanList": "*.old",
		"FA2PurgeList": "fa2.log:fa2.txt:*.snooze:*.user_assignment",
	},
	Directories: []string{
		"packages/fa2",
		"fa2/fa2s",
	},
}

Functions

func New

func New(name string) geneos.Instance

Types

type FA2s

type FA2s instance.Instance

func (*FA2s) Add

func (n *FA2s) Add(tmpl string, port uint16) (err error)

func (*FA2s) Command

func (n *FA2s) Command() (args, env []string)

func (*FA2s) Config

func (n *FA2s) Config() *config.Config

func (*FA2s) Home

func (n *FA2s) Home() string

func (*FA2s) Host

func (n *FA2s) Host() *geneos.Host

func (*FA2s) Load

func (n *FA2s) Load() (err error)

func (*FA2s) Loaded

func (n *FA2s) Loaded() bool

func (*FA2s) Name

func (n *FA2s) Name() string

func (*FA2s) Rebuild

func (n *FA2s) Rebuild(initial bool) error

func (*FA2s) Reload

func (n *FA2s) Reload(params []string) (err error)

func (*FA2s) String

func (n *FA2s) String() string

func (*FA2s) Type

func (n *FA2s) Type() *geneos.Component

Return the Component for an Instance

func (*FA2s) Unload

func (n *FA2s) Unload() (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL