Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertServiceExportHasCondition (0.27 sec)

  1. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller_test.go

    		// no need for assertions, just trying to ensure no errors
    		createSimpleService(t, client, "exportable-ns", "manual-export")
    
    		// assert that we didn't wipe out the pre-existing serviceexport status
    		assertServiceExportHasCondition(t, client, "exportable-ns", "manual-export",
    			mcsapi.ServiceExportValid)
    	})
    }
    
    func createSimpleService(t *testing.T, client kube.Client, ns string, name string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 06 16:02:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top