acl

package
v0.26.5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultManager

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

DefaultManager uses firewall manager to handle

func NewDefaultManager added in v0.24.4

func NewDefaultManager(fm firewall.Manager) *DefaultManager

func (*DefaultManager) ApplyFiltering

func (d *DefaultManager) ApplyFiltering(networkMap *mgmProto.NetworkMap)

ApplyFiltering firewall rules to the local firewall manager processed by ACL policy.

If allowByDefault is true it appends allow ALL traffic rules to input and output chains.

type Manager

type Manager interface {
	ApplyFiltering(networkMap *mgmProto.NetworkMap)
}

Manager is a ACL rules manager

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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