Sha256: db8d73dbfca1f92d030b2e8280b0a8de497314d611e02a4b25867636344f58da
Contents?: true
Size: 864 Bytes
Versions: 4
Compression:
Stored size: 864 Bytes
Contents
class Jets::CLI class Concurrency < Jets::Thor::Base desc "info", "Concurrency info" format_option(default: "table") def info Info.new(options).run end desc "get", "Get concurrency for function" function_name_option def get Get.new(options).run end desc "set", "Set concurrency for function" function_name_option option :reserved, type: :numeric, desc: "Reserved concurrency" option :provisioned, type: :numeric, desc: "Provisioned concurrency" yes_option def set Set.new(options).run end desc "unset", "Unset concurrency for function" function_name_option option :reserved, type: :boolean, desc: "Reserved concurrency" option :provisioned, type: :boolean, desc: "Provisioned concurrency" yes_option def unset Unset.new(options).run end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jets-6.0.5 | lib/jets/cli/concurrency.rb |
jets-6.0.4 | lib/jets/cli/concurrency.rb |
jets-6.0.3 | lib/jets/cli/concurrency.rb |
jets-6.0.2 | lib/jets/cli/concurrency.rb |