Documentation ¶
Index ¶
- type App
- func (self *App) GetCAS() uint64
- func (self *App) GetExitCode() uint8
- func (self *App) GetKeyValue() map[string]interface{}
- func (self *App) GetLastSeen() time.Time
- func (self *App) GetPID() uint32
- func (self *App) GetStarted() time.Time
- func (self *App) GetStartedLog() time.Time
- func (self *App) Increment()
- func (self *App) IsDisabled() bool
- func (self *App) IsRestart() bool
- func (self *App) IsRunOnce() bool
- func (self *App) IsRunOnceConsumed() bool
- func (self *App) IsValid() bool
- func (self *App) Lock()
- func (self *App) RLock()
- func (self *App) RUnlock()
- func (self *App) ReplaceKeyValue(kv map[string]interface{})
- func (self *App) SetDisabled(disabled bool)
- func (self *App) SetExitCode(exit_code uint8)
- func (self *App) SetKeyValue(kv map[string]interface{})
- func (self *App) SetLastSeen(lastseen time.Time)
- func (self *App) SetPID(pid uint32)
- func (self *App) SetRestart(restart bool)
- func (self *App) SetRunOnce(run_once bool)
- func (self *App) SetRunOnceConsumed(run_once_consumed bool)
- func (self *App) SetStarted(started time.Time)
- func (self *App) SetStartedLog(started_log time.Time)
- func (self *App) Unlock()
- type Service
- func (self *Service) GetCAS() uint64
- func (self *Service) GetKeyValue() map[string]interface{}
- func (self *Service) GetLastSeen() time.Time
- func (self *Service) GetStarted() time.Time
- func (self *Service) Increment()
- func (self *Service) IsDisabled() bool
- func (self *Service) IsRestart() bool
- func (self *Service) IsRunOnce() bool
- func (self *Service) IsRunOnceConsumed() bool
- func (self *Service) IsValid() bool
- func (self *Service) Lock()
- func (self *Service) RLock()
- func (self *Service) RUnlock()
- func (self *Service) ReplaceKeyValue(kv map[string]interface{})
- func (self *Service) SetDisabled(disabled bool)
- func (self *Service) SetKeyValue(kv map[string]interface{})
- func (self *Service) SetLastSeen(lastseen time.Time)
- func (self *Service) SetRestart(restart bool)
- func (self *Service) SetRunOnce(run_once bool)
- func (self *Service) SetRunOnceConsumed(run_once_consumed bool)
- func (self *Service) SetStarted(started time.Time)
- func (self *Service) Unlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetExitCode ¶
func (*App) GetKeyValue ¶
func (*App) GetLastSeen ¶
func (*App) GetStarted ¶
func (*App) GetStartedLog ¶
func (*App) IsDisabled ¶
func (*App) IsRunOnceConsumed ¶
func (*App) ReplaceKeyValue ¶
func (*App) SetDisabled ¶
func (*App) SetExitCode ¶
func (*App) SetKeyValue ¶
func (*App) SetLastSeen ¶
func (*App) SetRestart ¶
func (*App) SetRunOnce ¶
func (*App) SetRunOnceConsumed ¶
func (*App) SetStarted ¶
func (*App) SetStartedLog ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func CreateService ¶
func (*Service) GetKeyValue ¶
func (*Service) GetLastSeen ¶
func (*Service) GetStarted ¶
func (*Service) IsDisabled ¶
func (*Service) IsRunOnceConsumed ¶
func (*Service) ReplaceKeyValue ¶
func (*Service) SetDisabled ¶
func (*Service) SetKeyValue ¶
func (*Service) SetLastSeen ¶
func (*Service) SetRestart ¶
func (*Service) SetRunOnce ¶
func (*Service) SetRunOnceConsumed ¶
func (*Service) SetStarted ¶
Click to show internal directories.
Click to hide internal directories.