class Rhelm::Subcommand::Test
Helm test subcommand: `helm test [RELEASE] [flags]`. docs: helm.sh/docs/helm/helm_test/
Attributes
help[R]
logs[R]
release[R]
timeout[R]
Public Class Methods
new(release, options = {})
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base::new
# File lib/rhelm/subcommand/test.rb, line 13 def initialize(release, options = {}) super(options) @release = options[:release] @help = options[:help] @logs = options[:logs] @timeout = options[:timeout] end
Public Instance Methods
cli_args()
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/test.rb, line 26 def cli_args super.tap do |args| args << '--help' if help args << '--logs' if logs args << ['--timeout', timeout] if timeout args << release end.flatten end
subcommand_name()
click to toggle source
# File lib/rhelm/subcommand/test.rb, line 22 def subcommand_name "test" end