interfaces

package
v0.1.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CGTProxy

type CGTProxy interface {
	RunCGTProxy(context.Context) error
}

CGTProxy is an interface generated for "github.com/black-desk/cgtproxy/pkg/cgtproxy.CGTProxy".

type CGroupMonitor

type CGroupMonitor interface {
	Events() <-chan types.CGroupEvents
	RunCGroupMonitor(context.Context) error
}

CGroupMonitor is an interface generated for "github.com/black-desk/cgtproxy/pkg/cgfsmon.CGroupFSMonitor".

type NFTManager

type NFTManager interface {
	AddChainAndRulesForTProxies([]*config.TProxy) error
	AddRoutes([]types.Route) error
	Clear() error
	Release() error
	RemoveRoutes([]string) error
}

NFTManager is an interface generated for "github.com/black-desk/cgtproxy/pkg/nftman.NFTManager".

type NetlinkConnector

type NetlinkConnector interface {
	Connect() (*nftables.Conn, error)
	Release() error
}

NetlinkConnector is an interface generated for "github.com/black-desk/cgtproxy/pkg/nftman/connector.Connector".

type RouteManager

type RouteManager interface {
	RunRouteManager(context.Context) error
}

RouteManager is an interface generated for "github.com/black-desk/cgtproxy/pkg/routeman.RouteManager".

Jump to

Keyboard shortcuts

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