Sha256: f896d5e878e71a74d24db0f384786a92b1526fd610b1429b26b0f590203235fa
Contents?: true
Size: 546 Bytes
Versions: 44
Compression:
Stored size: 546 Bytes
Contents
require_relative 'common' module Kontena::Cli::Stacks class StopCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include Common banner "Stops all services of a stack that has been installed in a grid on Kontena Master" parameter "NAME", "Stack name" requires_current_master requires_current_master_token def execute spinner "Sending stop signal for stack services" do client.post("stacks/#{current_grid}/#{name}/stop", {}) end end end end
Version data entries
44 entries across 44 versions & 1 rubygems