Class: Kuby::CertManager::DSL::Acme::V1::ChallengeSpecSolverHttp01IngressPodTemplateSpecAffinityNodeAffinity

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_node_affinity.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



22
23
24
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_node_affinity.rb', line 22

def kind_sym
  :challenge_spec_solver_http01_ingress_pod_template_spec_affinity_node_affinity
end

#serializeObject



15
16
17
18
19
20
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_node_affinity.rb', line 15

def serialize
  {}.tap do |result|
    result[:requiredDuringSchedulingIgnoredDuringExecution] = required_during_scheduling_ignored_during_execution.serialize
    result[:preferredDuringSchedulingIgnoredDuringExecution] = preferred_during_scheduling_ignored_during_executions.map(&:serialize)
  end
end