SaltDns.Proxy.Group (Salt v1.0.0)

A proxy group: the load balancers of one organisation that hold the same routing table, backends and certificates.

generation is raised in the database by SaltDns.Proxy on every change that affects what a node must hold; it is not a field a form can set. paths optionally overrides the file locations written into the generated configuration (the keys of SaltDns.Proxy.HaproxyConfig.render/1). run_user and run_group are the names HAProxy drops privileges to on a host that is not a container. default_backend names a backend or is nil. manage_addresses (default off) lets Salt publish the nodes' addresses for the group's names and take a dead node's out (SaltDns.Proxy.Addresses); address_ttl, probe_interval, fail_threshold, recover_threshold and status_max_age (all seconds, except the thresholds, which count checks) tune it. kept_all, all_drained and prober_blind are what the last evaluation found (with unchecked_families: the address families, "ipv4" or "ipv6", Salt's own host cannot probe), for the console and the metrics; not form fields. http01_enabled (default off) makes the group's plain-HTTP port answer the HTTP-01 challenges of one ACME account, http01_provider_id, so a certificate for a host in no zone of Salt can be validated through the group (SaltDns.Certificates.Http01). Not a field a form of the address settings sets. certificate_versions remembers, per certificate id, the version the generation already accounts for.

Summary

Functions

Changeset for the group form and API.

The keys paths may override.

Types

t()

@type t() :: %SaltDns.Proxy.Group{
  __meta__: term(),
  address_ttl: term(),
  all_drained: term(),
  backends: term(),
  certificate_versions: term(),
  default_backend: term(),
  extra_names: term(),
  fail_threshold: term(),
  generation: term(),
  http01_enabled: term(),
  http01_provider_id: term(),
  id: term(),
  inserted_at: term(),
  kept_all: term(),
  manage_addresses: term(),
  name: term(),
  organisation: term(),
  organisation_id: term(),
  paths: term(),
  probe_interval: term(),
  prober_blind: term(),
  recover_threshold: term(),
  routes: term(),
  run_group: term(),
  run_user: term(),
  status_max_age: term(),
  unchecked_families: term(),
  updated_at: term(),
  version_line: term()
}

Functions

changeset(group, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Changeset for the group form and API.

path_keys()

@spec path_keys() :: [String.t()]

The keys paths may override.