Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetMutualTLSModeForPort (0.19 sec)

  1. pilot/pkg/security/authn/factory.go

    	PortLevelSetting() map[uint32]model.MutualTLSMode
    
    	MtlsPolicy
    }
    
    type MtlsPolicy interface {
    	// GetMutualTLSModeForPort gets the mTLS mode for the given port. If there is no port level setting, it
    	// returns the inherited namespace/mesh level setting.
    	GetMutualTLSModeForPort(endpointPort uint32) model.MutualTLSMode
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/mtls_checker.go

    	if ep.TLSMode != model.IstioMutualTLSModeLabel {
    		return false
    	}
    
    	return authn.
    		NewMtlsPolicy(c.push, ep.Namespace, ep.Labels, isWaypoint).
    		GetMutualTLSModeForPort(ep.EndpointPort) != model.MTLSDisable
    }
    
    func tlsModeForDestinationRule(drc *config.Config, subset string, port int) *networkingapi.ClientTLSSettings_TLSmode {
    	if drc == nil {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top