fa2

package
v1.0.1-pre Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FA2 = geneos.Component{
	Name:             "fa2",
	RelatedTypes:     nil,
	ComponentMatches: []string{"fa2", "fixanalyser", "fixanalyzer", "fixanalyser2-netprobe"},
	RealComponent:    true,
	DownloadBase:     geneos.DownloadBases{Resources: "Fix+Analyser+2+Netprobe", Nexus: "geneos-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 .install .version .binary}}",
		"logfile=fa2.log",
		"port=7036",
		"libpaths={{join .install .version \"lib64\"}}:{{join .install .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(username string, tmpl string, port uint16) (err error)

func (*FA2s) Command

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

func (*FA2s) Home

func (n *FA2s) Home() string

func (*FA2s) Host

func (n *FA2s) Host() *host.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) Prefix

func (n *FA2s) Prefix() string

func (*FA2s) Rebuild

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

func (*FA2s) Reload

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

func (*FA2s) SetConf

func (n *FA2s) SetConf(v *viper.Viper)

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)

func (*FA2s) V

func (n *FA2s) V() *viper.Viper

Jump to

Keyboard shortcuts

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