- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for printComponentStatus (1.48 sec)
-
pkg/printers/internalversion/printers.go
{Name: "Error", Type: "string", Description: "Error of the component conditions"}, } _ = h.TableHandler(componentStatusColumnDefinitions, printComponentStatus) _ = h.TableHandler(componentStatusColumnDefinitions, printComponentStatusList) deploymentColumnDefinitions := []metav1.TableColumnDefinition{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
// Columns: Name, Status, Message, Error expected: []metav1.TableRow{{Cells: []interface{}{"cs3", "Unhealthy", "test message", "test error"}}}, }, } for i, test := range tests { rows, err := printComponentStatus(&test.componentStatus, printers.GenerateOptions{}) if err != nil { t.Fatal(err) } for i := range rows { rows[i].Object.Object = nil } if !reflect.DeepEqual(test.expected, rows) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)