class Kcu::RestartDeploymentAction

Public Class Methods

call(resource) click to toggle source
# File lib/kcu/actions/restart_deployment_action.rb, line 6
def self.call(resource)
  ctx = with(resource: resource).reduce(
    GetResourceNamespaceAndName,
    Deployments::RestartDeployment,
  )
end