Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for pushContext (0.26 sec)

  1. pkg/kube/inject/inject_test.go

    			// kube-inject. Instead, we just compare the desired/actual pod specs.
    			t.Run("webhook", func(t *testing.T) {
    				env := &model.Environment{}
    				env.SetPushContext(&model.PushContext{
    					ProxyConfigs: &model.ProxyConfigs{},
    				})
    
    				multi := multicluster.NewFakeController()
    				client := kube.NewFakeClient(
    					&corev1.Namespace{
    						ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ecds.go

    	}
    	return results
    }
    
    func (e *EcdsGenerator) SetCredController(creds credscontroller.MulticlusterController) {
    	e.secretController = creds
    }
    
    func referencedSecrets(proxy *model.Proxy, push *model.PushContext, resourceNames []string) []SecretResource {
    	// The requirement for the Wasm pull secret:
    	// * Wasm pull secrets must be of type `kubernetes.io/dockerconfigjson`.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/endpoint_builder.go

    	subsetName   string
    	subsetLabels labels.Instance
    	hostname     host.Name
    	port         int
    	push         *model.PushContext
    	proxy        *model.Proxy
    	dir          model.TrafficDirection
    
    	mtlsChecker *mtlsChecker
    }
    
    func NewEndpointBuilder(clusterName string, proxy *model.Proxy, push *model.PushContext) EndpointBuilder {
    	dir, subsetName, hostname, port := model.ParseSubsetKey(clusterName)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/xds_cache.go

    // All operations are thread safe.
    type XdsCache interface {
    	// Run starts a background thread to flush evicted indexes periodically.
    	Run(stop <-chan struct{})
    	// Add adds the given XdsCacheEntry with the value for the given pushContext to the cache.
    	// If the cache has been updated to a newer push context, the write will be dropped silently.
    	// This ensures stale data does not overwrite fresh data when dealing with concurrent
    	// writers.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 07:02:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    type gatewayListenerOpts struct {
    	push  *model.PushContext
    	proxy *model.Proxy
    
    	bindToPort bool
    	bind       string
    	extraBind  []string
    
    	port              int
    	filterChainOpts   []*filterChainOpts
    	needPROXYProtocol bool
    }
    
    // outboundListenerOpts are the options to build an outbound listener
    type outboundListenerOpts struct {
    	push  *model.PushContext
    	proxy *model.Proxy
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway.go

    	case istionetworking.TransportProtocolQUIC:
    		return "udp_" + bind + "_" + strconv.Itoa(port)
    	}
    	return "unknown"
    }
    
    func buildNameToServiceMapForHTTPRoutes(node *model.Proxy, push *model.PushContext,
    	virtualService config.Config,
    ) map[host.Name]*model.Service {
    	vs := virtualService.Spec.(*networking.VirtualService)
    	nameToServiceMap := map[host.Name]*model.Service{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route.go

    func GetConsistentHashForVirtualService(push *model.PushContext, node *model.Proxy, virtualService config.Config) DestinationHashMap {
    	hashByDestination, _ := hashForVirtualService(push, node, virtualService)
    	return hashByDestination
    }
    
    // hashForHTTPDestination return the ConsistentHashLB and the DestinationRule associated with HTTP route destination.
    func hashForHTTPDestination(push *model.PushContext, node *model.Proxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/conversion_test.go

    				})
    			}
    			cg := core.NewConfigGenTest(t, core.TestOptions{
    				Services:  services,
    				Instances: instances,
    			})
    			kr := splitInput(t, input)
    			kr.Context = NewGatewayContext(cg.PushContext(), "Kubernetes")
    			output := convertResources(kr)
    			output.AllowedReferences = AllowedReferences{} // Not tested here
    			output.ReferencedNamespaceKeys = nil           // Not tested here
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/tls.go

    	return strings.Join(match.SniHosts, ",") + "|" + strings.Join(match.DestinationSubnets, ",")
    }
    
    func buildSidecarOutboundTLSFilterChainOpts(node *model.Proxy, push *model.PushContext, destinationCIDR string,
    	service *model.Service, bind string, listenPort *model.Port,
    	gateways sets.String, configs []config.Config,
    ) []*filterChainOpts {
    	if !listenPort.Protocol.IsTLS() {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. pkg/dns/server/name_table.go

    	dnsProto "istio.io/istio/pkg/dns/proto"
    	netutil "istio.io/istio/pkg/util/net"
    )
    
    // Config for building the name table.
    type Config struct {
    	Node *model.Proxy
    	Push *model.PushContext
    
    	// MulticlusterHeadlessEnabled if true, the DNS name table for a headless service will resolve to
    	// same-network endpoints in any cluster.
    	MulticlusterHeadlessEnabled bool
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top