module HubClustersCreator

Clusters providers the wrapper to the providers

rubocop:disable Metrics/MethodLength,Metrics/LineLength

rubocop:disable Metrics/LineLength

Copyright (C) 2019 Rohith Jayawardene <gambol99@gmail.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

rubocop:disable Metrics/ClassLength,Metrics/LineLength,Metrics/MethodLength

rubocop:disable Metrics/LineLength,Metrics/MethodLength

rubocop:disable Metrics/MethodLength,Metrics/LineLength

rubocop:disable Metrics/ClassLength,Metrics/LineLength,Metrics/MethodLength

rubocop:disable Metrics/LineLength,Metrics/MethodLength,Metrics/ModuleLength

rubocop:disable Metrics/LineLength,Metrics/MethodLength

Copyright (C) 2019 Rohith Jayawardene <gambol99@gmail.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

Constants

VERSION

Public Class Methods

defaults(name) click to toggle source
# File lib/hub-clusters-creator.rb, line 34
def self.defaults(name)
  HubClustersCreator::Agent.defaults(name)
end
new(name) click to toggle source
# File lib/hub-clusters-creator.rb, line 30
def self.new(name)
  HubClustersCreator::Agent.new(name)
end
schema() click to toggle source
# 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
version() click to toggle source
# File lib/hub-clusters-creator.rb, line 26
def self.version
  HubClustersCreator::VERSION
end