Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for toUnstructured (0.34 sec)

  1. operator/pkg/cache/cache_test.go

    			wantSize: 0,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			unstObjs := make(map[string]any)
    			tUnstructured := &unstructured.Unstructured{Object: unstObjs}
    			testCache := make(map[string]*object.K8sObject)
    			testCache["foo"] = object.NewK8sObject(tUnstructured, nil, nil)
    			objectCaches["foo"] = &ObjectCache{
    				Cache: testCache,
    				Mu:    &sync.RWMutex{},
    			}
    			if len(objectCaches) != 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top