invoke

operator fun invoke(hostname: String, capabilities: NonEmptySet<Capability>): Host

Creates a Host with the given hostname and capabilities as a non-empty set.


operator fun invoke(hostname: String, capability: Capability, vararg otherCapabilities: Capability): Host

Creates a Host with the given hostname and capability.