 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var KeyMap = Keys{ &keybindings.DefaultKeyMap.Up: true, &keybindings.DefaultKeyMap.Down: true, &keybindings.DefaultKeyMap.PageUp: true, &keybindings.DefaultKeyMap.PageDown: true, &keybindings.DefaultKeyMap.Slash: true, &keybindings.DefaultKeyMap.Info: false, &keybindings.DefaultKeyMap.Enter: true, &keybindings.DefaultKeyMap.Stats: true, &keybindings.DefaultKeyMap.Count: true, }
      View Source
      
  
    var (
	SacctHistCmdSwitches = []string{"-n", "--json"}
)
    
      View Source
      
  
var SacctTabCols = []table.Column{
	{
		Title: "Job ID",
		Width: 10,
	},
	{
		Title: "Job Name",
		Width: 35,
	},
	{
		Title: "Part.",
		Width: 5,
	},
	{
		Title: "QoS",
		Width: 10,
	},
	{
		Title: "Account",
		Width: 10,
	},
	{
		Title: "User",
		Width: 15,
	},
	{
		Title: "Nodes",
		Width: 20,
	},
	{
		Title: "State",
		Width: 10,
	},
}
    Functions ¶
func NewCmdCC ¶
func NewCmdCC(config config.ConfigContainer)
Types ¶
type Breakdowns ¶
type Breakdowns struct {
	Top5user   generic.CountItemSlice
	Top5acc    generic.CountItemSlice
	JobPerQos  generic.CountItemSlice
	JobPerPart generic.CountItemSlice
}
    type JobHistTab ¶
type JobHistTab struct {
	StatsOn           bool
	CountsOn          bool
	FilterOn          bool
	HistFetched       bool // signals View() if sacct call is finished, to print "waiting for..." message
	HistFetchFail     bool // if sacct call times out/errors, this is set to true
	JobHistStart      uint
	JobHistTimeout    uint
	SacctTable        table.Model
	SacctHist         SacctJSON
	SacctHistFiltered SacctJSON
	Filter            textinput.Model
	Stats
	Breakdowns
}
    func (*JobHistTab) AdjTableHeight ¶
func (t *JobHistTab) AdjTableHeight(h int, l *log.Logger)
func (*JobHistTab) GetStatsFiltered ¶
func (t *JobHistTab) GetStatsFiltered(l *log.Logger)
func (*JobHistTab) JobHistTabStats ¶
func (jh *JobHistTab) JobHistTabStats(l *log.Logger) string
type JobHistTabMsg ¶
 Click to show internal directories. 
   Click to hide internal directories.