Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setWaypoint (0.25 sec)

  1. tests/integration/ambient/waypoint_test.go

    			return err
    		}
    
    		if err := setWaypoint(waypoint); err != nil {
    			t.Fatal(err)
    		}
    		t.Cleanup(func() {
    			if err := setWaypoint(""); err != nil {
    				scopes.Framework.Errorf("failed resetting waypoint for %s", name)
    			}
    		})
    	}
    }
    
    func TestWaypointDNS(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/integration/ambient/baseline_test.go

    						Check:  check.And(check.OK(), c),
    					}
    					src.CallOrFail(t, opt)
    				})
    			}
    		}
    		t.NewSubTest("before").Run(check)
    
    		SetWaypoint(t, Captured, "bogus-waypoint")
    		t.NewSubTest("with waypoint").Run(check)
    
    		SetWaypoint(t, Captured, "")
    		t.NewSubTest("waypoint removed").Run(check)
    	})
    }
    
    func TestServerRouting(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	s.assertEvent(t, s.podXdsName("waypoint2-ns-pod"))
    
    	// Waypoints do not have waypoints
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.200"))[0].Address.GetWorkload().GetWaypoint(),
    		nil)
    
    	s.addService(t, "svc1",
    		map[string]string{}, // labels
    		map[string]string{}, // annotations
    		[]int32{80},
    		map[string]string{"app": "a"}, // selector
    		"10.0.0.1",
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. pkg/workloadapi/workload.pb.go

    	if x != nil {
    		return x.Ports
    	}
    	return nil
    }
    
    func (x *Service) GetSubjectAltNames() []string {
    	if x != nil {
    		return x.SubjectAltNames
    	}
    	return nil
    }
    
    func (x *Service) GetWaypoint() *GatewayAddress {
    	if x != nil {
    		return x.Waypoint
    	}
    	return nil
    }
    
    func (x *Service) GetLoadBalancing() *LoadBalancing {
    	if x != nil {
    		return x.LoadBalancing
    	}
    	return nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	if len(workloads) < 1 {
    		t.Log("no workloads provided, assertion must fail")
    		t.Fail()
    	}
    	for _, workload := range workloads {
    		assert.Equal(t, expectedAddress.String(), workload.GetWorkload().GetWaypoint().String())
    	}
    }
    
    func TestUpdateWaypointForWorkload(t *testing.T) {
    	s := newAmbientTestServer(t, "", "")
    
    	// add our waypoints but they won't be used until annotations are added
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top