Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortManipulator ¶
PortManipulator provides a manipulator interface to update user to port mappings.
type PortSet ¶
type PortSet interface { UserManipulator PortManipulator // contains filtered or unexported methods }
PortSet provides an interface to update the mappings required to program the ipset portsets.
type UserManipulator ¶
type UserManipulator interface { AddUserPortSet(userName string, portset string, mark string) (err error) DelUserPortSet(userName string, mark string) error GetUserMark(mark string) (string, error) // contains filtered or unexported methods }
UserManipulator provides a manipulator interface to update add/delete users to portset mappings.
Click to show internal directories.
Click to hide internal directories.