Class: Seira::Proxy

Inherits:
Object
  • Object
show all
Includes:
Commands
Defined in:
lib/seira/proxy.rb

Constant Summary collapse

SUMMARY =
"Open up the proxy UI for a given cluster.".freeze

Instance Method Summary collapse

Methods included from Commands

#gcloud, gcloud, kubectl, #kubectl, #tsh, tsh

Constructor Details

#initializeProxy

Returns a new instance of Proxy.



7
8
# File 'lib/seira/proxy.rb', line 7

def initialize
end

Instance Method Details

#runObject



10
11
12
13
14
15
# File 'lib/seira/proxy.rb', line 10

def run
  begin
    kubectl("proxy", context: :none)
  rescue
  end
end