Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFileSnapshotWithFilter (0.42 sec)

  1. pilot/pkg/config/monitor/file_snapshot_test.go

    	g.Expect(gateway.Servers[0].Port.Number).To(Equal(uint32(80)))
    	g.Expect(gateway.Servers[0].Port.Protocol).To(Equal("http"))
    	g.Expect(gateway.Servers[0].Hosts).To(Equal([]string{"*.example.com"}))
    }
    
    func TestFileSnapshotWithFilter(t *testing.T) {
    	g := NewWithT(t)
    
    	ts := &testState{
    		ConfigFiles: map[string][]byte{
    			"gateway.yml":         []byte(gatewayYAML),
    			"virtual_service.yml": []byte(virtualServiceYAML),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top