edgeos

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 9 Imported by: 0

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