class Kubert::Cli
Public Instance Methods
console()
click to toggle source
# File lib/kubert/cli.rb, line 31 def console execute(*Kubert.console_command) end
context()
click to toggle source
# File lib/kubert/cli.rb, line 18 def context puts Kubert.context end
deploy()
click to toggle source
# File lib/kubert/cli.rb, line 56 def deploy Deployment.perform(options) end
env(*args)
click to toggle source
# File lib/kubert/cli.rb, line 61 def env(*args) Kubert::EnvCli.start(args) end
execute(*command)
click to toggle source
# File lib/kubert/cli.rb, line 37 def execute(*command) Pods.execute(command) end
list(pod_type, status=:running)
click to toggle source
# File lib/kubert/cli.rb, line 13 def list(pod_type, status=:running) puts Pods.list(pod_type, status) end
logs(pod_type='web', status= :running)
click to toggle source
# File lib/kubert/cli.rb, line 42 def logs(pod_type='web', status= :running) Pods.logs(pod_type, status) end
rollback()
click to toggle source
# File lib/kubert/cli.rb, line 73 def rollback Deployment.rollback(options) end
sandbox()
click to toggle source
# File lib/kubert/cli.rb, line 24 def sandbox execute(*Kubert.console_command, "--sandbox") end