github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/internal/hud/actions.go (about)

     1  package hud
     2  
     3  type ExitAction struct {
     4  	Err error
     5  }
     6  
     7  func (ExitAction) Action() {}
     8  
     9  func NewExitAction(err error) ExitAction {
    10  	return ExitAction{err}
    11  }
    12  
    13  type DumpEngineStateAction struct {
    14  }
    15  
    16  func (DumpEngineStateAction) Action() {}