Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCacheCRDFinder (0.14 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    limitations under the License.
    */
    
    package resource
    
    import (
    	"errors"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    func TestCacheCRDFinder(t *testing.T) {
    	called := 0
    	getter := func() ([]schema.GroupKind, error) {
    		called += 1
    		return nil, nil
    	}
    	finder := NewCRDFinder(getter)
    	if called != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top