Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigName = "launcher.config" AppName = "Jenkins Client Launcher" AppVersion = "0.3" AppDescription = `` /* 345-byte string literal not displayed */ )
View Source
const (
PidName = "launcher.pid"
)
Variables ¶
View Source
var AppImagePath = ""
Functions ¶
Types ¶
type AlreadyRunning ¶
type AlreadyRunning bool
Declares a closable boolean that describes whether the launcher is already running or not.
func CheckIfAlreadyRunning ¶
func CheckIfAlreadyRunning() AlreadyRunning
Checks if another launcher is already running inside the current working path. The returned state should be closed before leaving the application to avoid stale PID files.
func (*AlreadyRunning) Close ¶
func (running *AlreadyRunning) Close()
Closes the running state (this also removes the current PID file).
Click to show internal directories.
Click to hide internal directories.