class Rhelm::Subcommand::Pull
Helm install subcommand: `helm pull [NAME] [CHART] [flags]`. docs: helm.sh/docs/helm/helm_pull/
Attributes
ca_file[R]
cert_file[R]
chart[R]
destination[R]
devel[R]
insecure_skip_tls_verify[R]
key_file[R]
keyring[R]
pass_credentials[R]
password[R]
prov[R]
repo[R]
untar[R]
untardir[R]
username[R]
verify[R]
version[R]
Public Class Methods
new(chart, options = {})
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base::new
# File lib/rhelm/subcommand/pull.rb, line 26 def initialize(chart, options = {}) super(options) @chart = chart @ca_file = options[:ca_file] @cert_file = options[:cert_file] @destination = options[:destination] @devel = !!options[:devel] @insecure_skip_tls_verify = !!options[:insecure_skip_tls_verify] @key_file = options[:key_file] @keyring = options[:keyring] @pass_credentials = options[:pass_credentials] @password = options[:password] @prov = options[:prov] @repo = options[:repo] @untar = !!options[:untar] @untardir = options[:untardir] @username = options[:username] @verify = !!options[:verify] @version = options[:version] end
Public Instance Methods
cli_args()
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/pull.rb, line 52 def cli_args super.tap do |args| args << ['--ca-file', ca_file] if ca_file args << ['--cert-file', cert_file] if cert_file args << ['--destination', destination] if destination args << '--devel' if devel args << '--insecure-skip-tls-verify' if insecure_skip_tls_verify args << ['--key-file', key_file] if key_file args << ['--keyring', keyring] if keyring args << '--pass-credentials' if pass_credentials args << ['--password', password] if password args << '--prov' if prov args << ['--repo', repo] if repo args << '--untar' if untar args << ['--untardir', untardir] if untardir args << ['--username', username] if username args << '--verify' if verify args << ['--version', version] if version args << chart end.flatten end
subcommand_name()
click to toggle source
# File lib/rhelm/subcommand/pull.rb, line 48 def subcommand_name "pull" end