Class: Architect::Plugin::MachineInstance
- Inherits:
-
Object
- Object
- Architect::Plugin::MachineInstance
- Defined in:
- lib/architect/plugin.rb
Overview
A single instance of a machine (physical, virtual, or container)
Instance Method Summary collapse
-
#destroy ⇒ Object
Destroy the instance.
-
#exist? ⇒ Boolean
Return true if the instance exists within the realm of whatever the Plugin manages.
-
#initialize(spec) ⇒ MachineInstance
constructor
A new instance of MachineInstance.
-
#rename(newname) ⇒ Object
Change the name of an instance to [
newname
].
Constructor Details
#initialize(spec) ⇒ MachineInstance
Returns a new instance of MachineInstance.
47 48 49 |
# File 'lib/architect/plugin.rb', line 47 def initialize(spec) raise 'Method not implemented' end |
Instance Method Details
#destroy ⇒ Object
Destroy the instance
52 53 54 |
# File 'lib/architect/plugin.rb', line 52 def destroy raise 'Method not implemented' end |
#exist? ⇒ Boolean
Return true if the instance exists within the realm of whatever the Plugin manages.
62 63 64 |
# File 'lib/architect/plugin.rb', line 62 def exist? raise 'Method not implemented' end |
#rename(newname) ⇒ Object
Change the name of an instance to [newname
]
57 58 59 |
# File 'lib/architect/plugin.rb', line 57 def rename(newname) raise 'Method not implemented' end |