Module: HubClustersCreator

Defined in:
lib/hub-clusters-creator.rb,
lib/hub-clusters-creator/agent.rb,
lib/hub-clusters-creator/errors.rb,
lib/hub-clusters-creator/logging.rb,
lib/hub-clusters-creator/version.rb,
lib/hub-clusters-creator/template.rb,
lib/hub-clusters-creator/kube/kube.rb,
lib/hub-clusters-creator/providers/gke/gke.rb,
lib/hub-clusters-creator/providers/aks/azure.rb,
lib/hub-clusters-creator/providers/bootstrap.rb,
lib/hub-clusters-creator/providers/aks/helpers.rb,
lib/hub-clusters-creator/providers/gke/helpers.rb,
lib/hub-clusters-creator/providers/gke/helpers.rb

Overview

rubocop:disable Metrics/LineLength,Metrics/MethodLength

Defined Under Namespace

Modules: Errors, Logging, Providers, Utils Classes: Agent, Kube

Constant Summary collapse

VERSION =
'0.0.3'

Class Method Summary collapse

Class Method Details

.defaults(name) ⇒ Object



34
35
36
# File 'lib/hub-clusters-creator.rb', line 34

def self.defaults(name)
  HubClustersCreator::Agent.defaults(name)
end

.new(name) ⇒ Object



30
31
32
# File 'lib/hub-clusters-creator.rb', line 30

def self.new(name)
  HubClustersCreator::Agent.new(name)
end

.schemaObject



38
39
40
41
42
43
44
45
46
47
48
# File 'lib/hub-clusters-creator.rb', line 38

def self.schema
  o = []
  HubClustersCreator::Agent.providers.each do |x|
    o.push(
      id: x,
      init_options: HubClustersCreator::Agent.provider_schema(x),
      provision_options: HubClustersCreator::Agent.cluster_schema(x)
    )
  end
  o
end

.versionObject



26
27
28
# File 'lib/hub-clusters-creator.rb', line 26

def self.version
  HubClustersCreator::VERSION
end