Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for modes (0.07 sec)

  1. pilot/pkg/xds/delta.go

    		w = &model.WatchedResource{
    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    	}
    
    	var res model.Resources
    	var deletedRes model.DeletedResources
    	var logdata model.XdsLogDetails
    	var usedDelta bool
    	var err error
    	switch g := gen.(type) {
    	case model.XdsDeltaResourceGenerator:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster.go

    func (configgen *ConfigGeneratorImpl) BuildClusters(proxy *model.Proxy, req *model.PushRequest) ([]*discovery.Resource, model.XdsLogDetails) {
    	// In Sotw, we care about all services.
    	var services []*model.Service
    	if features.FilterGatewayClusterConfig && proxy.Type == model.Router {
    		services = req.Push.GatewayServices(proxy)
    	} else {
    		services = proxy.SidecarScope.Services()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/accesslog_test.go

    		t.Fatalf("unexpected access log: %v", xdstest.ExtractTCPProxy(t, fc).GetAccessLog())
    	}
    }
    
    func newTestEnviroment() *model.Environment {
    	serviceDiscovery := memregistry.NewServiceDiscovery(&model.Service{
    		Hostname:       "test.example.org",
    		DefaultAddress: "1.1.1.1",
    		Ports: model.PortList{
    			&model.Port{
    				Name:     "default",
    				Port:     8080,
    				Protocol: protocol.HTTP,
    			},
    		},
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_builder_test.go

    		},
    	}
    
    	for _, tt := range tests {
    		proxy := &model.Proxy{
    			Metadata: &model.NodeMetadata{
    				InboundListenerExactBalance:  model.StringBool(tt.useExactBalance),
    				OutboundListenerExactBalance: model.StringBool(tt.useExactBalance),
    			},
    		}
    		listeners := buildListeners(t, TestOptions{Services: testServices}, proxy)
    		if vo := xdstest.ExtractListener(model.VirtualOutboundListenerName, listeners); vo == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	WorkloadServices krt.Collection[model.ServiceInfo],
    	WorkloadServicesNamespaceIndex *krt.Index[model.ServiceInfo, string],
    	Namespaces krt.Collection[*v1.Namespace],
    	Nodes krt.Collection[*v1.Node],
    ) krt.TransformationSingle[*v1.Pod, model.WorkloadInfo] {
    	return func(ctx krt.HandlerContext, p *v1.Pod) *model.WorkloadInfo {
    		// Pod Is Pending but have a pod IP should be a valid workload, we should build it ,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				},
    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "wrong-ns", Namespace: "not-ns"},
    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder.go

    	var defaultSni string
    	if opts.clusterMode == DefaultClusterMode {
    		subsetClusterName = model.BuildSubsetKey(model.TrafficDirectionOutbound, subset.Name, service.Hostname, opts.port.Port)
    		defaultSni = model.BuildDNSSrvSubsetKey(model.TrafficDirectionOutbound, subset.Name, service.Hostname, opts.port.Port)
    	} else {
    		subsetClusterName = model.BuildDNSSrvSubsetKey(model.TrafficDirectionOutbound, subset.Name, service.Hostname, opts.port.Port)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  8. pilot/pkg/xds/delta_test.go

    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    		Services: []*model.Service{
    			{
    				Hostname:       "adsupdate.example.com",
    				DefaultAddress: "10.11.0.1",
    				Ports: []*model.Port{
    					{
    						Name:     "http-main",
    						Port:     2080,
    						Protocol: protocol.HTTP,
    					},
    				},
    				Attributes: model.ServiceAttributes{
    					Name:      "adsupdate",
    					Namespace: "default",
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_waypoint.go

    			cc := inboundChainConfig{
    				clusterName:   model.BuildSubsetKey(model.TrafficDirectionInboundVIP, "tcp", svc.Hostname, port.Port),
    				policyService: svc,
    				port: model.ServiceInstancePort{
    					ServicePort: port,
    					TargetPort:  uint32(port.Port),
    				},
    				bind:  "0.0.0.0",
    				hbone: true,
    			}
    			name := model.BuildSubsetKey(model.TrafficDirectionInboundVIP, "", svc.Hostname, port.Port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_inbound.go

    func getBindToPort(mode networking.CaptureMode, node *model.Proxy) bool {
    	if mode == networking.CaptureMode_DEFAULT {
    		// Chain doesn't specify explicit config, so use the proxy defaults
    		return node.GetInterceptionMode() == model.InterceptionNone
    	}
    	// Explicitly configured in the config, ignore proxy defaults
    	return mode == networking.CaptureMode_NONE
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top