Package ganeti :: Module cli :: Class TableColumn
[hide private]
[frames] | no frames]

Class TableColumn

source code

Describes a column for FormatTable.

Instance Methods [hide private]
 
__init__(self, title, fn, align_right)
Initializes this class.
source code
Method Details [hide private]

__init__(self, title, fn, align_right)
(Constructor)

source code 

Initializes this class.

Parameters:
  • title (string) - Column title
  • fn (callable) - Formatting function
  • align_right (bool) - Whether to align values on the right-hand side