Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetTrustAnchorsByNameCaching (0.19 sec)

  1. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	_, err = ctbManager.GetTrustAnchorsByName("not-found", true)
    	if err != nil {
    		t.Fatalf("Unexpected error while calling GetTrustAnchorsByName for nonexistent CTB with allowMissing: %v", err)
    	}
    }
    
    func TestGetTrustAnchorsByNameCaching(t *testing.T) {
    	ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
    	defer cancel()
    
    	ctb1 := &certificatesv1alpha1.ClusterTrustBundle{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top