HostKit.Resources.Package (host_kit v0.1.0-beta.0)

Copy Markdown View Source

Desired OS package installed through the target package manager.

Summary

Types

source()

@type source() :: :semantic | :explicit

t()

@type t() :: %HostKit.Resources.Package{
  depends_on: [term()],
  meta: map(),
  name: atom() | String.t(),
  rollback: :keep,
  source: source(),
  system_name: String.t(),
  update: boolean(),
  version: String.t() | nil
}

Functions

id(package)

@spec id(t()) :: {:package, atom() | String.t()}

new(name, opts \\ [])

@spec new(
  atom() | String.t(),
  keyword()
) :: t()