Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetObjectKind (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			body = string(d)
    		}
    		obj := &unstructured.Unstructured{}
    		if err := json.Unmarshal([]byte(body), obj); err != nil {
    			t.Fatal(err)
    		}
    		if obj.GetObjectKind().GroupVersionKind() != test.expectKind {
    			t.Errorf("%d: unexpected kind: %#v", i, obj.GetObjectKind().GroupVersionKind())
    		}
    	}
    }
    
    func TestGetBinary(t *testing.T) {
    	simpleStorage := SimpleRESTStorage{
    		stream: &SimpleStream{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top