Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for token_cache (0.18 sec)

  1. pkg/kubeapiserver/authenticator/config.go

    	"k8s.io/apiserver/pkg/authentication/request/headerrequest"
    	"k8s.io/apiserver/pkg/authentication/request/union"
    	"k8s.io/apiserver/pkg/authentication/request/websocket"
    	"k8s.io/apiserver/pkg/authentication/request/x509"
    	tokencache "k8s.io/apiserver/pkg/authentication/token/cache"
    	"k8s.io/apiserver/pkg/authentication/token/tokenfile"
    	tokenunion "k8s.io/apiserver/pkg/authentication/token/union"
    	"k8s.io/apiserver/pkg/server/dynamiccertificates"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. security/pkg/credentialfetcher/plugin/gce_test.go

    			jwt:            "invalid-token",
    			now:            time.Now(),
    			expectedRotate: true,
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			p := GCEPlugin{
    				tokenCache: tc.jwt,
    			}
    			if rotate := p.shouldRotate(tc.now); rotate != tc.expectedRotate {
    				t.Errorf("%s, shouldRotate(%s)=%t, expected %t",
    					id, tc.now.String(), rotate, tc.expectedRotate)
    			}
    		})
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 10.1K bytes
    - Viewed (0)
Back to top