Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 580 for discoveryv1 (0.16 sec)

  1. cmd/kubeadm/app/cmd/join_test.go

    		},
    		{
    			name: "pass if file discovery is set",
    			flags: map[string]string{
    				options.FileDiscovery: "https://foo",
    			},
    			validate: func(t *testing.T, data *joinData) {
    				// validate that file discovery settings are set into join data
    				if data.cfg.Discovery.File == nil || data.cfg.Discovery.File.KubeConfigPath != "https://foo" {
    					t.Error("Invalid data.cfg.Discovery.File")
    				}
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/deltaadstest.go

    		return
    	case resp := <-a.responses:
    		a.t.Fatalf("got unexpected response: %v", resp)
    	}
    }
    
    func (a *DeltaAdsTest) fillInRequestDefaults(req *discovery.DeltaDiscoveryRequest) *discovery.DeltaDiscoveryRequest {
    	if req == nil {
    		req = &discovery.DeltaDiscoveryRequest{}
    	}
    	if req.TypeUrl == "" {
    		req.TypeUrl = a.Type
    	}
    	if req.Node == nil {
    		req.Node = &core.Node{
    			Id:       a.ID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pilot/pkg/xds/delta_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package xds_test
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pilot/test/xdstest"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. pkg/proxy/metaproxier/meta_proxier.go

    // is observed.
    func (proxier *metaProxier) OnEndpointSliceAdd(endpointSlice *discovery.EndpointSlice) {
    	switch endpointSlice.AddressType {
    	case discovery.AddressTypeIPv4:
    		proxier.ipv4Proxier.OnEndpointSliceAdd(endpointSlice)
    	case discovery.AddressTypeIPv6:
    		proxier.ipv6Proxier.OnEndpointSliceAdd(endpointSlice)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:28:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. pkg/istio-agent/xds_proxy_delta_test.go

    }
    
    func deltaStream(t *testing.T, conn *grpc.ClientConn) discovery.AggregatedDiscoveryService_DeltaAggregatedResourcesClient {
    	t.Helper()
    	adsClient := discovery.NewAggregatedDiscoveryServiceClient(conn)
    	downstream, err := adsClient.DeltaAggregatedResources(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return downstream
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. pilot/pkg/model/typed_xds_cache.go

    	size(l.store.Len())
    }
    
    type cacheValue struct {
    	value            *discovery.Resource
    	token            CacheToken
    	dependentConfigs []ConfigHash
    }
    
    func (l *lruCache[K]) Get(key K) *discovery.Resource {
    	return l.get(key, 0)
    }
    
    // get return the cached value if it exists.
    func (l *lruCache[K]) get(key K, token CacheToken) *discovery.Resource {
    	l.mu.Lock()
    	defer l.mu.Unlock()
    	cv, ok := l.store.Get(key)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/registry/discovery/endpointslice/storage/storage.go

    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &discovery.EndpointSlice{} },
    		NewListFunc:               func() runtime.Object { return &discovery.EndpointSliceList{} },
    		DefaultQualifiedResource:  discovery.Resource("endpointslices"),
    		SingularQualifiedResource: discovery.Resource("endpointslice"),
    
    		CreateStrategy: endpointslice.Strategy,
    		UpdateStrategy: endpointslice.Strategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/adstest.go

    		return
    	case resp := <-a.responses:
    		t.Fatalf("got unexpected response: %v", resp)
    	}
    }
    
    func (a *AdsTest) fillInRequestDefaults(req *discovery.DiscoveryRequest) *discovery.DiscoveryRequest {
    	if req == nil {
    		req = &discovery.DiscoveryRequest{}
    	}
    	if req.TypeUrl == "" {
    		req.TypeUrl = a.Type
    	}
    	if req.Node == nil {
    		req.Node = &core.Node{
    			Id:       a.ID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1beta1.EndpointSlice.pb

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 682 bytes
    - Viewed (0)
  10. pkg/istio-agent/xds_proxy.go

    )
    
    type (
    	DiscoveryStream      = discovery.AggregatedDiscoveryService_StreamAggregatedResourcesServer
    	DeltaDiscoveryStream = discovery.AggregatedDiscoveryService_DeltaAggregatedResourcesServer
    	DiscoveryClient      = discovery.AggregatedDiscoveryService_StreamAggregatedResourcesClient
    	DeltaDiscoveryClient = discovery.AggregatedDiscoveryService_DeltaAggregatedResourcesClient
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top