edgeos

package
v1.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Name = "edgeos"
)

Variables

View Source
var ErrContentFilteringEnabled = fmt.Errorf(`the "Content Filtering" feature" is enabled, which is conflicted with ctrld.\n
To disable it, folowing instruction here: %s`, toggleContentFilteringLink)
View Source
var ErrDnsShieldEnabled = fmt.Errorf(`the "DNS Shield" feature" is enabled, which is conflicted with ctrld.\n
To disable it, folowing screenshot here: %s`, toggleDnsShieldLink)

Functions

func ContentFilteringEnabled

func ContentFilteringEnabled() bool

func DnsShieldEnabled added in v1.3.4

func DnsShieldEnabled() bool

DnsShieldEnabled reports whether DNS Shield is enabled. See: https://community.ui.com/releases/UniFi-OS-Dream-Machines-3-2-7/251dfc1e-f4dd-4264-a080-3be9d8b9e02b

func LeaseFileDir added in v1.3.1

func LeaseFileDir() string

Types

type EdgeOS

type EdgeOS struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *ctrld.Config) *EdgeOS

New returns a router.Router for configuring/setup/run ctrld on EdgeOS routers.

func (*EdgeOS) Cleanup

func (e *EdgeOS) Cleanup() error

func (*EdgeOS) ConfigureService

func (e *EdgeOS) ConfigureService(config *service.Config) error

func (*EdgeOS) Install

func (e *EdgeOS) Install(_ *service.Config) error

func (*EdgeOS) PreRun

func (e *EdgeOS) PreRun() error

func (*EdgeOS) Setup

func (e *EdgeOS) Setup() error

func (*EdgeOS) Uninstall

func (e *EdgeOS) Uninstall(_ *service.Config) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL