Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestToAPIVersionAndKind (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version_test.go

    		t.Run(test.input, func(t *testing.T) {
    			out := ParseGroupKind(test.input)
    			if out != test.out {
    				t.Errorf("%d: expected output: %#v, got: %#v", i, test.out, out)
    			}
    		})
    	}
    }
    
    func TestToAPIVersionAndKind(t *testing.T) {
    	tests := []struct {
    		desc         string
    		input        GroupVersionKind
    		GroupVersion string
    		Kind         string
    	}{
    		{
    			desc:         "gvk object is not empty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:46:00 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top