Generic lifecycle-managed compute instance with nested HostKit contents.
Summary
Types
@type port_exposure() :: %{ name: atom(), host: non_neg_integer() | nil, guest: non_neg_integer(), protocol: :tcp | :udp, bind: String.t() }
@type t() :: %HostKit.Instance{ backend: atom() | nil, backend_config: map(), hosts: [HostKit.Host.t()], image: String.t() | nil, kind: atom() | nil, lifecycle: atom(), meta: map(), name: atom(), ports: [port_exposure()], resources: [struct()], services: [HostKit.Service.t()] }