Module: Gitlab::QA::Support::Shellout

Included in:
Gitlab::QA::Service::ClusterProvider::Base, Gitlab::QA::Service::KubernetesCluster
Defined in:
lib/gitlab/qa/support/shellout.rb

Class Method Summary collapse

Class Method Details

.shell(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false, &block) ⇒ Object



9
10
11
12
# File 'lib/gitlab/qa/support/shellout.rb', line 9

def shell(command = nil, stdin_data: nil, mask_secrets: nil, stream_output: false, &block)
  Support::ShellCommand.new(
    command, stdin_data: stdin_data, mask_secrets: mask_secrets, stream_output: stream_output).execute!(&block)
end