Class: Rhelm::Subcommand::Verify
- Defined in:
- lib/rhelm/subcommand/verify.rb
Overview
Helm verify subcommand: ‘helm verify PATH [flags]`. docs: helm.sh/docs/helm/helm_verify/
Instance Attribute Summary collapse
-
#keyring ⇒ Object
readonly
Returns the value of attribute keyring.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Attributes inherited from Base
#client, #debug, #kube_apiserver, #kube_as_group, #kube_as_user, #kube_context, #kube_token, #kubeconfig, #namespace, #registry_config, #repository_cache, #repository_config
Instance Method Summary collapse
- #cli_args ⇒ Object
-
#initialize(path, options = {}) ⇒ Verify
constructor
A new instance of Verify.
- #subcommand_name ⇒ Object
Methods inherited from Base
#args, #full_cli_call, #report_failure, #run
Constructor Details
#initialize(path, options = {}) ⇒ Verify
Returns a new instance of Verify.
11 12 13 14 15 16 |
# File 'lib/rhelm/subcommand/verify.rb', line 11 def initialize(path, = {}) super() @path = path @keyring = [:keyring] end |
Instance Attribute Details
#keyring ⇒ Object (readonly)
Returns the value of attribute keyring.
8 9 10 |
# File 'lib/rhelm/subcommand/verify.rb', line 8 def keyring @keyring end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/rhelm/subcommand/verify.rb', line 8 def path @path end |
Instance Method Details
#cli_args ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/rhelm/subcommand/verify.rb', line 22 def cli_args super.tap do |args| args << ['--keyring', keyring] if keyring args << path end.flatten end |
#subcommand_name ⇒ Object
18 19 20 |
# File 'lib/rhelm/subcommand/verify.rb', line 18 def subcommand_name "verify" end |