Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initAuthenticationPolicies (0.24 sec)

  1. pilot/pkg/model/authentication.go

    	rootNamespace string
    
    	// aggregateVersion contains the versions of all peer authentications.
    	aggregateVersion string
    }
    
    // initAuthenticationPolicies creates a new AuthenticationPolicies struct and populates with the
    // authentication policies in the mesh environment.
    func initAuthenticationPolicies(env *Environment) *AuthenticationPolicies {
    	policy := &AuthenticationPolicies{
    		requestAuthentications: map[string][]config.Config{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/authentication_test.go

    		}
    	}
    	environment := &Environment{
    		ConfigStore: configStore,
    		Watcher:     mesh.NewFixedWatcher(&meshconfig.MeshConfig{RootNamespace: rootNamespace}),
    	}
    
    	return initAuthenticationPolicies(environment)
    }
    
    func createTestRequestAuthenticationResource(
    	name string, namespace string, selector *selectorpb.WorkloadSelector, targetRef *selectorpb.PolicyTargetReference,
    ) *config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
Back to top