Class: KubeDSL::DSL::Apps::V1::RollingUpdateDaemonSet

Inherits:
KubeDSL::DSLObject show all
Defined in:
lib/kube-dsl/dsl/apps/v1/rolling_update_daemon_set.rb

Instance Method Summary collapse

Methods inherited from KubeDSL::DSLObject

#initialize, #to_resource

Methods included from ValueFields

extended

Methods included from Validations

extended

Constructor Details

This class inherits a constructor from KubeDSL::DSLObject

Instance Method Details

#kind_symObject



13
14
15
# File 'lib/kube-dsl/dsl/apps/v1/rolling_update_daemon_set.rb', line 13

def kind_sym
  :rolling_update_daemon_set
end

#serializeObject



7
8
9
10
11
# File 'lib/kube-dsl/dsl/apps/v1/rolling_update_daemon_set.rb', line 7

def serialize
  {}.tap do |result|
    result[:maxUnavailable] = max_unavailable
  end
end