Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newJSONPath (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go

    					{Name: "multi", Type: "string"},
    				},
    				additionalColumns: []columnPrinter{
    					newJSONPath("valueOnly", "{.spec.servers[0].hosts[0]}"),
    					newJSONPath("single1", "{.spec.servers[0].hosts}"),
    					newJSONPath("single2", "{.spec.servers[1].hosts}"),
    					newJSONPath("multi", "{.spec.servers[*].hosts}"),
    				},
    			},
    			args: args{
    				obj: &unstructured.Unstructured{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top