Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallYeetNSService ¶
func InstallYeetNSService() error
func WriteServiceNetNS ¶
Types ¶
type Service ¶
type Service struct {
ServiceName string `env:"SERVICE_NAME"`
ServiceIP netip.Prefix `env:"SERVICE_IP"`
Range netip.Prefix `env:"RANGE"`
HostIP netip.Addr `env:"HOST_IP"`
YeetIP netip.Addr `env:"YEET_IP"`
MacvlanParent string `env:"MACVLAN_PARENT"`
MacvlanVLAN string `env:"MACVLAN_VLAN"`
MacvlanMac string `env:"MACVLAN_MAC"`
MacvlanInterface string `env:"MACVLAN_INTERFACE"`
TailscaleTAPInterface string `env:"TAILSCALE_TAP_INTERFACE"`
ResolvConf string `env:"RESOLV_CONF"`
}
func (*Service) ServiceUnit ¶
Click to show internal directories.
Click to hide internal directories.