Sha256: 3a239c9239ee89a16b80dd7b4439605f80c79688e0ac2163fefe6710307dd66c

Contents?: true

Size: 1021 Bytes

Versions: 31

Compression:

Stored size: 1021 Bytes

Contents

require 'hybrid_platforms_conductor/logger_helpers'
require 'hybrid_platforms_conductor/plugin'

module HybridPlatformsConductor

  # Ancestor of all secrets reader plugins
  class SecretsReader < Plugin

    # Constructor
    #
    # Parameters::
    # * *logger* (Logger): Logger to be used [default: Logger.new(STDOUT)]
    # * *logger_stderr* (Logger): Logger to be used for stderr [default: Logger.new(STDERR)]
    # * *config* (Config): Config to be used. [default: Config.new]
    # * *cmd_runner* (CmdRunner): CmdRunner to be used. [default: CmdRunner.new]
    # * *nodes_handler* (NodesHandler): Nodes handler to be used. [default: NodesHandler.new]
    def initialize(
      logger: Logger.new($stdout),
      logger_stderr: Logger.new($stderr),
      config: Config.new,
      cmd_runner: CmdRunner.new,
      nodes_handler: NodesHandler.new
    )
      super(logger: logger, logger_stderr: logger_stderr, config: config)
      @cmd_runner = cmd_runner
      @nodes_handler = nodes_handler
    end

  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.5 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.9.4 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.9.2 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.9.1 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.9.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.8.4 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.8.3 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.8.2 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.8.1 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.8.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.7.4 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.7.3 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.7.2 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.7.1 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.7.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.6.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.5.1 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.5.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.4.0 lib/hybrid_platforms_conductor/secrets_reader.rb
hybrid_platforms_conductor-33.3.0 lib/hybrid_platforms_conductor/secrets_reader.rb