Class: Kuby::CertManager::DSL::Acme::V1::ChallengeSpecSolverHttp01IngressPodTemplateSpecTolerations

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



31
32
33
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_tolerations.rb', line 31

def kind_sym
  :challenge_spec_solver_http01_ingress_pod_template_spec_tolerations
end

#serializeObject



21
22
23
24
25
26
27
28
29
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_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