Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestExternallyAccessible (0.35 sec)

  1. pkg/api/service/util_test.go

    	checkAllowAll(false, "10.0.0.1/32", "10.0.0.1/32")
    
    	checkAllowAll(true, "0.0.0.0/0")
    	checkAllowAll(true, "192.168.0.0/0")
    	checkAllowAll(true, "192.168.0.1/32", "0.0.0.0/0")
    }
    
    func TestExternallyAccessible(t *testing.T) {
    	checkExternallyAccessible := func(expect bool, service *api.Service) {
    		t.Helper()
    		res := ExternallyAccessible(service)
    		if res != expect {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. pkg/api/v1/service/util_test.go

    	checkAllowAll(false, "10.0.0.1/32", "10.0.0.1/32")
    
    	checkAllowAll(true, "0.0.0.0/0")
    	checkAllowAll(true, "192.168.0.0/0")
    	checkAllowAll(true, "192.168.0.1/32", "0.0.0.0/0")
    }
    
    func TestExternallyAccessible(t *testing.T) {
    	checkExternallyAccessible := func(expect bool, service *v1.Service) {
    		t.Helper()
    		res := ExternallyAccessible(service)
    		if res != expect {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top