app

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

func NewRegistry

func NewRegistry() *Registry

func (*Registry) ControllerRegistry added in v0.0.12

func (r *Registry) ControllerRegistry() (*ctrl.ControllerRegistry, bool)

func (*Registry) DB added in v0.0.12

func (r *Registry) DB() (*database.Database, bool)

func (*Registry) DeleteControllerRegistry added in v0.0.12

func (r *Registry) DeleteControllerRegistry()

func (*Registry) DeleteDB added in v0.0.12

func (r *Registry) DeleteDB()

func (*Registry) DeleteTunIface

func (r *Registry) DeleteTunIface(name string)

func (*Registry) RegisterControllerRegistry added in v0.0.12

func (r *Registry) RegisterControllerRegistry(cr *ctrl.ControllerRegistry)

func (*Registry) RegisterDB added in v0.0.12

func (r *Registry) RegisterDB(db *database.Database)

func (*Registry) RegisterTunIface

func (r *Registry) RegisterTunIface(iface *iproute2.TunIface) error

func (*Registry) TunIface

func (r *Registry) TunIface(name string) (*iproute2.TunIface, bool)

type Setup

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

func NewSetup

func NewSetup(config *config.SRv6Config) *Setup

func (*Setup) AddTasks

func (s *Setup) AddTasks(ctx context.Context)

Add tasks to setup

func (*Setup) Run

func (s *Setup) Run(ctx context.Context) error

Run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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