Class: Keel::GCloud::Component
- Inherits:
-
Object
- Object
- Keel::GCloud::Component
- Defined in:
- lib/keel/gcloud/component.rb
Overview
Class to help manage GCloud components.
Class Method Summary collapse
-
.install_k8s ⇒ Boolean
Installs the Kubernetes controller component.
-
.update ⇒ Boolean
Updates the installed GCloud components.
Class Method Details
.install_k8s ⇒ Boolean
Installs the Kubernetes controller component.
20 21 22 |
# File 'lib/keel/gcloud/component.rb', line 20 def self.install_k8s Cli.new.system_call 'gcloud components install kubectl' end |
.update ⇒ Boolean
Updates the installed GCloud components.
11 12 13 |
# File 'lib/keel/gcloud/component.rb', line 11 def self.update Cli.new.system_call 'gcloud components update' end |