module VagrantPlugins::PersistentStorage::Action

Public Class Methods

attach_storage() click to toggle source
# 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() click to toggle source
# 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() click to toggle source
# 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() click to toggle source
# 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() click to toggle source
# 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