statusonly

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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