Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initAuthenticationPolicies (0.52 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)
  3. pilot/pkg/model/push_context.go

    		}
    		ps.serviceAccounts[key] = sa
    	}
    }
    
    // Caches list of authentication policies
    func (ps *PushContext) initAuthnPolicies(env *Environment) {
    	ps.AuthnPolicies = initAuthenticationPolicies(env)
    }
    
    // Caches list of virtual services
    func (ps *PushContext) initVirtualServices(env *Environment) {
    	ps.virtualServiceIndex.exportedToNamespaceByGateway = map[types.NamespacedName][]config.Config{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top