If MOCK_CLOUD_API=true (or some variation of true) then run kip with a mocked out cloud provider. To do this, I've added a couple more fake methods in the cloud mock.
One caveat of this change is that the user cannot run with the mock cloud provider and then, using the same persistent volume, change to running with a regular cloud provider. That will cause issues with the code that detects a region change. While it's unlikely a user would change regions in kip (it was an easy change to make in milpa's configuration), I still think we should catch that. There are ways around this issue but I think we don't need to implement them at this time.
If MOCK_CLOUD_API=true (or some variation of true) then run kip with a mocked out cloud provider. To do this, I've added a couple more fake methods in the cloud mock.
One caveat of this change is that the user cannot run with the mock cloud provider and then, using the same persistent volume, change to running with a regular cloud provider. That will cause issues with the code that detects a region change. While it's unlikely a user would change regions in kip (it was an easy change to make in milpa's configuration), I still think we should catch that. There are ways around this issue but I think we don't need to implement them at this time.