// WaitForServiceDeletedWithFinalizer waits for the service with finalizer to be deleted. func WaitForServiceDeletedWithFinalizer(ctx context.Context, cs clientset.Interface, namespace, name string) { … } // WaitForServiceUpdatedWithFinalizer waits for the service to be updated to have or // don't have a finalizer. func WaitForServiceUpdatedWithFinalizer(ctx context.Context, cs clientset.Interface, namespace, name string, hasFinalizer bool) { … }