Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestInitPushContext (0.11 sec)

  1. pilot/pkg/model/push_context_test.go

    }
    
    func serviceNames(svcs []*Service) []string {
    	var s []string
    	for _, ss := range svcs {
    		s = append(s, string(ss.Hostname))
    	}
    	sort.Strings(s)
    	return s
    }
    
    func TestInitPushContext(t *testing.T) {
    	env := NewEnvironment()
    	configStore := NewFakeStore()
    	_, _ = configStore.Create(config.Config{
    		Meta: config.Meta{
    			Name:             "rule1",
    			Namespace:        "test1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top