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

Copy Markdown View Source

Persistence posture facts attached to a fenced lease.

Summary

Types

t()

@type t() :: %GroundPlane.Contracts.Fence.PersistenceScope{
  persistence_posture: map() | nil
}

Functions

new(attrs)

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

to_map(persistence_scope)

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