class

Cl8r::Model::WireGuardClient

Inherits YAML::Serializable < Reference < Object

Represents a remote WireGuard client peer configuration (e.g. Gus's workstation).

Constructors

new(name : String, ipv4 : String | Nil = nil, ipv6 : String | Nil = nil, public_key : String | Nil = nil, dns : String | Nil = nil, allowed_ips : Array(String) = [] of String, description : String | Nil = nil)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

allowed_ips
Source
allowed_ips=(allowed_ips : Array(String))
Source
description
Source
description=(description : String | Nil)
Source
dns=(dns : String | Nil)
Source
ipv4
Source
ipv4=(ipv4 : String | Nil)
Source
ipv6
Source
ipv6=(ipv6 : String | Nil)
Source
name
Source
name=(name : String)
Source
public_key
Source
public_key=(public_key : String | Nil)
Source