Module: VagrantPlugins::PersistentStorage::Action
- Includes:
- Vagrant::Action::Builtin
- Defined in:
- lib/vagrant-persistent-storage/action.rb,
lib/vagrant-persistent-storage/action/attach_storage.rb,
lib/vagrant-persistent-storage/action/create_adapter.rb,
lib/vagrant-persistent-storage/action/create_storage.rb,
lib/vagrant-persistent-storage/action/detach_storage.rb,
lib/vagrant-persistent-storage/action/manage_storage.rb
Defined Under Namespace
Classes: AttachStorage, CreateAdapter, CreateStorage, DetachStorage, ManageAll
Class Method Summary
collapse
Class Method Details
.attach_storage ⇒ Object
30
31
32
33
34
35
|
# File 'lib/vagrant-persistent-storage/action.rb', line 30
def self.attach_storage
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use AttachStorage
end
end
|
.create_adapter ⇒ Object
16
17
18
19
20
21
|
# File 'lib/vagrant-persistent-storage/action.rb', line 16
def self.create_adapter
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use CreateAdapter
end
end
|
.create_storage ⇒ Object
23
24
25
26
27
28
|
# File 'lib/vagrant-persistent-storage/action.rb', line 23
def self.create_storage
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use CreateStorage
end
end
|
.detach_storage ⇒ Object
37
38
39
40
41
42
|
# File 'lib/vagrant-persistent-storage/action.rb', line 37
def self.detach_storage
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use DetachStorage
end
end
|
.manage_storage ⇒ Object
44
45
46
47
48
49
|
# File 'lib/vagrant-persistent-storage/action.rb', line 44
def self.manage_storage
Vagrant::Action::Builder.new.tap do |builder|
builder.use ConfigValidate
builder.use ManageAll
end
end
|