endpoint

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetupIPIP = `` /* 196-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	model.EndpointProvider
}

func NewManager

func NewManager(pool ipam.Pool, namespace string, nodeManager *node.Manager, config *config.EndpointConfig) *Manager

func (*Manager) CleanMany

func (m *Manager) CleanMany(ctx context.Context, endpoints ...*model.Endpoint) error

func (*Manager) MigrateMany

func (m *Manager) MigrateMany(ctx context.Context, endpoints ...*model.Endpoint) error

func (*Manager) ReachTruthTable

func (m *Manager) ReachTruthTable(ctx context.Context, protocol string, port int) (*model.TruthTable, error)

func (*Manager) Reachable

func (m *Manager) Reachable(ctx context.Context, src string, dst string, protocol string, port int, exaArgs ...string) (bool, error)

func (*Manager) RenewIPMany

func (m *Manager) RenewIPMany(ctx context.Context, endpoints ...*model.Endpoint) error

func (*Manager) ResetResource

func (m *Manager) ResetResource(ctx context.Context) error

func (*Manager) SetupIPIP

func (m *Manager) SetupIPIP(ctx context.Context, object, remoteTunIP, localTunIP, localIP string) error

func (*Manager) SetupMany

func (m *Manager) SetupMany(ctx context.Context, endpoints ...*model.Endpoint) error

func (*Manager) UpdateMany

func (m *Manager) UpdateMany(ctx context.Context, endpoints ...*model.Endpoint) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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