Documentation ¶
Index ¶
- type StatusReceiver
- func (d *StatusReceiver) ClearProgress()
- func (d *StatusReceiver) PushMessageStep(ctx context.Context, step daemontypes.Message, actions []daemontypes.Action)
- func (d *StatusReceiver) PushStreamStep(ctx context.Context, messages <-chan daemontypes.Message)
- func (d *StatusReceiver) SetProgress(progress daemontypes.Progress)
- func (d *StatusReceiver) SetStepName(ctx context.Context, name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusReceiver ¶
type StatusReceiver struct { Logger log.Logger Name string OnProgress func(daemontypes.Progress) }
func (*StatusReceiver) ClearProgress ¶
func (d *StatusReceiver) ClearProgress()
func (*StatusReceiver) PushMessageStep ¶
func (d *StatusReceiver) PushMessageStep(ctx context.Context, step daemontypes.Message, actions []daemontypes.Action)
func (*StatusReceiver) PushStreamStep ¶
func (d *StatusReceiver) PushStreamStep(ctx context.Context, messages <-chan daemontypes.Message)
func (*StatusReceiver) SetProgress ¶
func (d *StatusReceiver) SetProgress(progress daemontypes.Progress)
func (*StatusReceiver) SetStepName ¶
func (d *StatusReceiver) SetStepName(ctx context.Context, name string)
Click to show internal directories.
Click to hide internal directories.