licd

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 Licd = geneos.Component{
	Name:             "licd",
	RelatedTypes:     nil,
	ComponentMatches: []string{"licd", "licds"},
	RealComponent:    true,
	DownloadBase:     geneos.DownloadBases{Resources: "Licence+Daemon", Nexus: "geneos-licd"},
	PortRange:        "LicdPortRange",
	CleanList:        "LicdCleanList",
	PurgeList:        "LicdPurgeList",
	Aliases: map[string]string{
		"binsuffix": "binary",
		"licdhome":  "home",
		"licdbins":  "install",
		"licdbase":  "version",
		"licdexec":  "program",
		"licdlogd":  "logdir",
		"licdlogf":  "logfile",
		"licdport":  "port",
		"licdlibs":  "libpaths",
		"licdcert":  "certificate",
		"licdkey":   "privatekey",
		"licduser":  "user",
		"licdopts":  "options",
	},
	Defaults: []string{
		"binary=licd.linux_64",
		"home={{join .root \"licd\" \"licds\" .name}}",
		"install={{join .root \"packages\" \"licd\"}}",
		"version=active_prod",
		"program={{join .install .version .binary}}",
		"logfile=licd.log",
		"port=7041",
		"libpaths={{join .install .version \"lib64\"}}",
	},
	GlobalSettings: map[string]string{
		"LicdPortRange": "7041,7100-",
		"LicdCleanList": "*.old",
		"LicdPurgeList": "licd.log:licd.txt",
	},
	Directories: []string{
		"packages/licd",
		"licd/licds",
	},
}

Functions

func New

func New(name string) geneos.Instance

Types

type Licds

type Licds instance.Instance

func (*Licds) Add

func (l *Licds) Add(username string, tmpl string, port uint16) (err error)

func (*Licds) Command

func (l *Licds) Command() (args, env []string)

func (*Licds) Home

func (l *Licds) Home() string

func (*Licds) Host

func (l *Licds) Host() *host.Host

func (*Licds) Load

func (l *Licds) Load() (err error)

func (*Licds) Loaded

func (l *Licds) Loaded() bool

func (*Licds) Name

func (l *Licds) Name() string

func (*Licds) Prefix

func (l *Licds) Prefix() string

func (*Licds) Rebuild

func (l *Licds) Rebuild(initial bool) error

func (*Licds) Reload

func (l *Licds) Reload(params []string) (err error)

func (*Licds) SetConf

func (l *Licds) SetConf(v *viper.Viper)

func (*Licds) String

func (l *Licds) String() string

func (*Licds) Type

func (l *Licds) Type() *geneos.Component

Return the Component for an Instance

func (*Licds) Unload

func (l *Licds) Unload() (err error)

func (*Licds) V

func (l *Licds) V() *viper.Viper

Jump to

Keyboard shortcuts

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