SaltDns.Certificates.Order (Salt v1.0.0)

An order at a provider, persisted at every step so that a restarted job resumes the same order instead of starting another one.

state runs new -> created -> published -> propagated -> validating -> ready -> issued, or ends in failed/cancelled. order_ref is whatever the issuer needs to find the order again (for ACME its URLs). records holds the DNS-01 values published (%{"name" => ..., "values" => [...], "ttl" => n}), published says whether they may still be in the zone. pending_key names the store object that holds the private key of the version being issued, from before finalisation until the version is stored.

Summary

Functions

True while the order can still make progress.

The states of an order that is not finished.

Types

t()

@type t() :: %SaltDns.Certificates.Order{
  __meta__: term(),
  certificate: term(),
  certificate_id: term(),
  error: term(),
  finished_at: term(),
  id: term(),
  inserted_at: term(),
  order_ref: term(),
  pending_key: term(),
  profile: term(),
  propagation_ms: term(),
  provider_id: term(),
  published: term(),
  records: term(),
  replaces: term(),
  started_at: term(),
  state: term(),
  updated_at: term(),
  version_id: term()
}

Functions

open?(order)

@spec open?(t()) :: boolean()

True while the order can still make progress.

open_states()

@spec open_states() :: [atom()]

The states of an order that is not finished.