It is called the anti-commandeering doctrine.
It has been widely used by Blue states to avoid any assistance to federal law enforcement in the case of immigration law.
It is long settled law. It does not violate the supremacy clause.
States are not mere appendages of the Federal government.
Not to leftists. Governors are mere Deputy Vice-Presidents to the White House.