func NewNodesTable(kubeclient kubernetes.Interface, mc metrics.Interface) *NodesTable {
	columns := []table.ColumnDefinition{
		table.TextColumn("name"),
		table.TextColumn("role"),
		table.TextColumn("external_ip"),
		table.TextColumn("kernel_version"),
		table.TextColumn("kubelet_version"),
		table.TextColumn("cpu_usage"),
		table.TextColumn("memory_usage"),
	}
	return &NodesTable{
		name:          "kubernetes_nodes",
		columns:       columns,
		client:        kubeclient,
		metricsClient: mc,
	}
}
// NewNodesTable creates a new NodesTable
// saves given initialized kubernetes client
NewNodesTable creates a new NodesTable
saves given initialized kubernetes client
// NewNodesTable creates a new NodesTable // saves given initialized kubernetes client
func NewNodesTable(kubeclient kubernetes.Interface, mc metrics.Interface) *NodesTable {
	columns := []table.ColumnDefinition{
		table.TextColumn("name"),
		table.TextColumn("role"),
		table.TextColumn("external_ip"),
		table.TextColumn("kernel_version"),
		table.TextColumn("kubelet_version"),
		table.TextColumn("cpu_usage"),
		table.TextColumn("memory_usage"),
	}
	return &NodesTable{
		name:          "kubernetes_nodes",
		columns:       columns,
		client:        kubeclient,
		metricsClient: mc,
	}
}
func NewNodesTable ( kubeclient kubernetes . Interface , mc metrics . Interface ) * NodesTable { columns := [ ] table . ColumnDefinition { table . TextColumn ( " " ) , table . TextColumn ( " " ) , table . TextColumn ( " " ) , table . TextColumn ( " " ) , table . TextColumn ( " " ) , table . TextColumn ( " " ) , table . TextColumn ( " " ) , } return & NodesTable { name : " " , columns : columns , client : kubeclient , metricsClient : mc , } }
NewNodesTable creates a new NodesTable
saves given initialized kubernetes client
NewNodesTable creates a new NodesTable saves given initialized kubernetes client