- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for VerifyOptionFunc (0.26 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/verify_options.go
*/ package x509 import ( "crypto/x509" "fmt" "k8s.io/client-go/util/cert" ) // StaticVerifierFn is a VerifyOptionFunc that always returns the same value. This allows verify options that cannot change. func StaticVerifierFn(opts x509.VerifyOptions) VerifyOptionFunc { return func() (x509.VerifyOptions, bool) { return opts, true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 07 19:48:24 UTC 2019 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go
// is eventually expected, but not currently present. type VerifyOptionFunc func() (x509.VerifyOptions, bool) // Authenticator implements request.Authenticator by extracting user info from verified client certificates type Authenticator struct { verifyOptionsFn VerifyOptionFunc user UserConversion }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 18 01:31:22 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go
return nil, fmt.Errorf("empty header %q", headerName) } ret = append(ret, trimmedHeader) } return ret, nil } func NewDynamicVerifyOptionsSecure(verifyOptionFn x509request.VerifyOptionFunc, proxyClientNames, nameHeaders, groupHeaders, extraHeaderPrefixes StringSliceProvider) authenticator.Request { headerAuthenticator := NewDynamic(nameHeaders, groupHeaders, extraHeaderPrefixes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:19:54 UTC 2024 - 6.1K bytes - Viewed (0)