Crosswake.Manifest (crosswake v0.1.0)

View Source

Canonical Phase 2 manifest compiler.

Summary

Types

result()

@type result() ::
  {:ok, %{manifest: Crosswake.Manifest.Types.Root.t(), warnings: [term()]}}
  | {:error, Crosswake.Policy.Diagnostic.t()}

Functions

compile(source, opts \\ [])

render(manifest)

@spec render(Crosswake.Manifest.Types.Root.t()) :: String.t()

write(path, manifest)

@spec write(String.t(), Crosswake.Manifest.Types.Root.t()) ::
  {:ok, Crosswake.Manifest.Serializer.action()}