Add machine index client
This commit is contained in:
parent
293af5de29
commit
c124a583d7
30
plugins/commands/serve/client/machine_index.rb
Normal file
30
plugins/commands/serve/client/machine_index.rb
Normal file
@ -0,0 +1,30 @@
|
||||
module VagrantPlugins
|
||||
module CommandServe
|
||||
module Client
|
||||
class MachineIndex
|
||||
|
||||
attr_reader :client
|
||||
|
||||
def initialize(conn)
|
||||
@logger = Log4r::Logger.new("vagrant::command::serve::client::machine")
|
||||
@logger.debug("connecting to target index service on #{conn}")
|
||||
if !conn.nil?
|
||||
@client = SDK::TargetIndexService::Stub.new(conn, :this_channel_is_insecure)
|
||||
end
|
||||
end
|
||||
|
||||
def delete(machine)
|
||||
end
|
||||
|
||||
def get(uuid)
|
||||
end
|
||||
|
||||
def include?(uuid)
|
||||
end
|
||||
|
||||
def set(entry)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user