Class: Ansible::Ruby::Modules::Redis
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Redis
- Defined in:
- lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb
Instance Method Summary collapse
-
#command ⇒ :slave, ...
The selected redis command.
-
#db ⇒ String?
The database to flush (used in db mode) [flush command].
-
#flush_mode ⇒ :all, ...
Type of flush (all the dbs in a redis instance or a specific one) [flush command].
-
#login_host ⇒ String?
The host running the database.
-
#login_password ⇒ Object?
The password used to authenticate with (usually not used).
-
#login_port ⇒ Integer?
The port to connect to.
-
#master_host ⇒ String?
The host of the master instance [slave command].
-
#master_port ⇒ String?
The port of the master instance [slave command].
-
#name ⇒ String?
A redis config key.
-
#slave_mode ⇒ :master, ...
The mode of the redis instance [slave command].
-
#value ⇒ String?
A redis config value.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#command ⇒ :slave, ...
Returns The selected redis command.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 10 attribute :command |
#db ⇒ String?
Returns The database to flush (used in db mode) [flush command].
37 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 37 attribute :db |
#flush_mode ⇒ :all, ...
Returns Type of flush (all the dbs in a redis instance or a specific one) [flush command].
41 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 41 attribute :flush_mode |
#login_host ⇒ String?
Returns The host running the database.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 17 attribute :login_host |
#login_password ⇒ Object?
Returns The password used to authenticate with (usually not used).
14 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 14 attribute :login_password |
#login_port ⇒ Integer?
Returns The port to connect to.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 21 attribute :login_port |
#master_host ⇒ String?
Returns The host of the master instance [slave command].
25 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 25 attribute :master_host |
#master_port ⇒ String?
Returns The port of the master instance [slave command].
29 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 29 attribute :master_port |
#name ⇒ String?
Returns A redis config key.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 45 attribute :name |
#slave_mode ⇒ :master, ...
Returns the mode of the redis instance [slave command].
33 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 33 attribute :slave_mode |
#value ⇒ String?
Returns A redis config value.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 49 attribute :value |