Class: Clusters::Cleanup::ServiceAccountService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/clusters/cleanup/service_account_service.rb

Constant Summary

Constants inherited from BaseService

BaseService::DEFAULT_EXECUTION_INTERVAL

Instance Method Summary collapse

Methods inherited from BaseService

#initialize

Constructor Details

This class inherits a constructor from Clusters::Cleanup::BaseService

Instance Method Details

#executeObject


6
7
8
9
10
11
12
# File 'app/services/clusters/cleanup/service_account_service.rb', line 6

def execute
  

  log_event(:destroying_cluster)

  cluster.destroy!
end