edgeos

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 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)

Functions

func ContentFilteringEnabled

func ContentFilteringEnabled() bool

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