Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StaticVerifierFn (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/verify_options.go

    limitations under the License.
    */
    
    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)
Back to top