github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/batch/CronJob/actions/discovery.lua (about)

     1  local actions = {}
     2  actions["create-job"] = {["iconClass"] = "fa fa-fw fa-plus", ["displayName"] = "Create Job"}
     3  
     4  if obj.spec.suspend ~= nil and obj.spec.suspend then
     5      actions["resume"] = {["iconClass"] = "fa fa-fw fa-play" }
     6  else
     7      actions["suspend"] = {["iconClass"] = "fa fa-fw fa-pause"}
     8  end
     9  
    10  return actions