Documentation
¶
Index ¶
- type ScriptTask
- func (s *ScriptTask) Identifier() string
- func (s *ScriptTask) IsStarted() bool
- func (s *ScriptTask) IsStopped() bool
- func (s *ScriptTask) Start(ctx context.Context) error
- func (s *ScriptTask) Started() <-chan struct{}
- func (s *ScriptTask) Stop(ctx context.Context) error
- func (s *ScriptTask) Stopped() <-chan struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScriptTask ¶
type ScriptTask struct {
// contains filtered or unexported fields
}
func NewScriptTask ¶
func (*ScriptTask) Identifier ¶
func (s *ScriptTask) Identifier() string
func (*ScriptTask) IsStarted ¶
func (s *ScriptTask) IsStarted() bool
func (*ScriptTask) IsStopped ¶
func (s *ScriptTask) IsStopped() bool
func (*ScriptTask) Started ¶
func (s *ScriptTask) Started() <-chan struct{}
func (*ScriptTask) Stopped ¶
func (s *ScriptTask) Stopped() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.