Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for areFlagsConfigured (0.15 sec)

  1. pkg/kubeapiserver/options/authentication_test.go

    	opts.AddFlags(pf)
    
    	if err := pf.Parse(args); err != nil {
    		t.Fatal(err)
    	}
    
    	if !opts.OIDC.areFlagsConfigured() {
    		t.Fatal("OIDC flags should be configured")
    	}
    	// nil these out because you cannot compare functions
    	opts.OIDC.areFlagsConfigured = nil
    
    	if !reflect.DeepEqual(opts, expected) {
    		t.Error(cmp.Diff(opts, expected, cmp.AllowUnexported(OIDCAuthenticationOptions{})))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authentication.go

    	UsernameClaim  string
    	UsernamePrefix string
    	GroupsClaim    string
    	GroupsPrefix   string
    	SigningAlgs    []string
    	RequiredClaims map[string]string
    
    	// areFlagsConfigured is a function that returns true if any of the oidc-* flags are configured.
    	areFlagsConfigured func() bool
    }
    
    // ServiceAccountAuthenticationOptions contains service account authentication options for API Server
    type ServiceAccountAuthenticationOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top