lib/floe.rb in floe-0.10.0 vs lib/floe.rb in floe-0.11.0

- old
+ new

@@ -3,10 +3,12 @@ require_relative "floe/version" require_relative "floe/null_logger" require_relative "floe/logging" +require_relative "floe/runner" + require_relative "floe/workflow" require_relative "floe/workflow/catcher" require_relative "floe/workflow/choice_rule" require_relative "floe/workflow/choice_rule/not" require_relative "floe/workflow/choice_rule/or" @@ -15,15 +17,10 @@ require_relative "floe/workflow/context" require_relative "floe/workflow/path" require_relative "floe/workflow/payload_template" require_relative "floe/workflow/reference_path" require_relative "floe/workflow/retrier" -require_relative "floe/workflow/runner" -require_relative "floe/workflow/runner/docker_mixin" -require_relative "floe/workflow/runner/docker" -require_relative "floe/workflow/runner/kubernetes" -require_relative "floe/workflow/runner/podman" require_relative "floe/workflow/state" require_relative "floe/workflow/states/choice" require_relative "floe/workflow/states/fail" require_relative "floe/workflow/states/input_output_mixin" require_relative "floe/workflow/states/map" @@ -52,20 +49,7 @@ # Floe.logger = Logger.new($stdout) # # @param logger [Logger] logger to use for logging actions def self.logger=(logger) @logger = logger - end - - # Set the runner to use - # - # @example - # Floe.set_runner "docker", kubernetes", {} - # Floe.set_runner "docker", Floe::Workflow::Runner::Kubernetes.new({}) - # - # @param scheme [String] scheme Protocol to register (e.g.: docker) - # @param name_or_instance [String|Floe::Workflow::Runner] Name of runner to use for docker (e.g.: docker) - # @param options [Hash] Options for constructor of the runner (optional) - def self.set_runner(scheme, name_or_instance, options = {}) - Floe::Workflow::Runner.set_runner(scheme, name_or_instance, options) end end