Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for typeurl (0.16 sec)

  1. pilot/pkg/xds/delta_test.go

    	// Another removal should behave the same
    	s.MemRegistry.RemoveService("eds.test.svc.cluster.local")
    	resp = ads.ExpectResponse()
    	// ACK
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    		TypeUrl:       resp.TypeUrl,
    		ResponseNonce: resp.Nonce,
    	})
    	assertResources(resp)
    	assert.Equal(t, resp.RemovedResources, []string{"outbound|8080||eds.test.svc.cluster.local"})
    
    	// Another removal should behave the same
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    				// If we did not do this, merge.Merge below will panic (which is recovered), so even though this
    				// is not 100% reliable its better than doing nothing
    				if userFilter.GetTypedConfig().TypeUrl != filter.GetTypedConfig().TypeUrl {
    					userFilter.ConfigType.(*listener.Filter_TypedConfig).TypedConfig.TypeUrl = filter.GetTypedConfig().TypeUrl
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/sds/sdsservice.go

    func (w *Watch) GetWatchedResource(string) *xds.WatchedResource {
    	w.Lock()
    	defer w.Unlock()
    	return w.watch
    }
    
    func (w *Watch) NewWatchedResource(typeURL string, names []string) {
    	w.Lock()
    	defer w.Unlock()
    	w.watch = &xds.WatchedResource{TypeUrl: typeURL, ResourceNames: names}
    }
    
    func (w *Watch) UpdateWatchedResource(_ string, f func(*xds.WatchedResource) *xds.WatchedResource) {
    	w.Lock()
    	defer w.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. hack/unwanted-dependencies.json

          ],
          "github.com/gogo/protobuf": [
            "github.com/Microsoft/hcsshim",
            "github.com/containerd/cgroups",
            "github.com/containerd/ttrpc",
            "github.com/containerd/typeurl",
            "github.com/google/cadvisor",
            "github.com/grpc-ecosystem/go-grpc-middleware",
            "go.etcd.io/etcd/api/v3",
            "go.etcd.io/etcd/client/v3",
            "go.etcd.io/etcd/raft/v3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. pilot/test/xds/fake.go

    	f.t.Helper()
    	p = f.SetupProxy(p)
    	initialWatch := []*discovery.DiscoveryRequest{}
    	for _, typeURL := range watch {
    		initialWatch = append(initialWatch, &discovery.DiscoveryRequest{TypeUrl: typeURL})
    	}
    	opts := []grpc.DialOption{grpc.WithTransportCredentials(insecure.NewCredentials())}
    	if f.BufListener != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. pkg/config/model.go

    	}
    
    	// gogo protobuf
    	if pb, ok := s.(gogoproto.Message); ok {
    		gogoany, err := gogotypes.MarshalAny(pb)
    		if err != nil {
    			return nil, err
    		}
    		return &anypb.Any{
    			TypeUrl: gogoany.TypeUrl,
    			Value:   gogoany.Value,
    		}, nil
    	}
    
    	js, err := json.Marshal(s)
    	if err != nil {
    		return nil, err
    	}
    	pbs := &structpb.Struct{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. pilot/pkg/xds/debug.go

    		writeJSON(w, res, req)
    		return
    	}
    	snapshot := s.Cache.Snapshot()
    	resources := make(map[string][]string, len(snapshot)) // Key is typeUrl and value is resource names.
    	for _, resource := range snapshot {
    		if resource == nil {
    			continue
    		}
    		resourceType := resource.Resource.TypeUrl
    		resources[resourceType] = append(resources[resourceType], resource.Name)
    	}
    	writeJSON(w, resources, req)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. pilot/pkg/xds/workload.go

    		aliases := addr.Aliases()
    		removed.DeleteAll(aliases...)
    		n := addr.ResourceName()
    		have.Insert(n)
    		haveAliases.InsertAll(aliases...)
    		switch w.TypeUrl {
    		case v3.WorkloadType:
    			if addr.GetWorkload() != nil {
    				resources = append(resources, &discovery.Resource{
    					Name:     n,
    					Aliases:  aliases,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. go.mod

    	github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
    	github.com/chai2010/gettext-go v1.0.2 // indirect
    	github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect
    	github.com/containerd/typeurl/v2 v2.1.1 // indirect
    	github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
    	github.com/cyphar/filepath-securejoin v0.2.4 // indirect
    	github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    				{
    					TransportSocket: &core.TransportSocket{
    						Name: "transport_sockets.alts",
    						ConfigType: &core.TransportSocket_TypedConfig{
    							TypedConfig: protoconv.MessageToAny(&udpa.TypedStruct{
    								TypeUrl: "type.googleapis.com/envoy.extensions.transport_sockets.alts.v3.Alts",
    								Value:   buildGolangPatchStruct(`{"handshaker_service":"1.2.3.4"}`),
    							}),
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top