Tricky case. The text diff is obvious, but in the AST it violates a lot of assumptions.

Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–8361 unchanged (8361 lines)
8362 LastTransitionTime: metav1.Time{Time: time.Now().Add(-3e11)},
8363 },
8364 },
8365 },
8366 },
8367 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8368 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", int32(24), int32(12), int32(6), int32(6), int32(0), int32(3), "Complete", "5m"}}},
8369 },
8370 {
8371 name: "ResourcePoolStatusRequest with Complete status and truncated pools",
8372 request: resourceapis.ResourcePoolStatusRequest{
8373 ObjectMeta: metav1.ObjectMeta{
8374 Name: "test-request",
…lines 8375–8406 unchanged (32 lines)
8407 },
8408 },
8409 },
8410 },
8411 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8412 // Status shows truncation: "Complete (2/5 pools)" because len(Pools)=2 < PoolCount=5
8413 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", int32(18), int32(9), int32(5), int32(4), int32(0), int32(5), "Complete (2/5 pools)", "5m"}}},
8414 },
8415 {
8416 name: "ResourcePoolStatusRequest with Failed status",
8417 request: resourceapis.ResourcePoolStatusRequest{
8418 ObjectMeta: metav1.ObjectMeta{
8419 Name: "test-request",
…lines 8420–8470 unchanged (51 lines)
8471 },
8472 },
8473 },
8474 },
8475 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8476 // Only the healthy pool's device counts are summed; the error pool has nil counts.
8477 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", int32(10), int32(5), int32(3), int32(2), int32(1), int32(2), "Complete", "5m"}}},
8478 },
8479 }
8480
8481 for i, test := range tests {
8482 rows, err := printResourcePoolStatusRequest(&test.request, printers.GenerateOptions{})
8483 if err != nil {
…lines 8484–8494 unchanged (11 lines)

After

…lines 1–8361 unchanged (8361 lines)
8362 LastTransitionTime: metav1.Time{Time: time.Now().Add(-3e11)},
8363 },
8364 },
8365 },
8366 },
8367 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8368 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", "24", "12", "6", "6", "0", int32(3), "Complete", "5m"}}},
8369 },
8370 {
8371 name: "ResourcePoolStatusRequest with Complete status and truncated pools",
8372 request: resourceapis.ResourcePoolStatusRequest{
8373 ObjectMeta: metav1.ObjectMeta{
8374 Name: "test-request",
…lines 8375–8406 unchanged (32 lines)
8407 },
8408 },
8409 },
8410 },
8411 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8412 // Status shows truncation: "Complete (2/5 pools)" because len(Pools)=2 < PoolCount=5
8413 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", "18", "9", "5", "4", "0", int32(5), "Complete (2/5 pools)", "5m"}}},
8414 },
8415 {
8416 name: "ResourcePoolStatusRequest with Failed status",
8417 request: resourceapis.ResourcePoolStatusRequest{
8418 ObjectMeta: metav1.ObjectMeta{
8419 Name: "test-request",
…lines 8420–8470 unchanged (51 lines)
8471 },
8472 },
8473 },
8474 },
8475 // Columns: Name, Driver, Total, Available, Allocated, Unavailable, Errors, Pools, Status, Completed
8476 // Only the healthy pool's device counts are summed; the error pool has nil counts.
8477 expected: []metav1.TableRow{{Cells: []interface{}{"test-request", "driver.example.com", "10", "5", "3", "2", "1", int32(2), "Complete", "5m"}}},
8478 },
8479 }
8480
8481 for i, test := range tests {
8482 rows, err := printResourcePoolStatusRequest(&test.request, printers.GenerateOptions{})
8483 if err != nil {
…lines 8484–8494 unchanged (11 lines)

Before

source_file
comment "/*\nCopyright 2014 The Kubernetes Authors.\n\nLicensed under th"...
package_clause
package "package"
package_identifier "internalversion"
import_declaration (+186 nodes collapsed)
var_declaration
var "var"
var_spec
identifier "containerRestartPolicyAlways"
= "="
expression_list
selector_expression
identifier "api"
. "."
field_identifier "ContainerRestartPolicyAlways"
function_declaration (+291 nodes collapsed)
type_declaration
type "type"
type_spec
type_identifier "TestPrintHandler"
struct_type
struct "struct"
field_declaration_list
{ "{"
field_declaration
field_identifier "numCalls"
type_identifier "int"
} "}"
method_declaration (+45 nodes collapsed)
method_declaration (+26 nodes collapsed)
function_declaration (+73 nodes collapsed)
function_declaration (+3027 nodes collapsed)
function_declaration (+709 nodes collapsed)
function_declaration (+447 nodes collapsed)
function_declaration (+534 nodes collapsed)
function_declaration (+509 nodes collapsed)
function_declaration (+1711 nodes collapsed)
function_declaration (+614 nodes collapsed)
function_declaration (+636 nodes collapsed)
function_declaration (+636 nodes collapsed)
function_declaration (+866 nodes collapsed)
function_declaration (+627 nodes collapsed)
function_declaration (+437 nodes collapsed)
function_declaration (+829 nodes collapsed)
function_declaration (+830 nodes collapsed)
function_declaration (+468 nodes collapsed)
function_declaration (+1129 nodes collapsed)
function_declaration (+1795 nodes collapsed)
function_declaration (+8221 nodes collapsed)
function_declaration (+2996 nodes collapsed)
function_declaration (+1467 nodes collapsed)
function_declaration (+1069 nodes collapsed)
function_declaration (+679 nodes collapsed)
function_declaration (+1386 nodes collapsed)
function_declaration (+826 nodes collapsed)
function_declaration (+520 nodes collapsed)
type_declaration
type "type"
type_spec
type_identifier "stringTestList"
slice_type
[ "["
] "]"
struct_type
struct "struct"
field_declaration_list
{ "{"
field_declaration
field_identifier "name"
, ","
field_identifier "got"
, ","
field_identifier "exp"
type_identifier "string"
} "}"
function_declaration (+638 nodes collapsed)
function_declaration (+673 nodes collapsed)
function_declaration (+686 nodes collapsed)
function_declaration (+734 nodes collapsed)
function_declaration (+748 nodes collapsed)
function_declaration (+3119 nodes collapsed)
function_declaration (+833 nodes collapsed)
function_declaration (+7349 nodes collapsed)
function_declaration (+2145 nodes collapsed)
function_declaration (+518 nodes collapsed)
function_declaration (+622 nodes collapsed)
function_declaration (+554 nodes collapsed)
function_declaration (+927 nodes collapsed)
function_declaration (+696 nodes collapsed)
function_declaration (+528 nodes collapsed)
function_declaration (+725 nodes collapsed)
function_declaration (+725 nodes collapsed)
function_declaration (+1548 nodes collapsed)
function_declaration (+1582 nodes collapsed)
function_declaration (+923 nodes collapsed)
function_declaration (+676 nodes collapsed)
function_declaration (+795 nodes collapsed)
function_declaration (+2068 nodes collapsed)
function_declaration (+1756 nodes collapsed)
function_declaration (+645 nodes collapsed)
function_declaration (+2036 nodes collapsed)
function_declaration (+813 nodes collapsed)
function_declaration (+1257 nodes collapsed)
function_declaration (+519 nodes collapsed)
function_declaration (+521 nodes collapsed)
function_declaration (+977 nodes collapsed)
function_declaration (+477 nodes collapsed)
function_declaration (+1044 nodes collapsed)
function_declaration (+1279 nodes collapsed)
function_declaration (+1750 nodes collapsed)
function_declaration (+427 nodes collapsed)
function_declaration (+1283 nodes collapsed)
function_declaration (+659 nodes collapsed)
function_declaration (+608 nodes collapsed)
function_declaration (+875 nodes collapsed)
function_declaration (+1313 nodes collapsed)
function_declaration (+382 nodes collapsed)
function_declaration (+310 nodes collapsed)
function_declaration (+769 nodes collapsed)
function_declaration (+403 nodes collapsed)
function_declaration (+385 nodes collapsed)
function_declaration (+727 nodes collapsed)
function_declaration (+4377 nodes collapsed)
function_declaration (+345 nodes collapsed)
function_declaration (+488 nodes collapsed)
function_declaration (+640 nodes collapsed)
function_declaration (+591 nodes collapsed)
function_declaration (+391 nodes collapsed)
function_declaration (+635 nodes collapsed)
function_declaration (+305 nodes collapsed)
function_declaration (+529 nodes collapsed)
function_declaration (+343 nodes collapsed)
function_declaration (+1710 nodes collapsed)
function_declaration
func "func"
identifier "TestPrintResourcePoolStatusRequest"
parameter_list
( "("
parameter_declaration
identifier "t"
pointer_type
* "*"
qualified_type
package_identifier "testing"
. "."
type_identifier "T"
) ")"
block
{ "{"
statement_list
short_var_declaration
expression_list
identifier "tests"
:= ":="
expression_list
composite_literal
slice_type (+26 nodes collapsed)
literal_value
{ "{"
literal_element (+212 nodes collapsed)
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "ResourcePoolStatusRequest with Complete status"
" "\""
, ","
keyed_element (+566 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "24"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "12"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "6"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "6"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "0"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "3"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "ResourcePoolStatusRequest with Complete status and truncated"...
" "\""
, ","
keyed_element (+454 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
comment "// Status shows truncation: \"Complete (2/5 pools)\" because l"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "18"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "9"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "5"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "4"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "0"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "5"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete (2/5 pools)"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
literal_element (+270 nodes collapsed)
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete with validation error pool"
" "\""
, ","
keyed_element (+392 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
comment "// Only the healthy pool's device counts are summed; the err"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "10"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "5"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "3"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "2"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "1"
) ")"
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "2"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
} "}"
for_statement (+141 nodes collapsed)
} "}"

After

source_file
comment "/*\nCopyright 2014 The Kubernetes Authors.\n\nLicensed under th"...
package_clause
package "package"
package_identifier "internalversion"
import_declaration (+186 nodes collapsed)
var_declaration
var "var"
var_spec
identifier "containerRestartPolicyAlways"
= "="
expression_list
selector_expression
identifier "api"
. "."
field_identifier "ContainerRestartPolicyAlways"
function_declaration (+291 nodes collapsed)
type_declaration
type "type"
type_spec
type_identifier "TestPrintHandler"
struct_type
struct "struct"
field_declaration_list
{ "{"
field_declaration
field_identifier "numCalls"
type_identifier "int"
} "}"
method_declaration (+45 nodes collapsed)
method_declaration (+26 nodes collapsed)
function_declaration (+73 nodes collapsed)
function_declaration (+3027 nodes collapsed)
function_declaration (+709 nodes collapsed)
function_declaration (+447 nodes collapsed)
function_declaration (+534 nodes collapsed)
function_declaration (+509 nodes collapsed)
function_declaration (+1711 nodes collapsed)
function_declaration (+614 nodes collapsed)
function_declaration (+636 nodes collapsed)
function_declaration (+636 nodes collapsed)
function_declaration (+866 nodes collapsed)
function_declaration (+627 nodes collapsed)
function_declaration (+437 nodes collapsed)
function_declaration (+829 nodes collapsed)
function_declaration (+830 nodes collapsed)
function_declaration (+468 nodes collapsed)
function_declaration (+1129 nodes collapsed)
function_declaration (+1795 nodes collapsed)
function_declaration (+8221 nodes collapsed)
function_declaration (+2996 nodes collapsed)
function_declaration (+1467 nodes collapsed)
function_declaration (+1069 nodes collapsed)
function_declaration (+679 nodes collapsed)
function_declaration (+1386 nodes collapsed)
function_declaration (+826 nodes collapsed)
function_declaration (+520 nodes collapsed)
type_declaration
type "type"
type_spec
type_identifier "stringTestList"
slice_type
[ "["
] "]"
struct_type
struct "struct"
field_declaration_list
{ "{"
field_declaration
field_identifier "name"
, ","
field_identifier "got"
, ","
field_identifier "exp"
type_identifier "string"
} "}"
function_declaration (+638 nodes collapsed)
function_declaration (+673 nodes collapsed)
function_declaration (+686 nodes collapsed)
function_declaration (+734 nodes collapsed)
function_declaration (+748 nodes collapsed)
function_declaration (+3119 nodes collapsed)
function_declaration (+833 nodes collapsed)
function_declaration (+7349 nodes collapsed)
function_declaration (+2145 nodes collapsed)
function_declaration (+518 nodes collapsed)
function_declaration (+622 nodes collapsed)
function_declaration (+554 nodes collapsed)
function_declaration (+927 nodes collapsed)
function_declaration (+696 nodes collapsed)
function_declaration (+528 nodes collapsed)
function_declaration (+725 nodes collapsed)
function_declaration (+725 nodes collapsed)
function_declaration (+1548 nodes collapsed)
function_declaration (+1582 nodes collapsed)
function_declaration (+923 nodes collapsed)
function_declaration (+676 nodes collapsed)
function_declaration (+795 nodes collapsed)
function_declaration (+2068 nodes collapsed)
function_declaration (+1756 nodes collapsed)
function_declaration (+645 nodes collapsed)
function_declaration (+2036 nodes collapsed)
function_declaration (+813 nodes collapsed)
function_declaration (+1257 nodes collapsed)
function_declaration (+519 nodes collapsed)
function_declaration (+521 nodes collapsed)
function_declaration (+977 nodes collapsed)
function_declaration (+477 nodes collapsed)
function_declaration (+1044 nodes collapsed)
function_declaration (+1279 nodes collapsed)
function_declaration (+1750 nodes collapsed)
function_declaration (+427 nodes collapsed)
function_declaration (+1283 nodes collapsed)
function_declaration (+659 nodes collapsed)
function_declaration (+608 nodes collapsed)
function_declaration (+875 nodes collapsed)
function_declaration (+1313 nodes collapsed)
function_declaration (+382 nodes collapsed)
function_declaration (+310 nodes collapsed)
function_declaration (+769 nodes collapsed)
function_declaration (+403 nodes collapsed)
function_declaration (+385 nodes collapsed)
function_declaration (+727 nodes collapsed)
function_declaration (+4377 nodes collapsed)
function_declaration (+345 nodes collapsed)
function_declaration (+488 nodes collapsed)
function_declaration (+640 nodes collapsed)
function_declaration (+591 nodes collapsed)
function_declaration (+391 nodes collapsed)
function_declaration (+635 nodes collapsed)
function_declaration (+305 nodes collapsed)
function_declaration (+529 nodes collapsed)
function_declaration (+343 nodes collapsed)
function_declaration (+1710 nodes collapsed)
function_declaration
func "func"
identifier "TestPrintResourcePoolStatusRequest"
parameter_list
( "("
parameter_declaration
identifier "t"
pointer_type
* "*"
qualified_type
package_identifier "testing"
. "."
type_identifier "T"
) ")"
block
{ "{"
statement_list
short_var_declaration
expression_list
identifier "tests"
:= ":="
expression_list
composite_literal
slice_type (+26 nodes collapsed)
literal_value
{ "{"
literal_element (+212 nodes collapsed)
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "ResourcePoolStatusRequest with Complete status"
" "\""
, ","
keyed_element (+566 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "24"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "12"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "6"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "6"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "0"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "3"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "ResourcePoolStatusRequest with Complete status and truncated"...
" "\""
, ","
keyed_element (+454 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
comment "// Status shows truncation: \"Complete (2/5 pools)\" because l"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "18"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "9"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "4"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "0"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "5"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete (2/5 pools)"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
literal_element (+270 nodes collapsed)
, ","
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "name"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete with validation error pool"
" "\""
, ","
keyed_element (+392 nodes collapsed)
, ","
comment "// Columns: Name, Driver, Total, Available, Allocated, Unava"...
comment "// Only the healthy pool's device counts are summed; the err"...
keyed_element
literal_element
identifier "expected"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
qualified_type
package_identifier "metav1"
. "."
type_identifier "TableRow"
literal_value
{ "{"
literal_element
literal_value
{ "{"
keyed_element
literal_element
identifier "Cells"
: ":"
literal_element
composite_literal
slice_type
[ "["
] "]"
interface_type
interface "interface"
{ "{"
} "}"
literal_value
{ "{"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "test-request"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "driver.example.com"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "10"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "3"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "2"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "1"
" "\""
, ","
literal_element
call_expression
identifier "int32"
argument_list
( "("
int_literal "2"
) ")"
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "Complete"
" "\""
, ","
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "5m"
" "\""
} "}"
} "}"
} "}"
, ","
} "}"
, ","
} "}"
for_statement (+141 nodes collapsed)
} "}"