Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Se (0.02 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			}
    
    			w.WorkloadName, w.WorkloadType = se.Name, workloadapi.WorkloadType_POD // XXX(shashankram): HACK to impersonate pod
    			w.CanonicalName, w.CanonicalRevision = kubelabels.CanonicalService(se.Labels, w.WorkloadName)
    
    			setTunnelProtocol(se.Labels, se.Annotations, w)
    			res = append(res, model.WorkloadInfo{Workload: w, Labels: se.Labels, Source: kind.WorkloadEntry, CreationTime: se.CreationTimestamp.Time})
    		}
    		return res
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	}
    
    	if len(svc.Attributes.LabelSelectors) > 0 {
    		se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors}
    	}
    
    	// Based on networking.istio.io/exportTo annotation
    	for k := range svc.Attributes.ExportTo {
    		// k is Private or Public
    		se.ExportTo = append(se.ExportTo, string(k))
    	}
    
    	if svc.MeshExternal {
    		se.Location = networking.ServiceEntry_MESH_EXTERNAL // 0 - default
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/internal/xcoff/file.go

    		case U802TOCMAGIC:
    			se := new(SymEnt32)
    			if err := binary.Read(sr, binary.BigEndian, se); err != nil {
    				return nil, err
    			}
    			numaux = int(se.Nnumaux)
    			sym.SectionNumber = int(se.Nscnum)
    			sym.StorageClass = int(se.Nsclass)
    			sym.Value = uint64(se.Nvalue)
    			needAuxFcn = se.Ntype&SYM_TYPE_FUNC != 0 && numaux > 1
    			zeroes := binary.BigEndian.Uint32(se.Nname[:4])
    			if zeroes != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    	// test code path where service entry creates a workload entry via `ServiceEntry.endpoints`
    	// and the inlined WE has a port override
    	s.addServiceEntry(t, "se.istio.io", []string{"240.240.23.45"}, "name1", testNS, nil, []string{"127.0.0.1"})
    	s.assertEvent(t, s.seIPXdsName("name1", "127.0.0.1"), "ns1/se.istio.io")
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "name1")
    	assert.Equal(t, s.lookup(s.addrXdsName("127.0.0.1")), []model.AddressInfo{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller.go

    		services := s.services.getServices(namespacedName)
    		se := cfg.Spec.(*networking.ServiceEntry)
    		if wi.DNSServiceEntryOnly && !isDNSTypeServiceEntry(se) {
    			log.Debugf("skip selecting workload instance %v/%v for DNS service entry %v", wi.Namespace, wi.Name, se.Hosts)
    			continue
    		}
    		instance := s.convertWorkloadEntryToServiceInstances(wle, services, se, &key, s.Cluster())
    		instancesUpdated = append(instancesUpdated, instance...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    			case "Rule":
    				var r Rule
    				if err = d.DecodeElement(&r, &se); err != nil {
    					return err
    				}
    				lc.Rules = append(lc.Rules, r)
    			case "ExpiryUpdatedAt":
    				var t time.Time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	}
    	serviceInstanceTests := []struct {
    		name      string
    		wle       *networking.WorkloadEntry
    		se        *config.Config
    		clusterID cluster.ID
    		out       []*model.ServiceInstance
    	}{
    		{
    			name: "simple",
    			wle: &networking.WorkloadEntry{
    				Address: "1.1.1.1",
    				Labels:  labels,
    			},
    			se: selector,
    			out: []*model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. tests/integration/security/pass_through_filter_chain_test.go

    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    						//
    						// Since our client will talk directly to pods via IP, we have to configure the ports
    						// in the SE as TCP, since only TCP does will match based in IP address rather than host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go

    	return "error"
    }
    
    func (_ alwaysMatchingError) Is(_ error) bool {
    	return true
    }
    
    type someError struct{ msg string }
    
    func (se someError) Error() string {
    	if se.msg != "" {
    		return se.msg
    	}
    	return "err"
    }
    
    func TestAggregateWithErrorsIs(t *testing.T) {
    	testCases := []struct {
    		name         string
    		err          error
    		matchAgainst error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 13:16:21 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/fake.go

    	}
    
    	serviceDiscovery := aggregate.NewController(aggregate.Options{})
    	se := serviceentry.NewController(
    		configController,
    		xdsUpdater,
    		env.Watcher,
    		serviceentry.WithClusterID(opts.ClusterID))
    	// TODO allow passing in registry, for k8s, mem reigstry
    	serviceDiscovery.AddRegistry(se)
    	msd := memregistry.NewServiceDiscovery(opts.Services...)
    	msd.XdsUpdater = xdsUpdater
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top