Class: DockerRailsProxy::Kubectl::SetKubeconfig
- Inherits:
-
DockerRailsProxy::Kubectl
- Object
- Base
- DockerRailsProxy::Kubectl
- DockerRailsProxy::Kubectl::SetKubeconfig
- Defined in:
- lib/docker_rails_proxy/commands/kubectl/set_kubeconfig.rb
Constant Summary
Constants inherited from DockerRailsProxy::Kubectl
Constants included from Callbacks
Callbacks::INHERITABLE_CALLBACKS, Callbacks::UNINHERITABLE_CALLBACKS
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#options ⇒ Object
Returns the value of attribute options.
Attributes inherited from Base
#additional_arguments, #additional_arguments_options, #arguments
Instance Method Summary collapse
Methods inherited from Base
build_path, call, command, execute, #initialize
Methods included from Logger
Methods included from Rsync
Methods included from Callbacks
Methods included from InheritableAttributes
Constructor Details
This class inherits a constructor from DockerRailsProxy::Base
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
7 8 9 |
# File 'lib/docker_rails_proxy/commands/kubectl/set_kubeconfig.rb', line 7 def data @data end |
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/docker_rails_proxy/commands/kubectl/set_kubeconfig.rb', line 7 def @options end |
Instance Method Details
#process ⇒ Object
60 61 62 63 |
# File 'lib/docker_rails_proxy/commands/kubectl/set_kubeconfig.rb', line 60 def process File.write(KUBECONFIG_PATH, data.to_yaml) puts 'kubeconfig was set correctly' end |