Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJSONPrinter (0.09 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go

    	StringList        []string       `json:"StringList"`
    	IntList           []int          `json:"IntList"`
    }
    
    func (in *TestStruct) DeepCopyObject() runtime.Object {
    	panic("never called")
    }
    
    func TestJSONPrinter(t *testing.T) {
    	testPrinter(t, NewTypeSetter(scheme.Scheme).ToPrinter(&JSONPrinter{}), json.Unmarshal)
    }
    
    func testPrinter(t *testing.T, printer ResourcePrinter, unmarshalFunc func(data []byte, v interface{}) error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top