View Source Smokestack.Dsl.Info (smokestack v0.9.1)
Introspection of Smokestack DSLs.
Summary
Functions
@spec factory(Smokestack.t(), Ash.Resource.t(), atom()) :: {:ok, Smokestack.Dsl.Factory.t()} | {:error, Exception.t()}
Retrieve a variant for a specific resource.
Raising version of factory/3
@spec variants(Smokestack.t(), Ash.Resource.t()) :: [atom()]
List all variants available for a resource.