Class: DockerRailsProxy::Kubectl

Inherits:
Base
  • Object
show all
Defined in:
lib/docker_rails_proxy/commands/kubectl.rb,
lib/docker_rails_proxy/commands/kubectl/bash.rb,
lib/docker_rails_proxy/commands/kubectl/set_kubeconfig.rb

Direct Known Subclasses

Bash, SetKubeconfig

Defined Under Namespace

Classes: Bash, SetKubeconfig

Constant Summary collapse

KUBECONFIG_PATH =
build_path('tmp/.kube/kubeconfig')

Constants included from Callbacks

Callbacks::INHERITABLE_CALLBACKS, Callbacks::UNINHERITABLE_CALLBACKS

Instance Attribute Summary

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

included, #logger

Methods included from Rsync

included, #sync

Methods included from Callbacks

included

Methods included from InheritableAttributes

included

Constructor Details

This class inherits a constructor from DockerRailsProxy::Base

Instance Method Details

#processObject



29
30
31
# File 'lib/docker_rails_proxy/commands/kubectl.rb', line 29

def process
  kubectl arguments.join(' ')
end