Class: Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisTolerations
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- Kuby::Redis::DSL::Databases::V1::RedisFailoverSpecRedisTolerations
- Defined in:
- lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_tolerations.rb
Instance Method Summary collapse
Instance Method Details
#kind_sym ⇒ Object
31 32 33 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_tolerations.rb', line 31 def kind_sym :redis_failover_spec_redis_tolerations end |
#serialize ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_tolerations.rb', line 21 def serialize {}.tap do |result| result[:operator] = operator result[:value] = value result[:tolerationSeconds] = toleration_seconds result[:effect] = effect result[:key] = key end end |