Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for token_cache (0.37 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/stats.go

    		&metrics.HistogramOpts{
    			Namespace:      "authentication",
    			Subsystem:      "token_cache",
    			Name:           "request_duration_seconds",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"status"},
    	)
    	requestCount = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      "authentication",
    			Subsystem:      "token_cache",
    			Name:           "request_total",
    			StabilityLevel: metrics.ALPHA,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 18:49:09 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. security/pkg/credentialfetcher/plugin/gce.go

    		}
    	}
    }
    
    func (p *GCEPlugin) shouldRotate(now time.Time) bool {
    	p.tokenMutex.RLock()
    	defer p.tokenMutex.RUnlock()
    
    	if p.tokenCache == "" {
    		return true
    	}
    	exp, err := util.GetExp(p.tokenCache)
    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
Back to top