HostKit.Target (host_kit v0.1.0-beta.0)

Copy Markdown View Source

Execution target for HostKit read/apply operations.

Summary

Types

t()

@type t() :: %HostKit.Target{
  name: atom(),
  opts: keyword(),
  runner: module() | {module(), keyword()}
}

Functions

local(name, opts \\ [])

@spec local(
  atom(),
  keyword()
) :: t()

opts(target, extra \\ [])

@spec opts(
  t(),
  keyword()
) :: keyword()

ssh(name, opts)

@spec ssh(
  atom(),
  keyword()
) :: t()