Hyper.Firecracker.Api.NetworkInterface (Hyper v0.1.0)

Copy Markdown View Source

Provides struct and type for a NetworkInterface

Summary

Functions

Build a Hyper.Firecracker.Api.NetworkInterface from a decoded-JSON map. Compile-time generated.

Types

t()

@type t() :: %Hyper.Firecracker.Api.NetworkInterface{
  __info__: any(),
  guest_mac: String.t() | nil,
  host_dev_name: String.t(),
  iface_id: String.t(),
  mtu: integer() | nil,
  rx_rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil,
  tx_rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil
}

Functions

decode(data)

@spec decode(term()) :: t() | nil | term()

Build a Hyper.Firecracker.Api.NetworkInterface from a decoded-JSON map. Compile-time generated.