networkhostsetup

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UseCase

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

func New

func New(
	trm trm.Manager,
	commandExecutorUC usecase.CommandExecutor,
	networkStorage storage.Network,
	networkHostStorage storage.NetworkHost,
	networkHostSetupStorage storage.NetworkHostSetup,
) *UseCase

func (*UseCase) ResetByNetworkID

func (u *UseCase) ResetByNetworkID(ctx context.Context, networkID uint64) error

ResetByNetworkID resets additional routes for a network by setting them to empty.

func (*UseCase) SyncByNetworkID

func (u *UseCase) SyncByNetworkID(ctx context.Context, networkID uint64) error

Jump to

Keyboard shortcuts

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