Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WithMetadata (0.21 sec)

  1. pilot/pkg/xds/workload_test.go

    		expect := buildExpect(t)
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    			KubernetesObjects: []runtime.Object{mkPod("pod", "sa", "127.0.0.1", "not-node")},
    		})
    		ads := s.ConnectDeltaADS().WithType(v3.AddressType).WithMetadata(model.NodeMetadata{NodeName: "node"})
    		ads.Request(&discovery.DeltaDiscoveryRequest{
    			ResourceNamesSubscribe:   []string{"*"},
    			ResourceNamesUnsubscribe: []string{"*"},
    		})
    		ads.ExpectEmptyResponse()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. docs/debugging/s3-check-md5/main.go

    			buckets = append(buckets, b.Name)
    		}
    	}
    
    	for _, bucket := range buckets {
    		opts := minio.ListObjectsOptions{
    			Recursive:    true,
    			Prefix:       prefix,
    			WithVersions: versions,
    			WithMetadata: true,
    		}
    
    		objFullPath := func(obj minio.ObjectInfo) (fpath string) {
    			fpath = path.Join(bucket, obj.Key)
    			if versions {
    				fpath += ":" + obj.VersionID
    			}
    			return
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pilot/pkg/xds/adstest.go

    }
    
    func (a *AdsTest) WithID(id string) *AdsTest {
    	a.ID = id
    	return a
    }
    
    func (a *AdsTest) WithType(typeURL string) *AdsTest {
    	a.Type = typeURL
    	return a
    }
    
    func (a *AdsTest) WithMetadata(m model.NodeMetadata) *AdsTest {
    	a.metadata = m
    	return a
    }
    
    func (a *AdsTest) WithTimeout(t time.Duration) *AdsTest {
    	a.timeout = t
    	return a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/deltaadstest.go

    	a.ID = id
    	return a
    }
    
    func (a *DeltaAdsTest) WithType(typeURL string) *DeltaAdsTest {
    	a.Type = typeURL
    	return a
    }
    
    func (a *DeltaAdsTest) WithMetadata(m model.NodeMetadata) *DeltaAdsTest {
    	a.metadata = m
    	return a
    }
    
    func (a *DeltaAdsTest) WithTimeout(t time.Duration) *DeltaAdsTest {
    	a.timeout = t
    	return a
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. pkg/istio-agent/agent_test.go

    			return a
    		})
    		meta := proxyConfigToMetadata(t, a.ProxyConfig)
    		if err := test.Wrap(func(t test.Failer) {
    			conn := setupDownstreamConnectionUDS(t, a.AgentConfig.XdsUdsPath)
    			xdsc := xds.NewAdsTest(t, conn).WithMetadata(meta)
    			_ = xdsc.RequestResponseAck(t, nil)
    		}); err == nil {
    			t.Fatalf("connect success with wrong CA")
    		}
    
    		// change ROOT CA, XDS will success
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    		ctx, cancel := context.WithCancel(ctx)
    		objInfoCh := c.ListObjects(ctx, r.Source.Bucket, miniogo.ListObjectsOptions{
    			Prefix:       r.Source.Prefix,
    			WithVersions: minioSrc,
    			Recursive:    true,
    			WithMetadata: true,
    		})
    		prevObj := ""
    		skipReplicate := false
    
    		for obj := range objInfoCh {
    			oi := toObjectInfo(r.Source.Bucket, obj.Key, obj)
    			if !minioSrc {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top