Documentation ¶
Overview ¶
Package ps is processes
Index ¶
- Variables
- type Func
- type Name
- type P
- func (p *P) Close(ctx context.Context) (context.Context, error)
- func (p *P) CopyHooks(b *P)
- func (p *P) PostAdd(name Name, i Func) bool
- func (p *P) PostAddOK(name Name, i Func) *P
- func (p *P) PostAfter(name Name, i Func, after Name) bool
- func (p *P) PostAfterOK(name Name, i Func, after Name) *P
- func (p *P) PostBefore(name Name, i Func, before Name) bool
- func (p *P) PostBeforeOK(name Name, i Func, before Name) *P
- func (p *P) PostRemove(name Name) bool
- func (p *P) PostRemoveOK(name Name) *P
- func (p *P) PreAdd(name Name, i Func) bool
- func (p *P) PreAddOK(name Name, i Func) *P
- func (p *P) PreAfter(name Name, i Func, after Name) bool
- func (p *P) PreAfterOK(name Name, i Func, after Name) *P
- func (p *P) PreBefore(name Name, i Func, before Name) bool
- func (p *P) PreBeforeOK(name Name, i Func, before Name) *P
- func (p *P) PreRemove(name Name) bool
- func (p *P) PreRemoveOK(name Name) *P
- func (p *P) Requires() []Name
- func (p *P) Run(ctx context.Context) (context.Context, error)
- func (p *P) SetLogging(l *logging.Logging) *logging.Logging
- func (p *P) Verbose(name Name) []Name
- type PS
- func (ps *PS) Add(name Name, run, close Func, requires ...Name) bool
- func (ps *PS) AddOK(name Name, run, close Func, requires ...Name) *PS
- func (ps *PS) AddP(name Name, p *P) bool
- func (ps *PS) Close(ctx context.Context) (context.Context, error)
- func (ps *PS) CloseVerbose() []Name
- func (ps *PS) P(name Name) (*P, bool)
- func (ps *PS) POK(name Name) *P
- func (ps *PS) Remove(name Name) bool
- func (ps *PS) RemoveOK(name Name) *PS
- func (ps *PS) Replace(name Name, run, close Func, requires ...Name) bool
- func (ps *PS) ReplaceOK(name Name, run, close Func, requires ...Name) *PS
- func (ps *PS) Run(ctx context.Context) (context.Context, error)
- func (ps *PS) SetLogging(l *logging.Logging) *logging.Logging
- func (ps *PS) Verbose() []Name
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PS ¶
func (*PS) CloseVerbose ¶
Click to show internal directories.
Click to hide internal directories.