This uses the new Push plugin support added to the plugin SDK in https://github.com/hashicorp/vagrant-plugin-sdk/pull/106 to make the following changes: * The plugin manager on the Go side now registers push plugins * The the _remote_ plugin manager on the Ruby side now calls over to the go side to get push plugins * All the wiring is hooked up such that when a push plugin is replaced with its remote GRPC-client-wielding equivalent, the messages are ferried around.
23 lines
1.6 KiB
Ruby
23 lines
1.6 KiB
Ruby
module VagrantPlugins
|
|
module CommandServe
|
|
module Client
|
|
autoload :Basis, Vagrant.source_root.join("plugins/commands/serve/client/basis").to_s
|
|
autoload :Box, Vagrant.source_root.join("plugins/commands/serve/client/box").to_s
|
|
autoload :BoxCollection, Vagrant.source_root.join("plugins/commands/serve/client/box_collection").to_s
|
|
autoload :CapabilityPlatform, Vagrant.source_root.join("plugins/commands/serve/client/capability_platform").to_s
|
|
autoload :Communicator, Vagrant.source_root.join("plugins/commands/serve/client/communicator").to_s
|
|
autoload :Command, Vagrant.source_root.join("plugins/commands/serve/client/command").to_s
|
|
autoload :Guest, Vagrant.source_root.join("plugins/commands/serve/client/guest").to_s
|
|
autoload :Host, Vagrant.source_root.join("plugins/commands/serve/client/host").to_s
|
|
autoload :TargetIndex, Vagrant.source_root.join("plugins/commands/serve/client/target_index").to_s
|
|
autoload :PluginManager, Vagrant.source_root.join("plugins/commands/serve/client/plugin_manager").to_s
|
|
autoload :Project, Vagrant.source_root.join("plugins/commands/serve/client/project").to_s
|
|
autoload :Push, Vagrant.source_root.join("plugins/commands/serve/client/push").to_s
|
|
autoload :Target, Vagrant.source_root.join("plugins/commands/serve/client/target").to_s
|
|
autoload :Terminal, Vagrant.source_root.join("plugins/commands/serve/client/terminal").to_s
|
|
autoload :StateBag, Vagrant.source_root.join("plugins/commands/serve/client/state_bag").to_s
|
|
autoload :SyncedFolder, Vagrant.source_root.join("plugins/commands/serve/client/synced_folder").to_s
|
|
end
|
|
end
|
|
end
|