github.com/grahambrereton-form3/tilt@v0.10.18/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 StartProfilingAction struct {
    14  }
    15  
    16  func (StartProfilingAction) Action() {}
    17  
    18  type StopProfilingAction struct {
    19  }
    20  
    21  func (StopProfilingAction) Action() {}
    22  
    23  type SetLogTimestampsAction struct {
    24  	Value bool
    25  }
    26  
    27  func (SetLogTimestampsAction) Action() {}
    28  
    29  type DumpEngineStateAction struct {
    30  }
    31  
    32  func (DumpEngineStateAction) Action() {}