Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ToAuthenticationConfig (0.17 sec)

  1. pkg/kubeapiserver/options/authentication.go

    			"The duration to cache responses from the webhook token authenticator.")
    	}
    }
    
    // ToAuthenticationConfig convert BuiltInAuthenticationOptions to kubeauthenticator.Config. Returns
    // an empty config if o is nil.
    func (o *BuiltInAuthenticationOptions) ToAuthenticationConfig() (kubeauthenticator.Config, error) {
    	if o == nil {
    		return kubeauthenticator.Config{}, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authentication_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	expectConfig.AuthenticationConfig.JWT[0].Issuer.CertificateAuthority = string(fileBytes)
    
    	resultConfig, err := testOptions.ToAuthenticationConfig()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// nil these out because you cannot compare pointers.  Ensure they are non-nil first
    	if resultConfig.ClientCAContentProvider == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
Back to top