GroundPlane.PersistencePolicy.Partition (GroundPlane Persistence Policy v0.1.0)

Copy Markdown View Source

Store-set partition dimensions.

Summary

Types

t()

@type t() :: %GroundPlane.PersistencePolicy.Partition{
  capture_level: term(),
  data_class: term(),
  environment_ref: term(),
  installation_ref: term(),
  region_ref: term(),
  resource_account_ref: term(),
  resource_family: term(),
  resource_instance_ref: term(),
  resource_ref: term(),
  retention_class: term(),
  target_ref: term(),
  tenant_ref: term()
}

Functions

fields()

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

new(partition)

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