cas

package
v0.0.0-...-717d3de Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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 CreateApp

func CreateApp(
	disabled bool,
) *App

func (*App) GetCAS

func (self *App) GetCAS() uint64

func (*App) GetExitCode

func (self *App) GetExitCode() uint8

func (*App) GetKeyValue

func (self *App) GetKeyValue() map[string]interface{}

func (*App) GetLastSeen

func (self *App) GetLastSeen() time.Time

func (*App) GetPID

func (self *App) GetPID() uint32

func (*App) GetStarted

func (self *App) GetStarted() time.Time

func (*App) GetStartedLog

func (self *App) GetStartedLog() time.Time

func (*App) Increment

func (self *App) Increment()

func (*App) IsDisabled

func (self *App) IsDisabled() bool

func (*App) IsRestart

func (self *App) IsRestart() bool

func (*App) IsRunOnce

func (self *App) IsRunOnce() bool

func (*App) IsRunOnceConsumed

func (self *App) IsRunOnceConsumed() bool

func (*App) IsValid

func (self *App) IsValid() bool

func (*App) Lock

func (self *App) Lock()

func (*App) RLock

func (self *App) RLock()

func (*App) RUnlock

func (self *App) RUnlock()

func (*App) ReplaceKeyValue

func (self *App) ReplaceKeyValue(
	kv map[string]interface{},
)

func (*App) SetDisabled

func (self *App) SetDisabled(
	disabled bool,
)

func (*App) SetExitCode

func (self *App) SetExitCode(
	exit_code uint8,
)

func (*App) SetKeyValue

func (self *App) SetKeyValue(
	kv map[string]interface{},
)

func (*App) SetLastSeen

func (self *App) SetLastSeen(
	lastseen time.Time,
)

func (*App) SetPID

func (self *App) SetPID(
	pid uint32,
)

func (*App) SetRestart

func (self *App) SetRestart(
	restart bool,
)

func (*App) SetRunOnce

func (self *App) SetRunOnce(
	run_once bool,
)

func (*App) SetRunOnceConsumed

func (self *App) SetRunOnceConsumed(
	run_once_consumed bool,
)

func (*App) SetStarted

func (self *App) SetStarted(
	started time.Time,
)

func (*App) SetStartedLog

func (self *App) SetStartedLog(
	started_log time.Time,
)

func (*App) Unlock

func (self *App) Unlock()

type Service

type Service struct {
	// contains filtered or unexported fields
}

func CreateService

func CreateService(
	disabled bool,
) *Service

func (*Service) GetCAS

func (self *Service) GetCAS() uint64

func (*Service) GetKeyValue

func (self *Service) GetKeyValue() map[string]interface{}

func (*Service) GetLastSeen

func (self *Service) GetLastSeen() time.Time

func (*Service) GetStarted

func (self *Service) GetStarted() time.Time

func (*Service) Increment

func (self *Service) Increment()

func (*Service) IsDisabled

func (self *Service) IsDisabled() bool

func (*Service) IsRestart

func (self *Service) IsRestart() bool

func (*Service) IsRunOnce

func (self *Service) IsRunOnce() bool

func (*Service) IsRunOnceConsumed

func (self *Service) IsRunOnceConsumed() bool

func (*Service) IsValid

func (self *Service) IsValid() bool

func (*Service) Lock

func (self *Service) Lock()

func (*Service) RLock

func (self *Service) RLock()

func (*Service) RUnlock

func (self *Service) RUnlock()

func (*Service) ReplaceKeyValue

func (self *Service) ReplaceKeyValue(
	kv map[string]interface{},
)

func (*Service) SetDisabled

func (self *Service) SetDisabled(
	disabled bool,
)

func (*Service) SetKeyValue

func (self *Service) SetKeyValue(
	kv map[string]interface{},
)

func (*Service) SetLastSeen

func (self *Service) SetLastSeen(
	lastseen time.Time,
)

func (*Service) SetRestart

func (self *Service) SetRestart(
	restart bool,
)

func (*Service) SetRunOnce

func (self *Service) SetRunOnce(
	run_once bool,
)

func (*Service) SetRunOnceConsumed

func (self *Service) SetRunOnceConsumed(
	run_once_consumed bool,
)

func (*Service) SetStarted

func (self *Service) SetStarted(
	started time.Time,
)

func (*Service) Unlock

func (self *Service) Unlock()

Jump to

Keyboard shortcuts

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