Reorder methods in strategy classes

This commit is contained in:
Sebastian Serth
2021-10-24 12:36:01 +02:00
parent f3b4be3006
commit 6d1b388e3c
4 changed files with 116 additions and 92 deletions

View File

@ -5,18 +5,10 @@ class Runner::Strategy
@execution_environment = environment
end
def self.config
raise NotImplementedError
end
def self.initialize_environment
raise NotImplementedError
end
def self.available_images
raise NotImplementedError
end
def self.sync_environment(_environment)
raise NotImplementedError
end
@ -33,11 +25,27 @@ class Runner::Strategy
raise NotImplementedError
end
def attach_to_execution(_command)
def attach_to_execution(_command, _event_loop)
raise NotImplementedError
end
def websocket_header
def self.available_images
raise NotImplementedError
end
def self.config
raise NotImplementedError
end
def self.release
raise NotImplementedError
end
def self.pool_size
raise NotImplementedError
end
def self.websocket_header
raise NotImplementedError
end
end