Class: Foggy::Cloud
- Inherits:
-
Object
- Object
- Foggy::Cloud
- Defined in:
- lib/foggy/foggy.rb
Instance Method Summary collapse
- #alarming ⇒ Object
- #application_catalog ⇒ Object
- #backup ⇒ Object
- #baremetal ⇒ Object
- #block_storage ⇒ Object
- #build_service(klass, service) ⇒ Object
- #clustering ⇒ Object
- #compute ⇒ Object
- #container ⇒ Object
- #data_processing ⇒ Object
- #data_protection ⇒ Object
- #database ⇒ Object
- #dns ⇒ Object
- #identity ⇒ Object
- #image ⇒ Object
-
#initialize(*args) ⇒ Cloud
constructor
A new instance of Cloud.
- #messaging ⇒ Object
- #metering ⇒ Object
- #networking ⇒ Object
- #nvf_orchestration ⇒ Object
- #object_storage ⇒ Object
- #orchestration ⇒ Object
- #search ⇒ Object
- #shared_file_systems ⇒ Object
Constructor Details
#initialize(*args) ⇒ Cloud
Returns a new instance of Cloud.
5 6 7 |
# File 'lib/foggy/foggy.rb', line 5 def initialize(*args) @cloud = Misty::Cloud.new(*args) end |
Instance Method Details
#alarming ⇒ Object
14 15 16 |
# File 'lib/foggy/foggy.rb', line 14 def alarming @alarming ||= build_service(Foggy::Alarming, @cloud.alarming) end |
#application_catalog ⇒ Object
18 19 20 |
# File 'lib/foggy/foggy.rb', line 18 def application_catalog @application_catalog ||= build_service(Foggy::ApplicationCatalog, @cloud.application_catalog) end |
#backup ⇒ Object
22 23 24 |
# File 'lib/foggy/foggy.rb', line 22 def backup @backup ||= build_service(Foggy::Backup, @cloud.backup) end |
#baremetal ⇒ Object
26 27 28 |
# File 'lib/foggy/foggy.rb', line 26 def @baremetal ||= build_service(Foggy::Baremetal, @cloud.) end |
#block_storage ⇒ Object
30 31 32 |
# File 'lib/foggy/foggy.rb', line 30 def block_storage @block_storage ||= build_service(Foggy::BlockStorage, @cloud.block_storage) end |
#build_service(klass, service) ⇒ Object
9 10 11 12 |
# File 'lib/foggy/foggy.rb', line 9 def build_service(klass, service) klass.create_method(:service) { service } klass.new end |
#clustering ⇒ Object
34 35 36 |
# File 'lib/foggy/foggy.rb', line 34 def clustering @clustering ||= build_service(Foggy::Clustering, @cloud.clustering) end |
#compute ⇒ Object
38 39 40 |
# File 'lib/foggy/foggy.rb', line 38 def compute @compute ||= build_service(Foggy::Compute, @cloud.compute) end |
#container ⇒ Object
42 43 44 |
# File 'lib/foggy/foggy.rb', line 42 def container @container ||= build_service(Foggy::Container, @cloud.container) end |
#data_processing ⇒ Object
46 47 48 |
# File 'lib/foggy/foggy.rb', line 46 def data_processing @data_processing ||= build_service(Foggy::DataProcessing, @cloud.data_processing) end |
#data_protection ⇒ Object
50 51 52 |
# File 'lib/foggy/foggy.rb', line 50 def data_protection @data_protection ||= build_service(Foggy::DataProtection, @cloud.data_protection) end |
#database ⇒ Object
54 55 56 |
# File 'lib/foggy/foggy.rb', line 54 def database @database ||= build_service(Foggy::Database, @cloud.database) end |
#dns ⇒ Object
58 59 60 |
# File 'lib/foggy/foggy.rb', line 58 def dns @dns ||= build_service(Foggy::DNS, @cloud.dns) end |
#identity ⇒ Object
62 63 64 |
# File 'lib/foggy/foggy.rb', line 62 def identity @identity ||= build_service(Foggy::Identity, @cloud.identity) end |
#image ⇒ Object
66 67 68 |
# File 'lib/foggy/foggy.rb', line 66 def image @image ||= build_service(Foggy::Image, @cloud.image) end |
#messaging ⇒ Object
70 71 72 |
# File 'lib/foggy/foggy.rb', line 70 def messaging @messaging ||= build_service(Foggy::Messaging, @cloud.messaging) end |
#metering ⇒ Object
74 75 76 |
# File 'lib/foggy/foggy.rb', line 74 def metering @metering ||= build_service(Foggy::Metering, @cloud.metering) end |
#networking ⇒ Object
78 79 80 |
# File 'lib/foggy/foggy.rb', line 78 def networking @metering ||= build_service(Foggy::Networking, @cloud.networking) end |
#nvf_orchestration ⇒ Object
82 83 84 |
# File 'lib/foggy/foggy.rb', line 82 def nvf_orchestration @nvf_orchestration ||= build_service(Foggy::NFVOrchestration, @cloud.nvf_orchestration) end |
#object_storage ⇒ Object
86 87 88 |
# File 'lib/foggy/foggy.rb', line 86 def object_storage @object_storage ||= build_service(Foggy::ObjectStorage, @cloud.object_storage) end |
#orchestration ⇒ Object
90 91 92 |
# File 'lib/foggy/foggy.rb', line 90 def orchestration @orchestration ||= build_service(Foggy::Orchestration, @cloud.orchestration) end |
#search ⇒ Object
94 95 96 |
# File 'lib/foggy/foggy.rb', line 94 def search @search ||= build_service(Foggy::Search, @cloud.search) end |
#shared_file_systems ⇒ Object
98 99 100 |
# File 'lib/foggy/foggy.rb', line 98 def shared_file_systems @shared_file_systems ||= build_service(Foggy::SharedFileSystems, @cloud.shared_file_systems) end |