Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func NewEditStatusLine(buildStatus buildStatus) rty.Component
 - type DumpEngineStateAction
 - type EditStatusLineComponent
 - type ExitAction
 - type FakeHud
 - func (h *FakeHud) Close()
 - func (h *FakeHud) OnChange(ctx context.Context, st store.RStore)
 - func (h *FakeHud) Refresh(ctx context.Context)
 - func (h *FakeHud) Run(ctx context.Context, dispatch func(action store.Action), ...) error
 - func (h *FakeHud) SetNarrationMessage(ctx context.Context, msg string) error
 - func (h *FakeHud) Update(v view.View, vs view.ViewState) error
 - func (h *FakeHud) WaitUntil(t testing.TB, ctx context.Context, msg string, isDone func(view.View) bool)
 - func (h *FakeHud) WaitUntilResource(t testing.TB, ctx context.Context, msg string, name model.ManifestName, ...)
 
- type HeadsUpDisplay
 - type Hud
 - func (h *Hud) Close()
 - func (h *Hud) OnChange(ctx context.Context, st store.RStore)
 - func (h *Hud) Refresh(ctx context.Context) error
 - func (h *Hud) Run(ctx context.Context, dispatch func(action store.Action), ...) error
 - func (h *Hud) SetNarrationMessage(ctx context.Context, msg string) error
 - func (h *Hud) Update(v view.View, vs view.ViewState) error
 
- type Renderer
 - type ResourceView
 - type SetLogTimestampsAction
 - type StartProfilingAction
 - type StopProfilingAction
 - type TabView
 
Constants ¶
      View Source
      
  
    const BuildDurCellMinWidth = 7
    
      View Source
      
  
    const BuildStatusCellMinWidth = 8
    
      View Source
      
  const DefaultRefreshInterval = 100 * time.Millisecond
    The main loop ensures the HUD updates at least this often
      View Source
      
  const DeployCellMinWidth = 8
    These widths are determined experimentally, to see what shows up in a typical UX.
      View Source
      
  
const MaxInlineErrHeight = 6
    Variables ¶
This section is empty.
Functions ¶
func NewEditStatusLine ¶ added in v0.4.1
Types ¶
type DumpEngineStateAction ¶ added in v0.8.1
type DumpEngineStateAction struct {
}
    func (DumpEngineStateAction) Action ¶ added in v0.8.1
func (DumpEngineStateAction) Action()
type EditStatusLineComponent ¶ added in v0.4.1
type EditStatusLineComponent struct {
	// contains filtered or unexported fields
}
    type ExitAction ¶ added in v0.1.0
type ExitAction struct {
	Err error
}
    func NewExitAction ¶ added in v0.2.0
func NewExitAction(err error) ExitAction
func (ExitAction) Action ¶ added in v0.1.0
func (ExitAction) Action()
type FakeHud ¶
type FakeHud struct {
	LastView view.View
	Canceled bool
	Closed   bool
	// contains filtered or unexported fields
}
    func NewFakeHud ¶
func NewFakeHud() *FakeHud
func (*FakeHud) SetNarrationMessage ¶
type HeadsUpDisplay ¶
type HeadsUpDisplay interface {
	store.Subscriber
	Run(ctx context.Context, dispatch func(action store.Action), refreshRate time.Duration) error
	Update(v view.View, vs view.ViewState) error
	Close()
	SetNarrationMessage(ctx context.Context, msg string) error
}
    type Hud ¶
type Hud struct {
	// contains filtered or unexported fields
}
    func (*Hud) SetNarrationMessage ¶
type Renderer ¶
type Renderer struct {
	// contains filtered or unexported fields
}
    func NewRenderer ¶
type ResourceView ¶ added in v0.4.1
type ResourceView struct {
	// contains filtered or unexported fields
}
    func NewResourceView ¶ added in v0.4.1
func NewResourceView(res view.Resource, rv view.ResourceViewState, triggerMode model.TriggerMode, selected bool, clock func() time.Time) *ResourceView
func (*ResourceView) Build ¶ added in v0.4.1
func (v *ResourceView) Build() rty.Component
type SetLogTimestampsAction ¶ added in v0.7.11
type SetLogTimestampsAction struct {
	Value bool
}
    func (SetLogTimestampsAction) Action ¶ added in v0.7.11
func (SetLogTimestampsAction) Action()
type StartProfilingAction ¶ added in v0.4.2
type StartProfilingAction struct {
}
    func (StartProfilingAction) Action ¶ added in v0.4.2
func (StartProfilingAction) Action()
type StopProfilingAction ¶ added in v0.4.2
type StopProfilingAction struct {
}
    func (StopProfilingAction) Action ¶ added in v0.4.2
func (StopProfilingAction) Action()
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.