GroundPlane.Contracts.Fence.AuthorityScope (GroundPlane Contracts v0.1.0)

Copy Markdown View Source

Authority revision facts for a fenced lease.

Summary

Types

t()

@type t() :: %GroundPlane.Contracts.Fence.AuthorityScope{
  installation_revision_ref: term(),
  policy_revision_ref: term(),
  target_grant_revision: term()
}

Functions

checks()

@spec checks() :: keyword(atom())

new(attrs)

@spec new(map() | keyword()) :: {:ok, t()} | {:error, term()}

restart_revalidation_event?(event)

@spec restart_revalidation_event?(atom()) :: boolean()

retry_required_context()

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

to_map(scope)

@spec to_map(t()) :: map()