Versions in this module Expand all Collapse all v1 v1.1.6 Jan 14, 2025 v1.1.5 Aug 23, 2024 Changes in this version + var DefaultContainerMacAddress net.HardwareAddr + var DefaultGatewayMacAddress = "5a:94:ef:e4:0c:dd" + var DefaultIPAddress net.IP + var DefaultNetwork *net.IPNet + var HighPort = 64064 + var LowPort = 10010 + var NetworkDebug = false + var NetworkMTU = 1500 + var NoStdin = &noStdin + func Command(cmd ...string) Option[Container] + func Env(k, v string) Option[Container] + func Forward(host, guest string) Option[*NetworkConfig] + func GuestAddress(i string) Option[*NetworkConfig] + func GuestMAC(mac string) Option[*NetworkConfig] + func Image(name string) Option[Container] + func ImageFile(path string) Option[Container] + func Module(source []byte) Option[Spin] + func ModuleOpen(path string) Option[Spin] + func ModuleZip(path string, filename string) Option[Spin] + func Mount(hostDir, wasmDir string) Option[Container] + func Name(name string) Option[Container] + func Networking(options ...Option[*NetworkConfig]) Option[Container] + func New(ctx context.Context, options ...Option[Spin]) (Spin, error) + func Runtime[arch AMD64 | RISCV64](registry Registry) Option[Spin] + func Stderr(w io.Writer) Option[Container] + func Stdin(r io.Reader) Option[Container] + func Stdout(w io.Writer) Option[Container] + func Subnet(n string) Option[*NetworkConfig] + type AMD64 struct + type NetworkConfig struct + type RISCV64 struct