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