Class: UffizziCore::Cluster::DeleteJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/uffizzi_core/cluster/delete_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(id) ⇒ Object



8
9
10
11
12
13
# File 'app/jobs/uffizzi_core/cluster/delete_job.rb', line 8

def perform(id)
  Rails.logger.info("DEPLOYMENT_PROCESS cluster_id=#{id} DeleteJob")

  cluster = UffizziCore::Cluster.find(id)
  UffizziCore::ControllerService.delete_namespace(cluster)
end