Class: Kuby::CertManager::DSL::Acme::V1::ChallengeSpecSolverDns01Cloudflare

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



25
26
27
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_dns01_cloudflare.rb', line 25

def kind_sym
  :challenge_spec_solver_dns01_cloudflare
end

#serializeObject



17
18
19
20
21
22
23
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_dns01_cloudflare.rb', line 17

def serialize
  {}.tap do |result|
    result[:apiTokenSecretRef] = api_token_secret_ref.serialize
    result[:email] = email
    result[:apiKeySecretRef] = api_key_secret_ref.serialize
  end
end